pybtex man page

pybtex — BibTeX-compatible bibliography processor in Python


pybtex [ options ] auxfile.aux


Pybtex reads citation information from a LaTeX .aux file and produces a formatted bibliography. Pybtex understands BibTeX .bib and .bst style files and can be used as a drop-in replacement for BibTeX.

Besides BibTeX .bib files, BibTeXML and YAML bibliography files are supported.

It is also possible to define bibliography formatting styles in Python.

General Optons


show program's version number and exit

-h, --help

show this help message and exit


turn warnings into errors


ignored for compatibility with BibTeX


include item after NUMBER crossrefs; default 2

-f FORMAT, --bibliography-format=FORMAT

bibliograpy format (bibtex, bibtexml, yaml)

-b BACKEND, --output-backend=BACKEND

output backend (docutils, html, latex, markdown, plaintext)

-s STYLE, --style=STYLE

bibliography formatting style

-l LANGUAGE, --style-language=LANGUAGE

style definition language to use (bibtex or python)

Pythonic Style Options


label formatting style (alpha, number)


name formatting style (lastfirst, plain)


sorting style (author_year_title, none)


use abbreviated name formatting style

Encoding Options

-e ENCODING, --encoding=ENCODING

default encoding




See Also


2017-01-20 0.21 Pybtex