BIBTEX(1)
π BIBTEX(1) β bestie, we're building your bibliography π
okay so real talk: this is the Web2C 2026 era version of bibtex, and she's here to make a bibliography for (La)TeX. no cap, she's been doing this since forever and she still eats. β¨
πΈ SYNOPSIS πΈ
bibtex [-min-crossrefs=number] [-terse] auxname[.aux]
bestie that's it, that's the whole summoning ritual π«Ά
β¨ DESCRIPTION β¨
okay so picture this: BibTeX reads the top-level auxiliary (.aux) file called auxname β the one that got output during (typically) the running of latex(1) or tex(1) β and then she creates a bibliography (.bbl) file that gets incorporated into your document on subsequent runs of LaTeX or TeX. it's giving pipeline. it's giving teamwork. π
the way that BibTeX looks up stuff: she goes into the bibliographic database (.bib) files that you specified with the \bibliography command, and she finds the entries you specified with the \cite and \nocite commands in your LaTeX or TeX source file. then she formats all the info from those entries according to the instructions in a bibliography style (.bst) file (which you specified with the \bibliographystyle command), and she outputs the results to the .bbl file. main character energy, honestly. π
ngl, the LaTeX manual is where you find out what a LaTeX source file has to contain for BibTeX to work with it. and Appendix B of that manual describes the format of the .bib files. so if you're confused, that's your girl. π
also the short BibTeXing (aka btxdoc) document describes extensions and details of this format, plus gives other useful hints for using BibTeX. lowkey a must-read. β
and here's a fun one: BibTeX can also be used with plain TeX, via \input btxmac β the interface is essentially the same as LaTeX. the support is included in eplain(1), and the Eplain manual explains the usage, which is essentially the same as in LaTeX: https://tug.org/eplain/doc/eplain.html#Citations π
π OPTIONS π
see tex(1) for details of command-line parsing. (yes queen, that's where the parsing lore lives.)
-min-crossrefs=numberβ this defines the minimum number of crossref required for automatic inclusion of the crossref base entry in the citation list. the default is two. π
okay so important diva behavior alert: if you want to avoid these automatic inclusions altogether, give this option a sufficiently large number, AND be sure to remove any previous.auxand.bblfiles. otherwise the option may appear to have no effect, since BibTeX will have added the citation for the base entry to the.auxfile, and nothing will remove it. so likeβ¦ clean up after yourself bestie π
-terseβ with this, BibTeX operates silently. without it, a banner and progress reports are printed onstdout. (some of us love the chatter, some of us need quiet study time π)
the standard -help and -version options are also supported. fyi.
π¦ ENVIRONMENT π¦
BibTeX searches the directories in the path defined by the BSTINPUTS environment variable for .bst files. if BSTINPUTS is not set, she uses the system default. for .bib files, she uses the BIBINPUTS environment variable if that is set, otherwise the default. see tex(1) for the details of the searching. π§
if the environment variable TEXMFOUTPUT is set, BibTeX attempts to put its output files in it, if they cannot be put in the current directory. again, see tex(1). and note: no special searching is done for the .aux file. periodt. π
π FILES π
*.bstβ bibliography style files.btxdoc.texβBibTeXingβ documentation for BibTeX users. πbtxhak.texβDesigning BibTeX Stylesβ documentation for.bstwriters.btxdoc.bibβ database file for those two documents.xampl.bibβ database file giving examples of all standard entry types.btxbst.docβ template file and documentation for the standard styles.btxmac.texβ BibTeX for plain TeX.
all those files should be available somewhere on your system, no worries. and running texdoc btxdoc (or btxhak) may display the above documents. slay. β¨
π SEE ALSO π
- BibTeX home page: https://tug.org/bibtex
- Bib-related CTAN topics: https://ctan.org/topic/:B
- BibTeX package page on CTAN: https://ctan.org/pkg/bibtex β (which has links to the above documents, among others).
Leslie Lamport, LaTeX: A Document Preparation System, Addison-Wesley.
Bibliography support in plain TeX: https://tug.org/eplain/doc/eplain.html#Citations
BibTeX chapter in the Web2c manual: https://tug.org/texinfohtml/web2c.html#BibTeX
Typeset source code for BibTeX: https://ctan.org/pkg/knuth-pdf
and okay big shoutout moment: thanks to Nelson Beebe, the University of Utah has a vast collection of .bib files available, including entries for all the standard TeX books and a complete bibliography for TUGboat. Nelson also provides this information page on BibTeX: https://ftp.math.utah.edu/pub/bibnet/bibtex-info.html β and a large collection of BibTeX-related tools: https://www.math.utah.edu/~beebe/software/bibtex-bibliography-tools.html π
π AUTHOR π
Oren Patashnik, Stanford University. this man page describes the Web2c (TeX Live) version of BibTeX. other ports of BibTeX do not have the same path searching implementation or the same command-line options β so like, don't get it twisted. π
public discussion list and bug reports: https://lists.tug.org/biblio π«Ά
okay bestie that's the whole thing π
this was written for bibtex 0.99e, dated 15 January 2026, and it's the Web2C 2026 flavor β go cite something iconic, you've got this πβ¨π
π¦ where this page comes from
- ubuntu stonking: texlive-binaries 2026.20260303.78225+ds-5ubuntu1 Β· TeX-Live
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms