Compiling
What happens when you press the key, why the second build is faster, and what happens on an error.
Press ⌘ ↩ to build the main document. There is no compile server, no queue and no compile limit on any plan.
1On your machine
LaCorTeX runs a TeX Live 2026 engine inside the app, using pdfLaTeX by default. You do not need a TeX installation, and your sources are not uploaded to build them. The network is used only to fetch a package the first time a document needs it.
2Cold and warm builds
The first build of a document loads the engine and reads every package in the preamble. LaCorTeX then keeps a compiled copy of that preamble, so later builds skip straight to your text. Changing the preamble, or a file it reads, makes the next build a cold one.
3Several passes, one key
Cross-references, tables of contents and citations need more than one LaTeX run. The compiler runs the extra passes and BibTeX for you when the document needs them.
4When a build fails
- The build stops at the first error, so one typo means no new PDF.
- Your last good PDF stays on screen, labelled Last successful PDF, so you do not lose your place.
- The problems list names the error and, where it can, links to the line.
The article on reading compile errors covers the messages you are most likely to see.
5Compiling after agent edits
By default the agent does not trigger a build. To build once at the end of each turn that changed a file, open Settings with ⌘ ,, go to Compilation, and turn on Auto-compile after agent edits.