substitutefor

software · Q893

Tectonic

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

Suggest a correction

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]

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]

Capabilities & limitations

Automated TeX and BibTeX passes

supported

Automatically repeats processing as needed for a compiled document.[1]

Compile compatible TeX/LaTeX sources to PDF · Windows, macOS, Linux · Version, build and integration requirements apply

1 source · check evidence
https://tectonic-typesetting.github.io/en-US/

Automatic downloads, processing, library and licensing

vendor · checked 2026-10-07

Offline compilation

limited

Only-cached mode depends on required resources already being available locally.[3]

Compile compatible TeX/LaTeX sources to PDF · Windows, macOS, Linux · Version, build and integration requirements apply

1 source · check evidence
https://tectonic-typesetting.github.io/book/latest/v2cli/compile.html

Caching, output files, security and deterministic-mode options

vendor · checked 2026-10-07

Unicode font use

limited

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

Compile compatible TeX/LaTeX sources to PDF · Windows, macOS, Linux · Version, build and integration requirements apply

1 source · check evidence
https://tectonic-typesetting.github.io/book/latest/getting-started/unicode.html

Interface differences, font activation and missing glyphs

vendor · checked 2026-10-07

Untrusted input controls

limited

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

Compile compatible TeX/LaTeX sources to PDF · Windows, macOS, Linux · Version, build and integration requirements apply

1 source · check evidence
https://tectonic-typesetting.github.io/book/latest/v2cli/compile.html

Caching, output files, security and deterministic-mode options

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

MiKTeX for Compile compatible TeX/LaTeX sources to PDF

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.[1][5][6]

Windows, macOS, Linux · Version, build and integration requirements apply

References

  1. Tectonic overview

    Automatic downloads, processing, library and licensing

    vendor · retrieved 2026-10-07
  2. Installation guide

    Single executable, platforms and packages

    vendor · retrieved 2026-10-07
  3. Standalone compilation

    Caching, output files, security and deterministic-mode options

    vendor · retrieved 2026-10-07
  4. Document configuration

    Bundle, output and input definitions

    vendor · retrieved 2026-10-07
  5. Unicode and fonts

    Interface differences, font activation and missing glyphs

    vendor · retrieved 2026-10-07
  6. MiKTeX overview

    Distribution, package management and editor

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
9412026-10-13 14:00:13/* wbeditentity-create-item:0| */ sf:83b0cbeb-3b00-4e0f-8f03-5b68dd1647f8:v1 | Add Tectonic with bundle, offline, command-line and security qualifications. | attribution: /proposals/83b0cbeb-3b00-4e0f-8f03-5b68dd1647f8