bib2xml

Package: WA2L/WinTools 1.2.08
Section: Library Functions Manual (3)
Updated: 10 August 2017
Index Return to Main Contents

 

NAME

bib2xml - convert BibTeX files to Microsoft™ Word bibliography XML file

 

SYNOPSIS

WA2LWinTools/lib/bib2xml [ -h | -V ]

bib2xml [ -d templatedir ] < infile.bib [ > outfile.xml ]

type infile.bib | bib2xml [ -d templatedir ][ > outfile.xml ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

convert one or more BibTeX *.bib file(s) to 'Microsoft™ Word' Source.xml file.

 

OPTIONS

-h
usage message.

-V
print program version.

-d templatedir
directory of bib2xml.Type.xml files if different from the default location etc/. See bib2xml.xml(4) for more information.

infile.bib
BibTeX input file.

The BiBTex file must be structured as follows, where the field names can be different from this example:

@article{AWKQuickRef,
  author        = {Vincent Ledos},
  title         = {awk Quick Ref},
  journal       = {},
  year          = {2010},
  volume        = {1.0},
  number        = {},
  pages         = {1},
  month         = {02},
  note          = {},
  abstract      = {Quick reference of AWK usage, command, operators and variables},
  date          = {02.2010},
  language      = {en},
  guid          = {68e56715-3041-444c-89b5-82d76d1e829f},
}

This is the structure as maintained by JabRef or the *.bib export of metadata(1).

outfile.xml
this is the XML output file to be used as bibliography file (Source.xml) in 'Microsoft™ Word'. To view the XML structure of the bibliography file, see bib2xml.xml(4).

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

4
usage message displayed.

5
program version printed.

 

FILES

lib/bib2xml.Type.xml
built in default template for document type.

Do not change this file(s), they will be overwritten when upgrading the WA2L/WinTools package, create your own bib2xml.default.xml file in the etc/ directory.

lib/bib2xml.default.xml
built in default template for all document types for which no specific bib2xml.Type.xml template exists.

Do not change this file, it will be overwritten when upgrading the WA2L/WinTools package, create your own bib2xml.default.xml file in the etc/ directory.

etc/bib2xml.Type.xml
customized document type specific template.

etc/bib2xml.default.xml
customized default template for all document types for which no specific bib2xml.Type.xml exists.

lib/bib2xml.lang
built in language id map file to translate language names or ISO_639-2 and ISO_639-1 language shortcuts to 'Microsoft™ Word' language ids that can be used thru the @_LCID@ field in the bib2xml.Type.xml templates.

Do not change this file, it will be overwritten when upgrading the WA2L/WinTools package, create your own bib2xml.lang file in the etc/ directory.

etc/bib2xml.lang
additional language id mappings to the lib/bib2xml.lang language mapping file. The mappings in this file have preference over the mappings in the lib/bib2xml.lang file.

Example of an etc/bib2xml.lang file:

;ISO_639-2;ISO_639-1;LANGUAGE;LCID;
;;de-CH;German (Switzerland);2055;
;;en-US;English (U.S.);1033;

 

EXAMPLES

-

 

SEE ALSO

wintoolsintro(1), bib2xml.xml(4), metadata(1)

 

NOTES

-

 

BUGS

bib2xml is tested against the BibTeX structure as documented in the OPTIONS section only.

 

AUTHOR

bib2xml was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:31:46 GMT, September 14, 2024