https://github.com/astrofrog/auto_bibtex
Automatically produce BibTeX file for LaTeX manuscript using the NASA ADS database
https://github.com/astrofrog/auto_bibtex
Last synced: 22 days ago
JSON representation
Automatically produce BibTeX file for LaTeX manuscript using the NASA ADS database
- Host: GitHub
- URL: https://github.com/astrofrog/auto_bibtex
- Owner: astrofrog
- License: other
- Created: 2011-04-10T16:49:51.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T14:48:35.000Z (almost 12 years ago)
- Last Synced: 2026-05-24T07:42:10.778Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 181 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Installation
------------
$ python setup.py install
Instructions
------------
This script searches a LaTeX file for citekeys, and tries to match citekeys
in the form author:year:page to the NASA ADS database. For cite keys that
successfully resolve to a unique article, the script downloads the BibTeX
entry and appends it to a file called [original]_auto.bib where [original] is
the original name of the input file, with the .tex extension stripped. For
example, the following command
$ auto_bibtex.py ms.tex
will produce an output file called ms_auto.bib. This bibliography can then
be included in the LaTeX file with
\bibliography{ms_auto, custom}
where custom.bib would contain any references not resolved by ADS.
Notes
-----
- This script assumes the year is given in 2-digit form, e.g. 83 for 1983