LaCorTeX
DocsCitations

Fixing broken \cite

Find every citation with no matching entry, then fix them from the log or hand the list to the agent.

3 min readUpdated 22 November 2026

A citation with no matching entry does not stop the build. LaTeX prints a bold [?] in the PDF and carries on, which makes it easy to submit one by accident.

1What a broken citation looks like

LaTeX Warning: Citation `vaswani2017' on page 3 undefined on input line 88.
The warning TeX writes for each missing key.

2Find them all at once

Compile with ⌘ ↩ and open the problems list from the status bar. Repeated warnings fold into one group called Undefined citations. Expand it to see every key, and click a row that names a line to go to it.

Compile again before you trust the list
Citations resolve over several passes. If the list looks wrong straight after you changed the bibliography, build once more.

3The usual causes

  • A typo in the key. Keys are case-sensitive.
  • The entry is in a file LaTeX is not reading. Check the name in \bibliography{...} or \addbibresource{...}.
  • A syntax error in the .bib file, such as a missing comma or brace.
  • The entry was never added. Add it by DOI or arXiv id from the palette.
  • The project uses Biber. Biber is not bundled. Use backend=bibtex or include a prepared .bbl file.

On Pro, Fix in Chat in the log panel sends the errors of a failed build to the agent. For a build that succeeded with warnings, ask in the chat with ⌘ J and name the keys. Check any reference it adds against the source paper.

4Avoid them while typing

Inside \cite{, the editor completes keys from every .bib file and inline \bibitem in the project, showing the author and year. Picking from the list means the key cannot be mistyped.

Previous
← BibTeX or thebibliography
Next
Reading compile errors →