TeLoX, a modular, fast LaTeX typesetting engine written in Rust, with an interactive browser-based scratchpad.
Raw Developer Origin & Technical Request
Hacker News
Sep 14, 2026
I am working on a very modular typesetting engine called TeLoX, intended as a superset of the capabilities (of at least) XeTeX and pdfLaTeX, written in Rust. The main goals are modularity and speed (which we know sometimes fight each other unless we try to be principled about it). Today I wanted to demonstrate these diegetic interactive sliders that control values within in LaTeX from the browser (kinda like marimo).This isn't meant to be a complete editor like quicklatex and texlyre -- just a tiny playground that loads quickly enough and responds interactively to see how good I can get the typing experience to be. Package support is the weakest link right now so lots of reasonable LaTeX you type up will fail. Increasing coverage fights against fast load times, and so I'll add some 'code splitting' -- I can make the editor dynamically fetch cached blobs for the most common $k$ packages and see how much time that buys me. After I add support for Lua or some other simple expression language, seems like you could make some really beautiful receipts/calculators fairly easily.The other interesting thing you'll notice is that clicking and dragging on text selects the associated input text really accurately, down to the word. I have an art project that I was working on that was blocked by this exact issue -- being unable to correctly attribute a click back to the exact word that generated it (essentially an interactive storybook, WYSIWYG computational notebook with diegetic inputs). That's now unblocked. I wanted to make a choose-your-own adventure game that takes place _in_ a book on the web.This whole thing is quite difficult, but I think it's worth it. I know it's an ambitious notion to bring arbitrary support for arbitrary LaTeX to arbitrary devices, but it feels like it's leading somewhere interesting.Desktop gives the best experience for now, and even still it loads slower than I'd like at ~2.5 sec on cold boot. I should probably default mobile to view mode. A PWA version, bookmarklet support for typesetting the current page, etc, all possible, not started yet. I'm most interested in optimizing my in-memory representation first, and if that's not enough, I'd make a lexical dependency tracker for the TeX interpreter under the hood and deal with mutations/overwriting in a sensible way, possibly svelte style. Like I said, a lot of work. Sharing now before my semester kicks in and my free time is gone. "Baby steps," as they say.
Developer Debate & Comments
No active discussions extracted for this entry yet.
Frequently Asked Questions
Market intelligence mapped to TeLoX, a modular, fast LaTeX typesetting engine written in Rust, with an interactive browser-based scratchpad..
What is the technical positioning of TeLoX, a modular, fast LaTeX typesetting engine written in Rust, with an interactive browser-based scratchpad.?
What is the general sentiment around TeLoX, a modular, fast LaTeX typesetting engine written in Rust, with an interactive browser-based scratchpad.?
Which technical concepts are associated with TeLoX, a modular, fast LaTeX typesetting engine written in Rust, with an interactive browser-based scratchpad.?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like Rust and marimo in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- Rust: 102 records
- marimo: 2 records
- modular typesetting engine: 1 records
- TeLoX: 1 records
- XeTeX: 1 records
- pdfLaTeX: 1 records
- diegetic interactive sliders: 1 records
- LaTeX from the browser: 1 records
- complete editor: 1 records
- quicklatex: 1 records
- texlyre: 1 records
- tiny playground: 1 records
- package support: 1 records
- code splitting: 1 records
- dynamically fetch cached blobs: 1 records
- Lua or other simple expression language: 1 records
- clicking and dragging on text selects the associated input text: 1 records
- interactive storybook: 1 records
- WYSIWYG computational notebook: 1 records
- diegetic inputs: 1 records
- arbitrary LaTeX to arbitrary devices: 1 records
- in-memory representation: 1 records
- lexical dependency tracker: 1 records
- TeX interpreter: 1 records
- svelte style: 1 records
- PWA version: 1 records
- bookmarklet support: 1 records
SaaS Metrics