/blackref

Opinionated BiBTeX file formatter

Primary LanguagePythonMIT LicenseMIT

Blackref: an uncompromising BibTeX formatter

Travis build: Build Status Coverage: Coverage Status

BibTeX files are sometimes hard to read for human beings. I decided to start two pet project of my own:

  • reflint for checking BibTeX files, fixing fields, but not changing formatting
  • blackref for fixing the BibTeX code style, but not changing any content (not counting formatting changes, e.g. ISBN formatting)

Ideally, reflint fixes / warns about missing fields, incorrect values, and blackref formats everything nicely, but does not do any semantic changes.

Both of them should run both as a command line tool or as a pre-commit hook. (work in progress)