ai assistant
Error Fixing
Automatically diagnose and fix compilation errors.
Automatic Error Detection
When compilation fails, the AI can:
- 1Read the compile logs to understand the error
- 2Identify the file and line causing the issue
- 3Propose a fix
- 4Apply it with your approval
Common Fixes
The AI handles a wide range of LaTeX and Typst errors:
- Missing packages — suggests the correct
\usepackagecommand - Syntax errors — fixes mismatched braces, missing
\end{}tags - Undefined commands — suggests alternatives or package imports
- Bibliography errors — fixes BibTeX key references
- Typst errors — corrects function calls and syntax
How to Use
After a failed compilation, you can either:
- 1Ask in chat: "Fix the compilation error"
- 2Click the error in the compile logs — the AI will automatically offer to fix it
Was this helpful?
