Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
11–20 of 24 posts
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#12This is great but I feel like the potential is underused. I know its a lot of work but I think we all could desperately use an interactive LaTeX notebook instead of limiting it to only the PDF backend and this work helps a lot with achieving that endeavour. Though it'll be limited to LuaTeX, it'll still be quite something.
The experience was just like using Word, but with LaTeX.
Unfortunately not the kind of stuff the vi and emacs folks care about.
Although LyX comes close.
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#13> 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…
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#14> 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…
If I have to guess it's because the temporal inconsistency tradeoff can actually affect the current page too, since it might depend on the previous pages for layout, references, etc etc.
Typst on the other hand aims to have no inconsistencies due to incremental compilation.
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#15Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#16[0]: https://www.youtube.com/live/6riWbnT0grs?si=zIePpHrC6TEZpc_I... (starts at 2:52:46) [1]
[1]: Once the conference is over, I'll separate each presentation out into separate videos, but I'm busy at the moment with filming the current presentations :).
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#17unfortunately the pdf itself has some typesetting issues. Whats about all those overflowing boxes and the small black boxes all over the document?
[0]: https://tug.org/tug2026/program.html#:~:text=Clemens%C2%A0Lo...
[1]: https://tug.org/tug2026/cfp.html#preprints
[2]: https://tug.org/TUGboat/#:~:text=vol%2E47%2C%20no%2E2%20%28T...
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#18Looks like layout/format of this PDF is heavily broken - line overflows and out of the context/layout line at the end...
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#19> 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…
Correct, and the paper author even suggested that they could add that in their presentation earlier today [0].
> 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.
Well this was a presentation at a (La)TeX conference [1], and this is a preprint for a (La)TeX journal [2], so this specific audience is more interested in hearing about extensions to LaTeX than about Typst. (This certainly isn't a requirement though—we've happily accepted articles and presentations about non-TeX software, since we always like to hear about what's going on elsewhere)
[0]: https://www.youtube.com/live/6riWbnT0grs?si=2ls7VrAIE9WCU5kK... (starts at 3:12:09)
Re: Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]
#20No 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.
> 3:27:36 @lodepublishing : I have tested tikz but not yet tcolorbox. TikZ works, with some wiring.
But a different tool was posted here a few weeks ago with real-time support for TikZ [1] if you're interested in something that you can use immediately.