3 ms·
Latex.js (JavaScript Latex to HTML5 Translator)
- junon 4y agoHappy to see Peg.js still being used. Always a joy to work with.
- y1zhou 4y agoCould this be used as a replacement for MathJax and KaTeX? If so, would the performance be comparable?
- ridiculous_fish 4y agoHow does this compare to MathJax? Is the primary difference that MathJax renders dynamically using JS, while Latex.js runs offline and produces static pages?
- y1zhou 4y agoMathJax supports server-side rendering. https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html#server-side-mathjax https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.h...
- aaplok 4y agoMathjax displays LaTeX equations within html documents. This processes entire LaTeX code (documents), including, it seems, packages and preamble. It is more similar to TeX4ht or hevea in this sense. I am not sure how it does this without reimplementing TeX.I haven't tested it beyond their playground example. I assume there will be some corner cases.