Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Tectonic

$ tectonic Community Low Risk
Tectonic · Design & Docs · MIT · macos / linux / windows

Tectonic is a modernized, XeTeX-derived typesetting engine written in Rust. Unlike traditional TeX Live workflows that require manual multi-pass runs for BibTeX and cross-references, tectonic -X compile automatically reruns passes until convergence and downloads only the required style packages on demand.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install tectonic
CLI vs MCP Decision CLI Only

Local LaTeX-to-PDF compilation is a file-system build task best invoked directly with tectonic -X compile rather than over MCP.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Single-command -X compile automatically handles multi-pass LaTeX/BibTeX resolution and exits non-zero on failure without interactive prompts, though diagnostic output is plain text rather than JSON.

  • Automatic multi-pass convergence eliminates manual pdflatex + bibtex loops
  • Plain-text diagnostics with no --json output flag
Trust & Safety 20 / 25

Lacks pdflatex-style --shell-escape execution by default and supports --only-cached to block network access, though normal runs fetch bundle assets over HTTPS.

  • --only-cached (-C) enforces offline cache-only builds
Setup & Portability 14 / 15

Single Rust binary available via brew install tectonic, Cargo, and release archives, avoiding multi-gigabyte TeX Live installations.

  • No multi-gigabyte TeX Live upfront download required
Utility & Efficiency 14 / 15

Drastically cuts agent build boilerplate for existing .tex codebases by automating package resolution and multi-pass compilation.

  • Drop-in XeTeX-compatible compilation with automatic package fetching
Maintenance & Lineage 8 / 10

Active community-maintained project (tectonic-typesetting/tectonic) under the MIT license.

  • Open-source MIT repository on GitHub
Docs & Verifiability 8 / 10

Well-structured Tectonic book documenting V2 (-X) subcommands, caching, and CLI flags.

  • Official Tectonic V2 book documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; caches downloaded TeX Live bundle files locally on disk.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and MIT open-source; only fetches public TeX bundle assets on first use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Tectonic Agent Rules
- Always specify `--outdir <dir>` so generated PDFs and auxiliary files stay isolated.
- Pass `--only-cached` (`-C`) in air-gapped sandboxes or CI checks after the cache is warmed.

Agent-Ready Command Recipes

Safe Read-Only Queries

Compile using only cached TeX packages
tectonic -X compile main.tex --only-cached --outdir /tmp/tectonic-check

Validates and builds main.tex into a scratch --outdir with --only-cached so no network fetches or repo writes occur.

Controlled Writes & Previews

Compile LaTeX source to a build directory
tectonic -X compile main.tex --outdir build

Auto-resolves references and writes the generated PDF into build without cluttering the source directory.

Strengths for Agents

  • + Single-binary Rust TeX engine eliminates multi-gigabyte TeX Live setups and manual multi-pass reruns.
  • + --only-cached enables deterministic offline builds once packages are cached.
  • + --outdir keeps generated PDFs separated from source files.

Caveats & Pitfalls

  • ! First-time compilation of new packages requires network access unless --only-cached is already primed.
  • ! No --json diagnostic output; build errors are emitted as plain text.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI