Fixing common BibTeX and biblatex errors

By the Manulyx team · Published 15 October 2026

Bibliography errors are confusing because they come from a separate program, run at a separate moment, and are reported in a separate log. Most of them become simple once you know which step produced them. This guide explains the steps, then goes through the messages people search for most often, quoted as BibTeX, biber and LaTeX print them, with the fix for each.

How a bibliography gets into the PDF

LaTeX does not read your .bib file. On the first pass it writes the keys you cite to an auxiliary file (.aux for BibTeX, .bcf for biblatex with biber). BibTeX or biber then reads those keys and the .bib file, and writes the formatted list to a .bbl file. The next LaTeX pass reads the .bbl, and a final pass puts the right numbers or names into the text:

pdflatex paper
bibtex paper        # or: biber paper
pdflatex paper
pdflatex paper

latexmk -pdf paper.tex runs this sequence for you, as many times as needed, and chooses biber when the document uses biblatex. When something is wrong, the bibliography program’s own log, paper.blg, usually says what.

“Citation undefined” and [?] in the PDF

LaTeX Warning: Citation `smith2020' on page 1 undefined on input line 5.

With natbib the same warning begins Package natbib Warning. Either BibTeX or biber has not run since you added the citation, or the key does not match an entry. Run the full sequence above. If the warning stays, look in the .blg, where BibTeX reports Warning--I didn't find a database entry for "smith2020". Check the key letter for letter against the .bib, and check that the entry itself was not skipped because of an error further up the file.

“I found no \citation commands”

BibTeX prints this when the .aux file holds no citations. There are two usual causes:

On their own, “I found no \bibstyle command” means \bibliographystyle is missing, and “I found no \bibdata command” means \bibliography is missing.

BibTeX or biber

A document with \usepackage{biblatex} uses biber by default, and until biber has run the log says:

Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                paper
(biblatex)                and rerun LaTeX afterwards.

The opposite mistake, running biber on a document that uses BibTeX, gives ERROR - Cannot find 'paper.bcf'!, because only biblatex writes that file. natbib and biblatex cannot be loaded together: Package biblatex Error: Incompatible package 'natbib'. To keep natbib’s \citet and \citep with biblatex, use its natbib=true option instead of loading natbib.

A missing .bib, .bst or .bbl

Duplicate keys

BibTeX reports Repeated entry---line 10 of file refs.bib; biber reports WARN - Duplicate entry key: 'smith2020' in file 'refs.bib', skipping .... Both keep the first entry with that key and ignore the later one, which may be the one you corrected. Merge the two, or give the second its own key.

Capitals, special characters and names

URLs, DOIs and @misc

The classic BibTeX styles, such as plain, ignore the url and doi fields entirely. natbib’s plainnat prints both, as do most journal styles. With a style that ignores them, put the address in howpublished and load the url or hyperref package. With biblatex, use @online for web pages; a doi field is printed by default.

% BibTeX, with a classic style
@misc{who2024,
  author       = {{World Health Organization}},
  title        = {Global report on an example topic},
  howpublished = {\url{https://example.org/report}},
  note         = {Accessed 1 October 2026},
  year         = {2024}
}

% biblatex
@online{who2024,
  author  = {{World Health Organization}},
  title   = {Global report on an example topic},
  url     = {https://example.org/report},
  urldate = {2026-10-01},
  year    = {2024}
}

Style mismatches

natbib’s author–year commands need a style that supplies author names. With plain, \citet prints “(author?) [1]” and the log says Author undefined for citation. Use plainnat or the journal’s own natbib-compatible style; with biblatex, choose the style with its style= option. If the bibliography still looks stale, delete the generated files (.aux, .bbl, .bcf, .blg) and compile again; latexmk -C removes them, the PDF included.

Doing it in Manulyx

Manulyx compiles with latexmk, so BibTeX or biber and the extra passes run as needed, and Recompile from scratch ignores the previous build. Errors and warnings appear in the Problems list; an error in a file BibTeX wrote opens that file, with a note to fix the entry in your .bib. Typing \cite{ lists the keys in your .bib files with their authors and year, so a misspelt key is less likely. The References panel finds a paper in your library or at Crossref by DOI, title or author, adds its entry to the .bib file your manuscript names and cites it, and your library keeps the same key for that paper in every project. Submission readiness checks that every citation resolves, that there are no unused or duplicate entries, and that journal articles carry a DOI. See Citations and cross-references, Your reference library, Compiling, errors and the PDF and Troubleshooting.