BIBTEX(1)

๐Ÿ“ฆ
version 77830 ยท 6 versions
, in alpine 3.24, fedora 44, opensuse-leap 16.0

๐Ÿ’– BIBTEX(1) โ€” the manual page, bestie ๐Ÿ’–

okay so this is the manual page for bibtex, from Web2C 2025. she's a classic. let's get into it ๐Ÿซถ


โœจ NAME โœจ

bibtex โ€” make a bibliography for (La)TeX. that's the whole job, that's her lane, and she ate ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

bibtex [-min-crossrefs=number] [-terse] auxname[.aux]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

real talk: this manual page is not meant to be exhaustive, bestie. the complete documentation for this version of TeX lives in the info file, or in the manual Web2C: A TeX implementation. so if you need the full tea, that's where it's at ๐Ÿ“–

BibTeX reads the top-level auxiliary (.aux) file auxname โ€” the one that got output while you were running latex(1) or tex(1) โ€” and it creates a bibliography (.bbl) file that will get incorporated into your document on subsequent runs of LaTeX or TeX. it's giving glow-up pipeline โœจ

BibTeX looks up, in bibliographic database (.bib) files specified by the \bibliography command, the entries specified by the \cite and \nocite commands in the LaTeX or TeX source file. then it formats the info from those entries according to instructions in a bibliography style (.bst) file (specified by the \bibliographystyle command), and it outputs the results to the .bbl file. iconic behaviour, no cap ๐Ÿ‘‘

the LaTeX manual explains what a LaTeX source file has to contain to work with BibTeX. Appendix B of the manual describes the format of the .bib files. and the BibTeXing document describes extensions and details of this format, plus it gives other useful hints for using BibTeX. very much the iykyk of it all ๐ŸŽ€


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -min-crossrefs โ€” this one defines the minimum number of crossref required for automatic inclusion of the crossref base entry in the citation list; the default is two. if you want to avoid these automatic inclusions altogether, give this option a sufficiently large number, and be sure to remove any previous .aux and .bbl files. otherwise the option may appear to have no effect, since BibTeX will have added the citation for the base entry to the .aux file, and nothing will remove it. so like... clean up after yourself fr fr ๐Ÿงน
  • -terse โ€” with this option, BibTeX operates silently. without it, a banner and progress reports are printed on stdout. not me choosing peace and quiet ๐Ÿ™ˆ

๐ŸŒˆ ENVIRONMENT ๐ŸŒˆ

BibTeX searches the directories in the path defined by the BSTINPUTS environment variable for .bst files. if BSTINPUTS is not set, it uses the system default. for .bib files, it 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 heads up: no special searching is done for the .aux file. that one's on its own, bestie ๐Ÿ˜ญ


๐ŸŽ€ FILES ๐ŸŽ€

  • *.bst โ€” bibliography style files.
  • btxdoc.tex โ€” BibTeXing โ€” LaTeXable documentation for general BibTeX users.
  • btxhak.tex โ€” Designing BibTeX Styles โ€” LaTeXable documentation for style designers.
  • 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.

all those files should be available somewhere on your system, ok? they're out there ๐Ÿฆ‹

also, the host math.utah.edu has a vast collection of .bib files available for anonymous ftp, including references for all the standard TeX books and a complete bibliography for TUGboat. a whole archive, a whole vibe ๐ŸŒธ


โญ SEE ALSO โญ

latex(1), tex(1).

Leslie Lamport, LaTeX - A Document Preparation System, Addison-Wesley, 1985, ISBN 0-201-15790-X.


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Oren Patashnik, Stanford University. this man page describes the web2c version of BibTeX. other ports of BibTeX โ€” such as Donald Knuth's version using the Sun Pascal compiler โ€” do not have the same path searching implementation, or the command-line options. so if you're on a different port, adjust expectations accordingly, periodt ๐Ÿ’€


and that's the whole page, bestie!! this is bibtex 0.99d, dated 18 March 2024, and she's still serving ๐Ÿ’– go make a bibliography, you're gonna slay ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from