Introduction
A .bib file is a plain text database of references, such as books and
journal articles, read by BibTeX to build the
bibliography of a LaTeX document. Reference managers
work with it too: Zotero exports .bib files, and JabRef uses BibTeX as its
native format.
Structure
The file is text made of blocks that start with @. An entry has a type
such as @article or @book, a citation key and a list of
field = value pairs, with values in braces or double quotes. The other
blocks are @string (abbreviations), @preamble (LaTeX code)
and @comment. Text outside the blocks is ignored.
@book{knuth1984,
author = {Donald E. Knuth},
title = {The {TeX}book},
publisher = {Addison-Wesley},
year = 1984
}
Not described
This page is a first outline. The syntax is not yet described in full here.
Known, not yet covered
- Reference: the entry types and their fields, name parsing, string joining and cross-references, and the extra fields of biblatex.
- Viewer: the site has no viewer for this format.
Links
Software
Reference
- BibTeX format description – entry syntax, fields and names
- Installing BibTeX – the TeX distributions that include it
- BibTeX tools – programs that work with .bib files
- Installing JabRef – on Windows, Linux and macOS