## Mnras Latex Bibliography Reference

### Compatibility with Earlier versions

Support for BibTeX in earlier LaTeX macro packages was provided informally via a modified version of the 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: :

\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 . The entry in question (which has been downloaded from ADS and pasted into the file ) 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 and , 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 format that comes with the natbib package. Alternatively, you may want to try a syle file that I created by hacking the original from AstroNat. I called the file 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:
This will generate the PDF file 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.