feat(presets): add tectonic preset

Adds a tectonic preset for the modern Rust-based LaTeX engine, which
auto-downloads packages and requires no TeX installation. Reuses
parse_latexmk since tectonic emits the same file:line: message
diagnostic format.
This commit is contained in:
Barrett Ruth 2026-03-04 13:53:01 -05:00
parent 8ebe2ed80b
commit 3a3a0783e8
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 68 additions and 0 deletions

View file

@ -158,6 +158,7 @@ Import them from `preview.presets`:
`presets.typst` typst compile → PDF
`presets.latex` latexmk -pdf → PDF (with clean support)
`presets.pdflatex` pdflatex → PDF (single pass, no latexmk)
`presets.tectonic` tectonic → PDF (Rust-based LaTeX engine)
`presets.markdown` pandoc → HTML (standalone, embedded)
`presets.github` pandoc → HTML (GitHub-styled, `-f gfm` input)