Metadata-Version: 2.1
Name: autobib
Version: 0.1.5
Summary: Automatically generate and manage a BibTeX file
Home-page: https://github.com/hdembinski/autobib
Author: Hans Dembinski
Author-email: hans.dembinski@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/hdembinski/autobib/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: bibtexparser
Requires-Dist: requests
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'

# autobib

Automatically generate and manage a BibTeX file.

`autobib` will automatically fetch citation keys from online repositories that were added to the LaTeX document but not yet to the `.bib` file. The automatically fetched entries are added to the local `.bib` file for the next run. For this to work, the citation key has to be the Inspire key.

In essence, you still need to look up a citation online, but you don't have to add it twice, to your LaTeX document and to your `.bib` file. `autobib` does the latter for you.

## Installation and usage

`pip install autobib`

This installs a new script called `bibtex`, which is a drop-in replacement of the original `bibtex` command. The same name is chosen to make it work automatically with tooling like `latexmk`, which is otherwise hard to achieve.

Make sure that the `bibtex` script installed by `autobib` is found first by shell lookup. The path where the script is located must come first in the search paths listed by `PATH`, before the original `bibtex`.

## Planned features

- Also fetch from [adsabs](https://ui.adsabs.harvard.edu/)
- Smart-detect duplicates with some similarity metric, e.g. if the same paper is cited once using the adsabs key and once using the Inspire key


