Generated by DeepSeek V3.2| BibTeX | |
|---|---|
| Name | BibTeX |
| Developer | Oren Patashnik, Leslie Lamport |
| Released | 0 1985 |
| Latest release version | 0.99d |
| Latest release date | 30 March 2010 |
| Programming language | WEB |
| Operating system | Cross-platform |
| Genre | Bibliography, Reference management software |
| License | LaTeX Project Public License (LPPL) |
BibTeX is a reference management software and bibliography formatting tool commonly used in conjunction with the LaTeX document preparation system. It was created by Oren Patashnik and Leslie Lamport in the mid-1980s to automate the creation of bibliographies and citation lists in scholarly documents. The tool separates the content of a bibliography from its presentation style, allowing authors to maintain a database of references in a plain text file with a `.bib` extension. BibTeX is integral to the workflow of researchers, academics, and publishers in fields such as computer science, physics, and mathematics, where consistent citation formatting is critical.
BibTeX functions as an auxiliary program for the TeX typesetting system, specifically designed to work seamlessly with LaTeX. Its primary purpose is to generate formatted bibliographies and handle citations based on a style-independent database of references. When processing a LaTeX document, the `\cite` command is used to mark citations, and BibTeX reads an associated `.bib` file to extract the relevant entries. The system then formats these entries according to a specified bibliography style (`.bst` file), producing a consistent and professionally typeset reference section. This automation significantly reduces manual formatting errors and simplifies the management of large bibliographies in complex documents like PhD theses, academic journals, and conference proceedings.
The BibTeX file format uses a plain text, human-readable structure where each reference is stored as an entry with a specific type and a set of fields. Common entry types include `@article` for journal articles, `@book` for monographs, `@inproceedings` for conference papers, and `@phdthesis` for dissertations. Each entry requires a unique citation key and contains fields such as `author`, `title`, `year`, `journal`, `volume`, and `pages`, with the exact fields depending on the entry type. The format supports special characters and formatting commands from the TeX language, and it can handle data from major sources like the Digital Bibliography & Library Project (DBLP) or Google Scholar. Files are typically saved with the `.bib` extension and can be edited with any text editor or specialized reference management software.
Using BibTeX involves a multi-step compilation process within the LaTeX workflow. An author first creates a `.bib` file containing all reference entries. In the main LaTeX document, commands like `\bibliographystyle{plain}` and `\bibliography{references}` are inserted where the bibliography should appear. The document is then processed with pdfLaTeX, which writes citation keys to an auxiliary file. The BibTeX program is run on this auxiliary file, matching keys to entries in the `.bib` database and formatting them according to the chosen style. Finally, pdfLaTeX is run twice more to resolve all cross-references and produce the final document with correctly numbered citations and a formatted bibliography, a process integral to publishing in venues like the Association for Computing Machinery (ACM) or the Institute of Electrical and Electronics Engineers (IEEE).
Bibliography styles in BibTeX are defined in `.bst` files, which are written in a stack-based programming language specific to BibTeX. These style files control the formatting of each reference type, determining the order of fields, punctuation, font styles, and sorting. Standard styles distributed with LaTeX distributions include `plain`, `abbrv`, `alpha`, and `unsrt`, each offering variations in author-name formatting, abbreviation rules, and citation label systems. Many academic publishers and organizations, such as the American Physical Society (APS) and the American Mathematical Society (AMS), provide their own custom `.bst` files to ensure compliance with their publication guidelines. The creation of new styles often requires understanding the BibTeX style file language, though tools like `custom-bib` can assist in their generation.
Several tools and extensions have been developed to enhance or replace BibTeX, addressing its limitations with Unicode support, field extensibility, and sorting algorithms. BibLaTeX is a modern, feature-rich alternative that uses LaTeX for all formatting, offering greater flexibility and better support for internationalization. natbib is a popular package that extends BibTeX's citation commands to support author-year citation styles commonly used in fields like economics and social sciences. Other utilities include JabRef, a Java-based graphical reference manager for `.bib` files, and Zotero, which can export libraries to the BibTeX format. Furthermore, many online services, including Overleaf and ShareLaTeX, integrate BibTeX processing directly into their collaborative LaTeX editors.
Category:Reference management software Category:TeX Category:Bibliographic databases