MathML Update
For a while now, Frédéric Wang has been urging me to enable native MathML rendering for Safari. He and his colleagues have made many improvements to Webkit’s MathML support. But there were at least two show-stopper bugs that prevented me from flipping the switch.
Fortunately:
- The STIX Two fonts were released this week. They represent a big improvement on Version 1, and are finally definitively better than LatinModern for displaying MathML on the web. Most interestingly, they fix this bug. That means I can bundle these fonts1, solving both that problem and the more generic problem of users not having a good set of Math fonts installed.
- Thus inspired, I wrote a little Javascript polyfill to fix the other bug.
While there are still a lot of remaining issues (for instance this one fixed), I think Safari’s native MathML rendering is now good enough for everyday use (and, in enough respects, superior to MathJax’s) to enable it by default in Instiki, Heterotic Beast and on this blog.
Of course, you’ll need to be using2 Safari 10.1 or Safari Technology Preview.
Update:
Another nice benefit of STIX Two fonts is that itex can support both Chancery (\mathcal{}
) and Roundhand (\mathscr{}
) symbols
1 In an ideal world, OS vendors would bundle the STIX Two fonts with their next release (as Apple previously bundled the STIX fonts with MacOSX ≥10.7) and motivated users would download and install them in the meantime.
2 N.B.: We’re not browser-sniffing (anymore). We’re just checking for MathML support comparable to Webkit version 203640. If Google (for instance) decided to re-enable MathML support in Chrome, that would work too.
Re: MathML Update
PW has a new post and he mentions you and an interaction with you in the past. Can you comment on the accuracy of his statements, as well as the string theory topic under consideration in the post?
http://www.math.columbia.edu/~woit/wordpress/?p=10188