Scriptora AI Docs
Compilation

Errors & Warnings

Understand, navigate, and fix LaTeX compilation errors.

Error panel

After every compilation the Error panel appears below the PDF preview. It shows:

  • Errors (red) — compilation failed; PDF may not be generated
  • Warnings (amber) — compilation succeeded but something needs attention
  • Info (blue) — informational messages from LaTeX packages

Click any error line in the panel to jump directly to the offending line in the editor. The editor gutter shows a red dot next to every line with an error.

Common errors

Error messageCauseFix
Undefined control sequenceTypo in command or missing \usepackageCheck spelling; add the required package
Missing $ insertedMath command used outside math modeWrap in $...$ or \(...\)
File not foundMissing .bib, figure, or .cls fileCheck the filename and path
Citation undefinedBibTeX key not in .bib fileAdd the entry or fix the cite key
Missing \begin{document}Preamble issueCheck for stray characters before \begin{document}
Extra }, or forgotten $Mismatched braces or $Count opening and closing braces

AI-powered error fixing

After a failed compile, click Fix errors with AI in the error panel. The AI reads the full error log, identifies the root cause, applies a targeted fix, and recompiles.

You can also just type in the chat:

"Fix the compilation errors"

The AI will compile, read the log, and fix the issues in a single pass.

Suppressing warnings

Some warnings like Overfull \hbox are harmless and very common. You can suppress them by adding to your preamble:

\hbadness=10000
\vbadness=10000

Only do this after you are done with layout; it hides real layout problems too.

On this page