.TH "EndNote2bib" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*- .ad l .nh .SH NAME EndNote2bib \- convert EndNote input files to bibtex \&.bib files .PP .SH "SYNOPSIS " .PP .PP \fIEndNote2bib\fP [-q] ''file'' \&.\&.\&. .PP \fIEndNote2bib\fP [-h] .PP .SH "OPTIONS " .PP .PP -q supress complains on unsupported EndNote tags on stderr .PP -h print a usage summary and exits .PP .SH "DESCRIPTION " .PP .PP \fIEndNote2bib\fP reads the ''files'' and produces a \fIbibtex\fP reference list (a \&.bib file) on the standard output\&. If no files are given, \fIEndNote2bib\fP reads standard input\&. .PP Since EndNote offers a LaTeX export style, use of this program makes only much sense if one wishes to handle EndNote bibliographies but does not have access to an EndNote installation\&. .PP Since EndNote files are inherently unstructured (compared to \fIbibtex\fP) \fIEndNote2bib\fP only does a passable job\&. In particular EndNote doesn't require a keyword, while \fIbibtex\fP does\&. The heuristic that \fIEndNote2bib\fP uses for cooking up a keyword, in order of precedence, is: .PP .IP "\(bu" 2 Use the Label (%F) if it's only one word\&. .IP "\(bu" 2 Use the Call Number (%L) if it's only one word\&. .IP "\(bu" 2 Use the Keyword entry (%K) if it's only one word\&. .IP "\(bu" 2 Otherwise just use the string 'keyN' where N is the count of this bibliographic entry in the EndNote file(s)\&. .PP .PP There is no check that the BibTeX labels generated that way are all different\&. .PP To determine the type of reference that the EndNote entry is, \fIEndNote2bib\fP has to do some 'calculated guessing\&.' The heuristic used here (again, in order of precedence) is: .PP .IP "\(bu" 2 If it has one of the following Referenc Types (%0), it is interpreted according to the table .PP Book @book .PP Manuscript @manual .PP In Proceedings @inproceedings .PP Conference Proceedings @proceedings .PP Report @techreport .PP Journal Article @article .PP Book Section @inbook .PP Edited Book @book .PP Newspaper Article @article .PP Thesis @phdthesis .PP Personal Communication @unpublished .PP Generic @misc .IP "\(bu" 2 If it has a journal entry (%J) then it's considered to be an @article\&. .IP "\(bu" 2 If it has a Secondary Title entry (%B) then it's considered to be an @inbook\&. .IP "\(bu" 2 If it has a report entry (%R) then it's considered to be a @techreport\&. .IP "\(bu" 2 If it has a issuer entry (%I) then it's considered to be a @book\&. .IP "\(bu" 2 Otherwise it's considered to be a @misc\&. .PP .PP Quite often \fIEndNote2bib\fP will misguess and you will need to edit (by hand) the resulting \&.bib file\&. .PP Any fields that \fIEndNote2bib\fP doesn't know about it will ignore (and complain about it on stderr unless the -q option has been used)\&. .PP The main difference between \fIr2bib\fP and \fIEndNote2bib\fP is that \fIEndNote2bib\fP recognizes more tags that have been introduced in the EndNote document system\&. For a description see the source code in the file EndNote2bib\&.c\&. .PP .SH "EXAMPLES " .PP .PP EndNote2bib -q endnfile1 endnfile2 > bibtfile\&.bib .PP .SH "SEE ALSO " .PP .PP dos2unix(1) dosToTex(1) fold(1) bibtex(1) r2bib(1) .PP .SH "AUTHOR " .PP .PP Richard J\&. Mathar, based on r2bib\&.c coded by Rusty Wright