3 ms·
There's no question that MathJax is a great project. But... pretty much all the major browsers have native support for MathML now, so hopefully we can start see
by mindcrime 3y ago
There's no question that MathJax is a great project. But... pretty much all the major browsers have native support for MathML now, so hopefully we can start seeing most (most?) math on the Web in that format. This should bring advantages for folks who rely on additional technology for accessibility purposes, and for search.
- TheChaplain 3y agoFor those as confused as me, Chrome finally supports MathML as of January 2023. (insert starcraft "about time" meme)
- runarberg 3y agoTo be precise, they support MathML Core, which is a subset of MathML 4. Your expressions that you wrote for MathML 3 and worked in Firefox may not (and probably will not) work in Chrome. I actually wrote a library a little while ago which doesn’t work in Chrome because of this. That said, I think MathML Core is an excellent standard, and Chrome made the right choice to support it (or rather to allow Igalia to develop it for them). Going forward I’m certainly going to update my library to target MathML Core only.
- harshreality 3y agoMathML is technically human read/write-able, but not efficiently. Something like Mathjax (which targets mathml) is also necessary, to allow humans to read/write raw math expressions in a simpler format.
- invalidOrTaken 3y agoMathjax can output MathML, actually. It's as easy as linking to tex-mml.js
- mananaysiempre 3y agoA heavy, slow client-side script like MathJax seems like an unpleasant way to target MathML—why not precompile offline from something like AsciiMath?
- runarberg 3y agoMathML is as human readable and writable as SVG, and that is by design. Now that all browsers support MathML natively we no longer need MathJaX to read it (the browser does a much better job) however we still need to be able to write it. MathJaX can certainly help there, though I would argue there are better libraries then MathJaX for that purpose. MathJaX had a good run, they did a good job, I would say their job is done however.
- nine_k 3y agoIsn't it like saying that now when all browsers can natively render SVG, the job of Inkscape is done forever? I'd say the opposite: now we can safely use MathJAX to translate TeX syntax to an efficient rendering representation.
- runarberg 3y agoInkscape is purely an SVG editor, yes you can also view SVG images using inkscape but that is not its primary function. MathJaX’s primary function on the other hand is to find mathexpressions on a web page and then use javascript to turn them into HTML+CSS rendered equation. If you want to write LaTeX and include the equivalent MathML in your webpage, then something like Temml is a lot better choice, as that is it’s primary function. https://temml.org/ https://temml.org/
- tannhaeuser 3y ago> MathML is as human readable and writable as SVG, and that is by design. From what you're writing I'm not entirely sure you think MathML has good or bad readability then ;) But in case you don't find MathML's presentational syntax convincing for authoring, you can pickup SGML shortref syntax (a technique even older than MathML itself [1]) for at least eg. a highscool math subset in order to cut down on excessive <mo>, <mi> tags. [1]: https://www.w3.org/MarkUp/html3/maths.html https://www.w3.org/MarkUp/html3/maths.html
- runarberg 3y agoMathML was designed to be an easy target for other authoring tools. This includes graphical editor (just like inkscape is for SVG) or libraries (just like D3 is to SVG). I actually don’t like writing MathML, and I actually wrote a library my self that targets MathML.
- bobbylarrybobby 3y agoPeople would much rather write LaTeX than MathML.
- mindcrime 3y agoI don't doubt that, and thankfully there are tools to convert LaTeX to MathML. So one can continue to write in LaTeX if that's what they're comfortable with, and still publish to the Web in MathML as desired.
- omaranto 3y ago> thankfully there are tools to convert LaTeX to MathML For example MathJax!
- xigoi 3y agoUse Temml to convert LaTeX to MathML: http://temml.org/ http://temml.org/