PhiTeX is a Rust-based TeX engine designed to make document editing feel live: it rebuilds a PDF as the author types or saves, while aiming to produce exactly the same output as pdfTeX. Its central argument is that TeX compilation need not restart from the beginning after every change. PhiTeX divides a document into pieces such as paragraphs, tables, and displays, tracks which definitions and values each piece uses, and reruns only affected pieces and downstream dependents. It also tracks generated files, including auxiliary data, contents, bibliographies, and indexes, so references and related outputs can settle in one build rather than requiring repeated runs.
The project reports byte-for-byte comparisons with pdfTeX 1.40.29, including generated PDFs and auxiliary files, and says results remain identical across thread counts. It supports parallel builds, BibTeX, biber, makeindex, SyncTeX, and error reporting, with browser-based live viewing and integrations for Overleaf, VS Code, Neovim, Emacs, and other LSP editors. It can use an installed TeX Live setup or download packages as needed; documents can remain local and offline. The command-line tools provide both live watching and conventional builds. PhiTeX is explicitly in alpha, so frequent changes and unsupported cases are expected; its AGPL-3.0-only license and testing guidance are also specified.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.