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 (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


2019-01-17 0.22.2 Pybtex