skip to navigation
skip to content

betterbib 2.4.2

Better BibTeX data

BibTeX files are typically manually maintained and thus often contain inconsistencies, mistakes, or are missing information. betterbib helps maintaining your BibTeX files by comparing them with online sources and correcting whatever entries are found faulty. For example, with

$ betterbib in.bib out.bib

the input BibTeX

@article {krylov,
  author = {Liesen and Gaul and Nabben},
  title = {Framework Deflation Krylov Augmented}
}

is converted into

@article{krylov,
  author = {Gaul, André and Gutknecht, Martin H. and Liesen, Jörg and Nabben, Reinhard},
  publisher = {Society for Industrial & Applied Mathematics (SIAM)},
  doi = {10.1137/110820713},
  title = {A Framework for Deflated and Augmented {Krylov} Subspace Methods},
  url = {https://doi.org/10.1137/110820713},
  journal = {SIAM J. Matrix Anal. & Appl.},
  number = {2},
  month = jan,
  volume = {34},
  source = {Crossref},
  year = {2013},
  pages = {495-518}
}

(If you prefer long journal names, add the option --long-journal-name/-l.)

betterbib fetches data from Crossref.

All betterbib command-line options are explained in betterbib -h.

Installation

Python Package Index

betterbib is available from the Python Package Index, so simply type

pip install -U betterbib

to install or upgrade. Use sudo -H to install as root or the --user option of pip to install in $HOME.

Manual installation

Download betterbib from GitHub and install it with

python setup.py install

Requirements

betterbib has a few Python dependencies, all listed in requirement.txt, notably:

Additionally, betterbib requires

to be installed.

Usage

$ ./betterbib mybibliography.bib out.bib

Testing

To run the betterbib unit tests, check out this repository and type

pytest

Distribution

To create a new release

  1. bump the __version__ number,

  2. publish to PyPi and tag on GitHub:

    $ make publish
    

License

betterbib is published under the MIT license.

 
File Type Py Version Uploaded on Size
betterbib-2.4.2-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2017-10-16 16KB