CorTeX DocsOpen CorTeX

Compile and preview LaTeX

Choose the main document, engine, TeX Live snapshot, and PDF preview workflow.

Open the menu for the entry .tex file and select Set as main document. Then choose Source, Split, or PDF and compile. Ordinary typesetting runs in the browser and updates the PDF preview.

Configure reproducible compilation#

Open Project actions to select automatic detection, pdfLaTeX, XeLaTeX, or LuaLaTeX. The engine choice is stored for this project in the current browser. To share it with coauthors, add a % !TEX program = xelatex comment to the main file. The project's TeX Live snapshot remains pinned until an owner or full-project editor changes it.

CorTeX runs the required bibliography and index steps for supported tools. When a document needs Biber or Xindy, it sends only the bounded inputs for that stage to an isolated service.

Use the preview#

Zoom, fit, invert colors, download the PDF, or click a location in it to jump to the corresponding source. If compilation fails, the preview keeps the last successful PDF, which does not reflect the current source. Start with the first error in the Problems panel, then continue with compile troubleshooting or preview performance tips.