Skip to main content
Use this hub to find the right fix path for your compilation issue.

Core Troubleshooting Guides

  • Common LaTeX errors — Missing $ inserted, Undefined control sequence, Missing \begin{document}, Runaway argument, and other fatal syntax errors.
  • Emergency stop — ! Emergency stop, *** (job aborted, no legal \end found), and file errors in nonstop mode.
  • Warnings explained — Underfull \hbox (badness 10000), Overfull \hbox, Underfull \vbox, undefined references, multiply-defined labels, and font or float warnings.
  • Missing packages — File `x.sty' not found, missing .cls class files, and Option clash for package.
  • Compiler and engine errors — fontspec under pdfLaTeX, Unicode character ... not set up for use with LaTeX, and choosing pdflatex, xelatex, or lualatex.
  • Chinese font not found with ctex — Font unisong30 at 632 not found and Fandol font errors in Chinese ctex documents.
  • Image and path errors — File not found, Cannot determine size of graphic (no BoundingBox), and unknown graphics extensions.
  • Bibliography build errors — Undefined citations, empty bibliographies, and BibTeX or Biber build failures.
  • Float and placement issues — Figures and tables jumping pages, Too many unprocessed floats, and Float too large for page.

Errors or Warnings?

An error stops the compile. A warning does not — you still get a PDF, and TeX is reporting a layout compromise, an unresolved reference, or a substituted font. If your document compiled but something looks wrong, start with warnings explained.

Fast Triage

  1. Identify the first error line in the log.
  2. Confirm the compiler (pdflatex, xelatex, or lualatex).
  3. Isolate the failing lines in a minimal reproducible example.
  4. Recompile after each single change.

Try it in the editor

Start from the Basic Article template in LaTeX Cloud Studio to isolate and test a failing snippet on TeX Live 2026.