Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
46 points
6 hours ago
| 5 comments
| tug.org
| HN
froh
5 hours ago
[-]
the purpose (from the paper):

> texlode, the browser-based book editor built on this architecture, is scheduled for public release in October 2026. It provides collaborative editing via conflict-free replicated data types (CRDTs), manu- script import from Word, proceedings management, cover design tools, and print-ready PDF output iden- tical to standard LuaLATEX. The accompanying con- ference talk demonstrates the editor in action. For details: texlode.com.

and also:

> (section) 6 Comparison to Typst

reply
zhxiaoliang
1 hour ago
[-]
Typst taking 300ms to do 300 pages cannot be seen as 4FPS - you don't treat the sum of 300 pages as single frame, LOL. And laying out a single paragraph is not 1ms for a whole document either. The paper is otherwise pretty good, but these rhetorics are probably not necessary, IMO.
reply
pama
58 minutes ago
[-]
It is no rhetoric. It is the time spent when working interactively on a thesis project with one software vs the other.
reply
mkl
3 hours ago
[-]
No mention of TikZ. Realtime TikZ would be really useful to me. I will wait and see what their https://texlode.com service is like for that.
reply
VorpalWay
5 hours ago
[-]
> Benchmarks show that per-paragraph recompilation achieves O(1) latency, constant regardless of document size, whereas Typst’s [3] incremental compilation scales linearly (O(n)).

> The tradeoff is temporary inconsistency: pages the user is not viewing may lag until a background compile converges, [...]

There doesn't seem to be any reason functionality like this couldn't also be added to Typst though. In general the authors of this paper seem dismissive of typst, but Typst also fixes so many other things about LaTeX, like the awful syntax. Not sure why they act like that.

reply
nicce
5 hours ago
[-]
> Not sure why they act like that.

They seem to launch paid competitor.

reply
mproud
2 hours ago
[-]
Personally, I am enjoying using Typst.
reply
astrobiased
2 hours ago
[-]
Same, so much in fact that I have used it for my website now and it works beautifully for graphics and formulas.
reply