Live data from Hacker News

Offline Math: Converting LaTeX to SVG with MathJax

sigwait.org

11–12 of 12 posts

Re: Offline Math: Converting LaTeX to SVG with MathJax

#11
post #7
post #6

Earlier quoted context omitted.

In my experience the MathML support is still mediocre, especially on Chrome. https://fred-wang.github.io/MathFonts/mozilla_mathml_test/

That test page doesn't seem to use any features current Chrome doesn't support. Or do you just mean that the appearance isn't identical to the TeX rendering even if you use a font like Latin Modern?

It improved a little bit from what I remembered (on Chrome it had problems displaying multi-line brackets), it still has some inaccuracies tho

https://imgur.com/a/83lSuYn

Re: Offline Math: Converting LaTeX to SVG with MathJax

#12

Same use case (math-heavy, no-javascript blog), but I ended up with a _slightly_ different approach: instead of converting to SVG, convert to MathML. Browser support is pretty robust, and the output is much nicer (e.g. preserves fonts). https://sathomas.me/blog/site/

The equation number is overlapped with the equation. Tested with Cromite, Firefox on Android.

[0]: https://postimg.cc/G8NHRT3w

Post reply on HN