# Tectonic

XeTeX\-derived typesetting engine with automatic support\-file retrieval and document builds\.

ID: Q893 · Revision: 941

Type: software · License: MIT; incorporated TeX components retain other open\-source licenses[^home] · Status: active

Website: https://tectonic-typesetting.github.io/en-US/



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\.[^home]

## 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\.[^home][^compile][^install]

## 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\.[^config]

## 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\.[^compile][^fonts]

## 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\.[^compile][^config]

## 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](/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\.[^install][^home][^miktex][^fonts]

## Capabilities and substitutions

### Automated TeX and BibTeX passes — supported

Automatically repeats processing as needed for a compiled document\.[^home]

Use case: Compile compatible TeX/LaTeX sources to PDF · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Offline compilation — limited

Only\-cached mode depends on required resources already being available locally\.[^compile]

Use case: Compile compatible TeX/LaTeX sources to PDF · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Unicode font use — limited

Modern fonts are supported, but the document must activate fonts covering its characters\.[^fonts]

Use case: Compile compatible TeX/LaTeX sources to PDF · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Untrusted input controls — limited

Untrusted mode disables known\-insecure features; it is not described here as a complete process sandbox\.[^compile]

Use case: Compile compatible TeX/LaTeX sources to PDF · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### [Substitute for MiKTeX](/miktex) — limited

Can replace the compilation portion of a MiKTeX setup for compatible documents; it does not replace its graphical package manager or included editor, and command invocations differ\.[^home][^fonts][^miktex]

Use case: Compile compatible TeX/LaTeX sources to PDF · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

## References

[^home]: [Tectonic overview](<https://tectonic-typesetting.github.io/en-US/>) — Automatic downloads, processing, library and licensing (vendor; retrieved 2026-10-07T13:35:17Z)

[^install]: [Installation guide](<https://tectonic-typesetting.github.io/book/latest/installation/index.html>) — Single executable, platforms and packages (vendor; retrieved 2026-10-07T13:35:17Z)

[^compile]: [Standalone compilation](<https://tectonic-typesetting.github.io/book/latest/v2cli/compile.html>) — Caching, output files, security and deterministic\-mode options (vendor; retrieved 2026-10-07T13:35:17Z)

[^config]: [Document configuration](<https://tectonic-typesetting.github.io/book/latest/ref/tectonic-toml.html>) — Bundle, output and input definitions (vendor; retrieved 2026-10-07T13:35:17Z)

[^fonts]: [Unicode and fonts](<https://tectonic-typesetting.github.io/book/latest/getting-started/unicode.html>) — Interface differences, font activation and missing glyphs (vendor; retrieved 2026-10-07T13:35:17Z)

[^miktex]: [MiKTeX overview](<https://miktex.org/about>) — Distribution, package management and editor (vendor; retrieved 2026-10-07T13:35:17Z)

Source revision: https://substitutefor.net/entities/Q893?revision=941
