Top
Best
New

Posted by atilimcetin 5 days ago

RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust(ratex.lites.dev)
181 points | 97 commentspage 2
umvi 2 days ago|
We recently switched from Node.js + Mathjax for rendering latex to Goja (https://github.com/dop251/goja) + Mathjax, and surprisingly it worked really well. We did this because the app is already 99% golang, and this allows us to eliminate the remaining non-go pieces, greatly simplifying the SBOM. And yes, we tried go-latex, but it's not nearly as feature complete as Mathjax. Not to mention using goja + Mathjax adds 10MB to binary size while Node.js adds 200MB+
mrichman 2 days ago||
I switched to Typst a year ago and never looked back
jedberg 2 days ago||
I don't know why but this chain amuses me: RaTeX -> KaTeX -> LaTeX.

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.

blenderob 2 days ago|
Aren't these 3 different implementations with totally different use cases? Katex is latex-like implementation for web. Ratex is really 'rewrite katex in rust'. I don't understand what is getting "bolted on" to what here.
marvinified 2 days ago||
Interesting! Would love to see how RaTeX evolves.
Piterniel 2 days ago||
> JS bundle (typical) 0 kB JS (core is WASM)

I guess you should mention how much is WASM, right?

colechristensen 2 days ago||
Anybody embed it in a markdown renderer yet?
IshKebab 1 day ago||
I wish it was standard for projects to say the extent to which they were vibe coded, in the same way that they give a license.
flakiness 2 days ago||
> 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 2 days ago|
I'm sorry but the only thing that truly understands TeX, is, and will forever be, TeX.
flossly 1 day ago|
And 64kb should be enough for anyone.
More comments...