Using BibTeX entries generated by ADS

The BibTeX entries that the NASA Astrophysics Data System creates are meant to be easily integrated as bibliography files in your electronic document editing process when preparing a paper for submission to a journal or conference. This page lists the packages and styles that are currently known to work with the BibTeX entries generated by ADS. Please refer to the instructions provided by each publisher for more information about how to properly prepare the list of references for your paper. If you know of additional packages which work or don't work with our BibTeX entries, please let us know so that we can maintain this list for our users.

Compatibility with Earlier versions

Support for BibTeX in earlier LaTeX macro packages was provided informally via a modified version of the apj.bst style file from Jonathan Baker's AstroNat package. Use of the package allowed the easy inclusion of ADS BibTeX records in manuscripts prepared for all the AAS journals as well as A&A and MNRAS. While this bst file is not officially supported any longer, we provide the following information for historical purposes.

Here is an example LaTeX document which uses the macros in question: aas_ex.tex:

\documentclass{aastex}  % version 5.0 or prior
\usepackage{natbib}
\bibliographystyle{apj}
\begin{document}

Here is a reference to a paper in Annual Reviews: \cite{1974ARA&A..12..279Z}.

\bibliography{adssample}
\end{document}
The TeX file references the paper identified by the bibcode 1974ARA&A..12..279Z, and it instructs bibtex to look for such a bibliographic entry in the file adssample.bib. The entry in question (which has been downloaded from ADS and pasted into the file adssample.bib) looks like the following:
@ARTICLE{1974ARA&A..12..279Z,
  author = {{Zuckerman}, B. and {Palmer}, P.},
  year = 1974,
  title = {{Radio radiation from interstellar molecules}},
  journal = {\araa},
  volume = 12,
  pages = {279--313},
  url = {http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=1974ARA%26A..12..279Z&db_key=AST},
  adsnote = {Provided by the NASA Astrophysics Data System}
}

We can now run latex (or pdflatex) and bibtex as usual on the input file to generate a DVI (or PDF) file:

pdflatex aas_ex
bibtex aas_ex
pdflatex aas_ex
pdflatex aas_ex
to generate a correctly formatted output file.

Rolling your own style file

For the more adventurous users interested in creating PDF or HTML documents from their latex source which include links to online records in ADS, there are some packages out there that can be used for this purpose. The ones we have tested and reccommend are hyperref and pdflatex, which are capable of creating PDF files containing hyperlinks. Both packages are available from CTAN (the Comprehensive TeX Archive Network).

In order to make use of the URLs contained in the Bibtex files created by ADS, you need to use a bibtex style file that inserts the URL field in the output dvi file. One of such style file is the plainnat format that comes with the natbib package. Alternatively, you may want to try a syle file that I created by hacking the original apj.bst from AstroNat. I called the file astroads.bst because it formats the references according to the well-estabilished syntax in use in astronomy but it is tweaked to create links with an ``[ADS]'' label for all entries generated by ADS. If you're interested, please download the following files and give it a try:

You can create a PDF file from these sources by executing the following procedures:
pdflatex astroads_ex
bibtex astroads_ex
pdflatex astroads_ex
pdflatex astroads_ex
This will generate the PDF file astroads_ex.pdf containing links to online documents for those bibliographic entries which have a URL entry. Links to bibliographic entries generated by ADS will be properly identified and the label ``ADS'' (rather than the generic ``LINK'') will be displayed. Note: make sure you have a recent version of hyperref, since the earlier versions of the package (prior to 2001) don't work well with some of bibtex's quirks.


ads@cfa.harvard.edu