Přeskočit na obsah

Průvodce BibTeX pro LaTeX - správa citací pomocí .bib souborů

BibTeX je klasický systém pro správu citací v LaTeXu. Záznamy jsou v souboru .bib, v textu se používají citační klíče a výstup formátuje zvolený styl.

BibTeX is a bibliography processor in the LaTeX toolchain. You keep references in a plain-text .bib file and cite them in your document using citation keys.

@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 references.bib.
  2. Add references with complete metadata.
  3. Cite in LaTeX with \cite{...}.
  4. Compile with either latex -> bibtex -> latex -> latex or latex -> biber -> latex -> latex.
  • Missing commas/braces in .bib.
  • Duplicate citation keys.
  • Missing required fields.
  • Wrong compile order.

Osvědčený postup: používejte správce BibTeX už od začátku

Section titled “Osvědčený postup: používejte správce BibTeX už od začátku”

Ruční editace je možná, ale u větších projektů rychle roste chybovost i čas na údržbu. Správce citací pomáhá držet konzistenci dat.

  • One-click import from browser sources.
  • Collaborative reference management.
  • Direct Overleaf integration without manual .bib syncing.
  • Cloud-based access from any device.
  • Beginner-friendly editing.
  • Supports BibLaTeX workflows.
  • Manual BibTeX: manual editing, error-prone, hard to sync.
  • CiteDrive: automated import, collaboration, seamless integration.
  1. Vytvoříte záznamy v .bib souboru.
  2. Citujete pomocí klíčů, např. \cite{Hemingway1952}.
  3. Kompilujete přes LaTeX/BibTeX a vygeneruje se bibliografie.
  • Malá syntaktická chyba může rozbít kompilaci.
  • Velké bibliografie se ručně špatně udržují.
  • V týmu vznikají duplicity a konflikty klíčů.

BibTeX je stále běžný, hlavně když šablony vyžadují .bst styly. BibLaTeX s Biberem nabízí lepší Unicode podporu, více polí a pokročilé možnosti třídění/lokalizace.