.TH EndNote2bib 1 "Date: 2006/05/17 01:00:00" "EndNote2bib" .SH NAME EndNote2bib \- convert EndNote input files to bibtex .bib files .SH SYNOPSIS .B EndNote2bib [\fP-q\fR] file ... .B EndNote2bib [\fP-h\fR] .br .SH OPTIONS \fP-q\fR supress complains on unsupported EndNote tags on stderr \fP-h\fR print a usage summary and exit .SH DESCRIPTION .B EndNote2bib reads the .I files and produces a .B bibtex reference list (a .bib file) on the standard output. If no files are given, EndNote2bib reads standard input. .PP Since .B EndNote files are inherently unstructured (compared to .B bibtex ) .B EndNote2bib only does a passable job. In particular .B EndNote doesn't require a keyword, while .B bibtex does. The heuristic that .B EndNote2bib uses for cooking up a keyword, in order of precedence, is: .in +4 1. Use the Label (%F) if it's only one word. .br 2. Use the Call Number (%L) if it's only one word. .br 3. Use the Keyword entry (%K) if it's only one word. .br 4. Otherwise just use the string "keyN" where N is the count of this bibliographic entry in the EndNote file(s). .in -4 There is no check that the BibTeX labels generated that way are all different. .PP To determine the type of reference that the .B EndNote entry is, .B EndNote2bib has to do some ``calculated guessing''. The heuristic used here (again, in order of precedence) is: .PP 1. If it has one of the following Referenc Types (%0), it is interpreted according to the table .in +4 Book @book Manuscript @manual In Proceedings @inproceedings Conference Proceedings @proceedings Report @techreport Journal Article @article Book Section @inbook Edited Book @book Newspaper Article @article Thesis @phdthesis Personal Communication @unpublished Generic @misc .in -4 .PP 2. If it has a journal entry (%J) then it's considered to be an @article. .PP 3. If it has a Secondary Title entry (%B) then it's considered to be an @inbook. .PP 4. If it has a report entry (%R) then it's considered to be a @techreport. .PP 5. If it has a issuer entry (%I) then it's considered to be a @book. .PP 6. Otherwise it's considered to be a @misc. .PP Quite often .B EndNote2bib will misguess and you will need to edit (by hand) the resulting .bib file. .PP Any fields that .B EndNote2bib doesn't know about it will ignore (and complain about it on stderr unless the -q option has been used). .SH EXAMPLES .B EndNote2bib -q endnfile1 endnfile2 > bibtfile.bib .B dosToTex < endnfile1 | .B EndNote2bib -q | fold -s -w 132 > bibtfile.bib .SH SEE ALSO dos2unix(1) dosToTex(1) fold(1) bibtex(1) .SH AUTHOR Richard J. Mathar, Leiden Observatory, based on r2bib.c coded by Rusty Wright .SH BUGS