Tectonic XeTeX-derived typesetting engine with automatic support-file retrieval and document builds.
Overview Tectonic is an open-source TeX/LaTeX typesetting engine derived from XeTeX. It combines PDF compilation with automatic retrieval of support files and repeated TeX/BibTeX processing. Its command-line tool and embeddable library provide a different deployment model from a conventional full TeX installation.[1]
Contents Build model Tectonic's default workflow retrieves support files as required and runs the typesetting and bibliography passes needed to finish the document. Intermediate files are normally omitted from output, while compilation options allow retaining logs or auxiliary files when an editor, submission process or diagnosis requires them. A single executable simplifies deployment, but automatic retrieval still involves external resources unless the needed files are locally available.[1] [2] [3]
Bundles and project definitions The newer project interface uses a Tectonic.toml file to identify the document, support-file bundle and named outputs. A bundle can be referenced by URL or local path, and inputs can combine multiple source files. This makes the resource selection explicit rather than assuming that every machine has the same evolving package installation. The configuration also controls optional SyncTeX output and shell-escape behavior.[4]
Offline use and source compatibility An only-cached compilation option restricts resource use to the local cache; it does not make an uncached dependency available offline. Tectonic's command interfaces differ from traditional tools such as pdflatex. Unicode input and OpenType fonts are supported, but appropriate fonts must be selected: accepting UTF-8 source does not guarantee that the active font contains every requested glyph.[3] [5]
Processing trust Compilation normally allows the caller to opt into potentially dangerous features, although shell escape is not enabled by default. Untrusted mode prevents those features from being enabled through other settings. This is a documented restriction on engine functionality, not evidence of complete isolation from an untrusted surrounding script or environment. Workflows using external commands must also account for their availability and portability.[3] [4]
Availability, license and replacement The project documents Windows, macOS and Linux installation routes. Its code uses the MIT license, while incorporated TeX components have their own open-source terms. Tectonic can replace the PDF-compilation portion of MiKTeX for compatible sources, but changing engines does not carry over MiKTeX Console or the bundled editor. The substitution depends on the document's packages, font choices and build commands, rather than the shared LaTeX label alone.[1] [2] [5] [6]
References Tectonic overview Automatic downloads, processing, library and licensing
vendor · retrieved 2026-10-07 Installation guide Single executable, platforms and packages
vendor · retrieved 2026-10-07 Standalone compilation Caching, output files, security and deterministic-mode options
vendor · retrieved 2026-10-07 Document configuration Bundle, output and input definitions
vendor · retrieved 2026-10-07 Unicode and fonts Interface differences, font activation and missing glyphs
vendor · retrieved 2026-10-07 MiKTeX overview Distribution, package management and editor
vendor · retrieved 2026-10-07 Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.