Skip to content
r.

realtime-tex

HenryXiaoYang/realtime-tex · Public GitHub repository

Realtime TeX: re-typesets only the paragraph you edit in ~1 ms with an unmodified LuaTeX. Exact, embeddable.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

realtime-tex live demo screenshot
Captured from the live demo · 2026-11-12

About this project

Author-written excerpt from the project README.

rtex is a library for editors. When you type, it re-typesets only the paragraph you are editing, using a LuaLaTeX process that has already loaded your preamble, and hands the editor the new lines to draw. A full compile runs in the background and takes care of what really is global: page breaks, floats, the table of contents, references and bibliographies.

The result is exactly what LuaLaTeX produces: the same line breaks, the same glyphs, at the same positions to 1/65536 pt. rtex uses an unmodified LuaTeX from TeX Live, and exported PDFs are identical to a normal LuaLaTeX build.

The approach follows Clemens Lode, Real-Time LuaTeX: Recompiling Large Documents in 1 ms (TUG 2026).

Requirements and intended audience

rtex is a library for editors. When you type, it re-typesets only the paragraph you are editing, using a LuaLaTeX process that has already loaded your preamble, and hands the editor the new lines to draw. A full compile runs in the background and takes care of what really is global: page breaks, floats, the table of contents, references and bibliographies.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/HenryXiaoYang/realtime-tex/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-03. Saved release: v0.0.4 · 2026-10-12. These dates do not guarantee ongoing maintenance.

Technologies
Rust
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories