3 ms·
> If you have the option to consider server-side equation rendering, your users may thank you. I'm developing KeenWrite[0], a desktop-based text editor that pr
by thangalin 6y ago
> If you have the option to consider server-side equation rendering, your users may thank you.
I'm developing KeenWrite[0], a desktop-based text editor that provides real-time rendering of TeX. It has two TeX-related HTML export formats: SVG (no rendering for either client or server) or TeX (requires client-side rendering). Behind the scenes it uses a highly-optimized version of JMathTeX[1] that includes a custom renderer to handle translating math font glyphs into SVG paths.
[0]: https://github.com/DaveJarvis/keenwrite https://github.com/DaveJarvis/keenwrite
[1]: https://github.com/DaveJarvis/JMathTeX https://github.com/DaveJarvis/JMathTeX
- krjt 6y agoI hooked up something similar when I was writing "julia as a cli calculator" [1], but it uses real TeX behind the scene, which gives me the opportunity to utilize existing TeX ecosystem such as TikZ and typography. Accessibility can be a problem, but I think it's possible to include some hints via the title attributes with some work. I hope to see more server-side solutions. The customizability and client-side overhead (you only need to render once on the server, possibly with caching) is not something a client-side library can achieve. [1]: https://krasjet.com/rnd.wlk/julia/ https://krasjet.com/rnd.wlk/julia/