Any benchmarks against MathJax beyond the visual at the bottom of the page?
They have a benchmark page, where you can benchmark for yourself: http://jsperf.com/katex-vs-mathjax
KaTeX: Math typesetting for the web
11–20 of 101 posts
Re: KaTeX: Math typesetting for the web
#12Did Mathjax just become obsolete?
Not quite yet, but we're working on it. There are some significant features that KaTeX doesn't yet support, but we're working to add them in the near future. In the meantime, you could use our TeX React component to use KaTeX when possible, and fall back to MathJax only when necessary: http://khan.github.io/react-components/#tex
Re: KaTeX: Math typesetting for the web
#13MathML, MathJax and now KaTeX Not that there isn't a usecase for this, but is this fully MathJax compatible?
Re: KaTeX: Math typesetting for the web
#14Did Mathjax just become obsolete?
Not quite yet, but we're working on it. There are some significant features that KaTeX doesn't yet support, but we're working to add them in the near future. In the meantime, you could use our TeX React component to use KaTeX when possible, and fall back to MathJax only when necessary: http://khan.github.io/react-components/#tex
Re: KaTeX: Math typesetting for the web
#15Re: KaTeX: Math typesetting for the web
#16- does KaTeX work pretty reasonably across the platforms? The simplest way I figured out for rendering math notation in-app on mobile devices was through web views + mathjax. E.g. say I wanted to use it in a web view in iOS or Android, would it work as intended? MathJax comes by default with a giant folder of various fonts / ways of rendering, what's the KaTeX story for this?
- would KaTeX work just fine in a headless environment? e.g. say I'm using http://wkhtmltopdf.org/ to generate PDF from some HTML
- how does KaTeX compare to MathJax from a payload size? Mathjax takes quite a bit to load from basic connections even though you have to cache it only once.
Re: KaTeX: Math typesetting for the web
#17Re: KaTeX: Math typesetting for the web
#18Earlier quoted context omitted.
Not quite yet, but we're working on it. There are some significant features that KaTeX doesn't yet support, but we're working to add them in the near future. In the meantime, you could use our TeX React component to use KaTeX when possible, and fall back to MathJax only when necessary: http://khan.github.io/react-components/#tex
It would be helpful to know what KaTeX can and cannot do.
Most inline math is done, but we're missing a bunch of individual symbols (see CONTRIBUTING.md in the repo if you'd like to contribute!) The main things we're missing are environments (i.e. \begin and \end), but we'll be working on those soon!
Re: KaTeX: Math typesetting for the web
#19MathML, MathJax and now KaTeX Not that there isn't a usecase for this, but is this fully MathJax compatible?
We're not compatible yet, but we're working on it! In the meantime, you can fallback to MathJax on things we don't support. That way, most things can be rendered fast, and anything super complicated gets special treatment. We'll be releasing something soon on how to do this, and if you use React you can use the KA TeX component: http://khan.github.io/react-components/#tex
EDIT: Thanks for replying to my comment in spite of the downvotes