CorTeX DocsOpen CorTeX

Keep LaTeX preview fast

Use snapshots, stable preambles, checkpoints, and cached figures effectively.

The first compile downloads the engine and required TeX Live files. Later opens can prefetch files the project has used. On supported profiles, an eligible edit can resume from a prepared checkpoint near the changed source instead of starting over.

Preserve the fast path#

CorTeX reuses downloaded files and incremental checkpoints whenever it is safe. Changes to the preamble, labels, citations, engine, profile, dependencies, or project structure can require a full compile. Keep the preamble focused and avoid unnecessary package churn, but make the source changes the paper needs. Projects created from templates already declare their expected package set.

Handle heavy figures#

For eligible documents, CorTeX can compile and cache TikZ or pgfplots figures separately through TikZ externalization. Unsupported patterns automatically remain inline. Add % !WASMTEX tikz-externalization = off to the main file when externalization is incompatible; later compiles may be slower. Diagnose repeated full builds or unexpected fallbacks with LaTeX compile problems.