BibTeX
Preparing the LaTeX List of Publications from the SPIRES BibTeX output
If you have a bib file that you wish to convert to add in the
Citations tags, or that you wish to update with journal
information, just send it to:
To: slaclib2@slac.stanford.edu
Subject: generate bibtex
and the file will come back with Citation tags embedded. You'll then
just need one of the special
bst files, and you will be ready.
Instructions
- Copy the Spires output with the list of your articles in the
BibTeX format to a file called, e.g., spires.bib. (Delete a
header and possible html markup at the top and bottom).eg
@Article{Alvarez-Gaume:1996gd,
author = "Luis Alvarez-Gaume and Jacques Distler and Costas Kounnas
and Marcos Marino",
title = "Large Softly broken {$N=2$} {QCD}",
journal = "Int. J. Mod. Phys.",
volume = "A11",
year = "1996",
pages = "4745-4777",
eprint = "hep-th/9604004",
SLACcitation = "%%CITATION = IMPAE,A11,4745;%%"
}
Note, the curly braces around the equations and the acronyms (as in {QCD}) are necessary to protect them from being
changed by the bib style files (e.g. QCD -> Qcd). So if they don't
appear you should add them.
- Choose from a variety of bst files from
here.
You can use many other BibTeX style files, but the one listed above will
handle correctly the citation
and eprint fields in the Spires output.
- Prepare a simple file called, e.g., mywork.tex. It should
have the following form:
\documentclass[12pt]{article} %or use your favorite doc class
\renewcommand\refname{My Wonderful Publications} %change as needed
\begin{document}
\nocite{*} %this uses *everything* in the .bib file
\bibliography{spires} %or whatever your .bib file is
\bibliographystyle{utphys} %if you use utphys.bst
\end{document}
- to process the file, use several "latex" and "bibtex" commands.
Particularly, for the file named mywork.tex (above), do the following:
latex mywork
bibtex mywork
latex mywork (twice!)
latex mywork
- If everything worked well, you now have the mywork.dvi file that
you can send to a printer or turn into a postscript file. Check and see
what changes have to be done to the original .bib file (some titles and
author names will likely have to be changed from the Spires ascii form
to the real TeX markup). Redo step [4] if needed.
Acknowledgment: The instructions are based on the suggestion of
Jacques Distler. We
are grateful for his interest and help! You can find a helpful
introduction to BibTeX, courtesy of Jenny Williams. If you can refine the procedure (while still keeping it
simple), please let us know!
|