Re:KaTeX – Fast math typesetting library for the web
by enriquto on Sunday March 24, 2019 @11:15AM
(#19476790)
Can you please elaborate a bit more on that? How can you configure it to be faster? I'm considering leaving MathJax for pre-rendered png because it is unusably slow (with the default configuration at least). My use case is a whole book of math on a single html page. Pdf viewers have no problem with that. Yet, firefox+mathjax cannot cope.
[ Parent
| on HN ]
Re:KaTeX – Fast math typesetting library for the web
by raphlinus on Sunday March 24, 2019 @04:44PM
(#19478650)
Yes, you want to set processSectionDelay to 0. Here's an example: https://github.com/raphlinus/ghilbert/blob/master/src/htmlou...
Re:KaTeX – Fast math typesetting library for the web
by williamstein on Sunday March 24, 2019 @01:32PM
(#19477550)
I have been using MathJax since before it was called MathJax (it used to be jsMath), and I've never found any synchronous rendering option to speed it up. You can minimize the page updates by not showing anything until mathjax is done, but that is disturbing to users (who either see nothing for an unknown amount of time, or see raw latex formulas), and it's frankly not much faster in my testing. If there really is such a MathJax option to synchronously render faster, then this page [1] should in fairness mention it.
[1] https://www.intmath.com/cg5/katex-mathjax-comparison.php