188 points · 105 comments · 1 month ago · atilimcetin
ratex.lites.devHendrikto
azverev
Most "matches KaTeX" claims I've seen in the wild rely on screenshot eyeballing, which collapses on edge cases like spacing primes, integral subscripts, and matrix delimiters that scale.
One thing I'd be curious about: how are font fallbacks handled when the same Rust core ships to platforms with different system font availability?
KaTeX bundles fonts and assumes they load cleanly; CoreGraphics and Skia bring their own glyph caches and metrics.
Does the display list carry metric snapshots from the host text shaper, or does the core compute layout from a bundled metric file independent of the backend?
tabbott
The webpage also does read like it was at least heavily LLM assisted, which makes it a bit hard to trust it.
That all said, this is definitely something I'd be interested in using for Zulip if is indeed going to be a well maintained open source project.
(We currently have a node server component that the Zulip server runs only the render LaTeX).
thangalin
[1]: https://keenwrite.com/screenshots.html
xworld21
Is accessibility anywhere on the roadmap for RaTeX?
TheRealPomax
eXpl0it3r
But the native and library nature of RaTeX is very interesting, especially with the provided C ABI.
nixpulvis
Just thought I'd mention since it's related and I really like the project.
DominikPeters
IshKebab
Rochus
umvi
mrichman
jedberg
I guess it shows how everyone loves but hates LaTeX and is always trying to bolt on that one last thing that will make it good.
marvinified
Piterniel
JS bundle (typical) 0 kB JS (core is WASM)
I guess you should mention how much is WASM, right?
[deleted]
colechristensen
flakiness
JS bundle (typical) 0 kB JS (core is WASM)
Hello?
Trolling aside, I found this kind of Rust-powered typeset modernization promising. I used Typst and liked it. This one would have its own niche too.
ceayo
danborn26
There are probably good reasons for all of that, but it is just both bad DX and bad UX. It feels like you need to be a hardcore LaTeX expert or consult with one, in order to accomplish the most mundane things. Especially in a reliable way, that won’t break upon making seemingly unrelated changes, or won’t break other things itself.
I used Typst for a few weeks. It already feels much more understandable, consistent, hackable, and customizable. I guess that is the difference between an ad hoc macro system and an actually thought through programming language.
The only drawback I can see is the ecosystem being smaller and less mature. That is, however, counteracted by being able to do things on your own, without immersing yourself deeply in LaTeX for years. Also, it will improve with time.
LaTeX is great, don’t get me wrong. But its heritage and historical baggage is really dragging it down.