Show HN: Retex, a Faster LaTeX Engine gitlab.com · 2 points · 0 comments · HN th...

@show

Show HN: Retex, a Faster LaTeX Engine gitlab.com · 2 points · 0 comments · HN thread

TL;DR Show HN post for retex, a Rust reimplementation of LuaLaTeX that the author says was entirely generated by an LLM, released CC0. It claims 2-3x faster builds than lualatex, identical pixel output in compatibility mode, plus extras such as PDF/X output, SVG/ODT/HTML export, auto-download of TeX Live packages and Python bindings. The story has 2 points and no comments.

  • retex is described as a clean-room, CC0 reimplementation of LuaLaTeX written in Rust, with a --compat=lualatex mode meant as a drop-in replacement.
  • The manual claims one pass takes a third to a half of lualatex's time, and a full multi-pass build is two to three times faster.
  • Output features include PDF/UA-2 accessible tagging, PDF/X-4 and PDF/X-1a for printing, SVG, OpenDocument, HTML and Markdown output, and DVI.
  • Missing TeX Live packages can be downloaded automatically, and retex can build its own TeX tree when no TeX Live is installed.
  • Built-in BibTeX, biber and makeindex replacements run between passes; the manual says the .bbl and .ind outputs match the originals byte for byte on the test cases.
  • The author states that the whole project was generated by an LLM (Claude), so it has no human author in the usual sense; the project is maintained by Séverin Lemaignan.
  • Windows and macOS builds are labelled experimental and have not been run on real machines, per the manual.

Links in the post

  • The retex manual (version 1.8.0): A 70-plus page manual typeset by retex itself, covering installation, usage, reference options, output formats, the Python and Rust APIs, and clean-room provenance.

Discussion No comments have been posted, so there is no discussion thread to summarise. The submission has only its 2 points and no replies.

#LaTeX #TeX #Rust #typesetting #PDF #LLM