Compile engines
Every project compiles with one TeX Live engine: pdfLaTeX, XeLaTeX or LuaLaTeX. New projects use pdfLaTeX. An editor changes it in Settings → Project → Compiler, and the choice is shared by everyone in the project.
What runs
The production compiler runs latexmk with TeX Live 2025:
-pdf, -pdfxe or -pdflua. latexmk runs BibTeX, biber and makeindex as the
document needs them. The image installs scheme-medium plus the latexextra and
bibtexextra collections, so biblatex, biber, cleveref and titlesec are there.
A package outside that set fails the build with TeX's usual "File not found".
Local development uses the packages in texlive/texlive:latest-medium.
Documents cannot run commands. Shell escape is off, latexmkrc files in the
project are ignored (-norc), and TeX writes only inside the project. Each
compile runs as its slot's own account, so it cannot read another project.
Tectonic compiled projects before this. Old build records keep tectonic as
their engine in telemetry.
How the choice reaches a build
The project.engine column holds the choice. The compile route reads it from
the project row it already locks for access and sends it to the build
coordinator with the sources. The browser never sends an engine. An AI
assistant compile goes through the same route.
The coordinator saves the engine with the build, so a retry or a resync after a
restart compiles with the engine the build was accepted with. The compiler
manifest carries it as engine.
Caches
A build cache only helps the engine that wrote it. Three checks keep them apart:
- The coordinator sends a cached build only when the last build ran the same engine. Otherwise the build is clean.
- The compiler drops a slot's cache when the engine changes.
- Every cache archive starts with an entry that names its engine. The compiler restores nothing from an archive for another engine, or from one that names none, such as a Tectonic-era archive.
So the first build after a switch starts from scratch, and so does the first build after switching back.