Pular para o conteúdo

Guia BibTeX para LaTeX - gerenciamento bibliografico com arquivos .bib

BibTeX is the classic bibliography system for LaTeX. It stores references in a .bib file, links them by citation keys, and formats output with a selected bibliography style.

This page is a practical quick start for beginners and a compact reference for advanced users.

BibTeX is a bibliography processor in the LaTeX toolchain. You keep references in a plain-text .bib database, cite them in your .tex file with keys, and generate the final bibliography with a selected style.

@book{Hemingway1952,
title = {The Old Man and the Sea},
author = {Hemingway, Ernest},
year = {1952},
publisher = {Charles Scribner's Sons}
}
\documentclass{article}
\begin{document}
Example citation: \cite{Hemingway1952}.
\bibliographystyle{plain}
\bibliography{references}
\end{document}
  1. Create a .bib file (for example, references.bib).
  2. Add references with complete metadata (author, title, year, etc.).
  3. Cite entries in LaTeX with keys like \cite{Hemingway1952}.
  4. Compile:
    • BibTeX flow: latex -> bibtex -> latex -> latex
    • BibLaTeX/Biber flow: latex -> biber -> latex -> latex
  • Small syntax errors can break builds ({}, commas, or missing fields).
  • Reusing the same key for different references causes collisions.
  • Missing required fields can produce incomplete citations.
  • Running the wrong compile sequence leaves citations unresolved.
  • Editing .bib files by hand is error-prone.
  • Formatting and debugging references can be time-consuming.
  • Syncing .bib files across writing tools is often manual.
  • Collaboration increases duplicates and key conflicts.

Faster Alternative: Use a BibTeX Manager (e.g. CiteDrive)

Seção intitulada “Faster Alternative: Use a BibTeX Manager (e.g. CiteDrive)”