Rob MacLeod (macleod@sci.utah.edu)
EndNote is a nice program on PCs and Macs for managing a database of literature references. There are ways to move records in and out of EndNote so that we sane people who use LATEX and BibTEX can benefit from the user friendly entry of EndNote references. Here I describe what I have learned so far about this topic.
A good place to look for more information is the EndNote web cite at www.endnote.com/ and for technical support and downloads at www.endnote.com/support/ensupport.asp.
To extract EndNote references into a BibTEX format, you can simply create or use an existing output format from within EndNote and the result should be something BibTEX can handle. There is a section in the Support and Services section about downloading style files and here you can find a style file for BibTEX format called bibtex_export.ens. Insert this file into wherever you keep styles on your Mac/PC and then you can use this style to create an output file that BibTEX should read.
The instructions for exporting the references are as follows:
The above steps are not all ones needs to get a usable BibTEX file though. The resulting .bib file will not have any keys assigned and for this, I have written an ``awk'' script that cleans up the file to generate a fully legal .bib file. ``Awk'' is a programming language popular in Unix and available on all Unix/Linix and Mac OSX computers (see below for suggestions for Windoze users).
where ``ABC'' is a prefix you select to create unique keys. Our
internal format is to use the owners initials, i.e., RSM in my
case. If there is no outfile specified, the output will appear in a file
called, output.bib. Redirecting the output to
the logfile.log is optional and if ommited, all output streams to
the terminal window.
Note for Windoze users! For those of you not using Unix or Mac OSX, the Windows operating system does not have ``awk'', which is a scripting language with powerful support for processing text files. So to run the script below, you will need to find a version of awk for Windows, for which there appear to be several options.
Note: I am not a Windoze user (in case you cannot tell) so your mileage will vary and I am not likely to be a lot of help with the details. My favorite solution is just to buy a Mac!
We often want to share references with our unfortunate colleagues who have to use a Mac/PC based WYSIWYG text processing program (aka MS Word). To do this, there is a BibTEX style file that creates output that EndNote can import. The steps are as follows:
\bibliographystyle{}
command, but as an argument, provide ``refer'', so the command
looks like this
\bibliographystyle{refer}
Now to actually replace \cite
commands with the required tags in
EndNote, you will have to do some manual work. It should be possible to
write an awk/perl script that will make a good attempt at guessing at tags,
but this will probably not work completely as the EndNote tags seem to
include things that only EndNote can know, such as the reference # of the
entry in the EndNote database. At present then, you will have to manually
hunt for references and replace them with the ones from the EndNote
database. If you have used a sensible naming scheme for the keys in your
BibTEX database (e.g., the one I made up!), then this will not be so
bad. EndNote uses the first author's last name and the publication year as
parts of the key so if that matches in some way the naming scheme in
BibTEX, then searching is at least facilitated. When in doubt about a
match, note that there is a field called ``Label'' in the EndNote database
that should contain the key field from the original BibTEX entry.
There are some programs out there that will allow you to read EndNote files directly and use them with BibTEX. I have not tested any of them and so cannot say anything useful about them other than supply the pointer to Google. Have fun and let me know what you learn.
This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 3 -no_white -link 3 -no_navigation -no_math -html_version 3.2,math -show_section_numbers -local_icons endnote
The translation was initiated by Rob Macleod on 2008-04-04