Core Troubleshooting Guides
- Fixing compilation errors
- Emergency stop: no legal \end found, file error in nonstop mode
- Chinese font not found with ctex (Font unisong30)
- Warnings explained: overfull, underfull, lost floats
- Missing packages
- Bibliography build errors
- Image and path errors
- Compiler and engine errors
- Float and placement issues
Errors or Warnings?
An error stops the compile. A warning does not — you still get a PDF, and TeX is reporting a layout compromise. If your document compiled but something looks wrong, start with warnings explained.Fast Triage
- Identify the first error line in logs.
- Confirm compiler (
pdflatex,xelatex, orlualatex). - Isolate with a minimal reproducible example.
- Recompile after each single change.
