The Tectonic Typesetting System
The tectonic crate delivers a modernized, complete, self-contained
TeX/LaTeX
engine, powered by XeTeX and
TeXLive. It provides a CLI and ties together the
functionality of a large collection of sub-crates.
- User Website
- The Tectonic Book
- Installation of the CLI
- Detailed Build Instructions
- API Documentation
- Issues
- Changelog
Building Tectonic
The Tectonic crates collectively depend on a relatively large number of third-party libraries. See the Book’s build instructions for a listing and guidance on setting up the build.
The crate build can be customized with the following Cargo features:
external-harfbuzz: build against an external version of the Harfbuzz text shaping library, rather than a vendored version (the default)geturl-curl: use the curl crate to implement HTTP requests. In order for this to take effect, you must use--no-default-featuresbecausegeturl-reqwestis a default feature and it takes precedencegeturl-reqwest: use the reqwest crate to implement HTTP requests (enabled by default)native-tls-vendored: if using reqwest, activate thevendoredoption in the native-tls crate, causing OpenSSL to be vendored
The Book describes some less-used features and provides a bit more detail.
Sub-crates
The main tectonic crate ties together the functionality of a number of
sub-crates:
tectonic_bridge_coretectonic_bridge_flatetectonic_bridge_freetype2tectonic_bridge_graphite2tectonic_bridge_harfbuzztectonic_bridge_icutectonic_bundlestectonic_cfg_supporttectonic_dep_supporttectonic_docmodeltectonic_engine_bibtextectonic_engine_xdvipdfmxtectonic_engine_xetextectonic_errorstectonic_geturltectonic_io_basetectonic_pdf_iotectonic_status_basetectonic_xdvtectonic_xetex_layout