<div dir="ltr">Hi all,<br><br>I developed a small Sphinx extension to format bibliographic references in an astronomy-like style in Sphinx documents that may be of interest to people on this list:<br><br>* Documentation: <a href="https://sphinx-astrorefs.readthedocs.io/">https://sphinx-astrorefs.readthedocs.io/</a><br>* Code: <a href="https://github.com/jobovy/sphinx-astrorefs">https://github.com/jobovy/sphinx-astrorefs</a><br>* Install: pip install sphinx-astrorefs sphinxcontrib-bibtex<br><br>Specifically, this extension allows you to:<br><br>1) Format references in the bibliography in a style similar to that used in astro journals using the 'astrostyle' pybtex style: alphabetically by author, ApJ-like formatting of the authors, and linking to the DOI, ADS, and arXiv entry (note that unlike journals, I do include the title, but that would be easy to turn off)<br>2) Reference as author (year), (author year), or author year (i.e., \citet, \citep, and \citealt in natbib)<br>3) Directly use ADS bibtex entries in the bibtex file (i.e., without having to replace the \apj etc. AAS macros).<br><br>The formatting style in 1) could be easily changed by adding a pybtex style similar to 'astrostyle' included here. The syntax for getting 2) to work is a little hacky, but it works (but if anybody has a better suggestion, I'd be interested to hear it!). Currently the extension works for 'html' and 'latex' Sphinx builds and it also works on readthedocs.<br><br>If you find any issues or for other feedback, please open an issue on the GitHub page.<br><br>Best,<br><br>Jo<br></div>