hn.today

PhiTeX: Fast Live Incremental TeX Engine

github.com5 points0 comments
Screenshot of PhiTeX: Fast Live Incremental TeX Engine

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.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Aristotle Expands into Rust

Aristotle Expands into Rust

Aristotle has expanded its formal verification platform to Rust, allowing developers to prove code meets specifications and contains no undefined behavior, including in unsafe blocks. It can also verify that Rust rewrites behave like their original C code, targeting critical software such as smart contracts and infrastructure. (harmonic.fun)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.