01 · Watch Pipelines
Four live-reload modes.
hoja notes.md --watch # Typst + cmarker + mitex (~100 ms warm)hoja paper.tex --watch # LaTeX via tectonic (incremental)hoja notes.typ --watch # Typst compile --root on savehoja document.pdf --watch # Immediate reload of an external PDF build| File type | Compiler | Notes |
|---|---|---|
| .md with $...$ / $$...$$ | typst + cmarker + mitex | Renders New Computer Modern math in ~100 ms warm; ideal for study derivations |
| .tex | tectonic | Incremental TeX builds; scroll position stays intact across reloads |
| .typ | typst compile --root | Compiles directly against project root so relative images and imports resolve |
| None (direct reload) | Pairs cleanly with make, latexmk, or custom build scripts |
02 · Prerequisites
Verify compilers with hoja doctor.
hoja doctorhoja doctor prints exact versions for typst and tectonic on your PATH. In Rex, the Cmd+Shift+P palette includes Hoja: Watch File (Live LaTeX / Markdown) to open a live watch split beside your editor.