You're reading: News

Chrome now supports MathML

Chrome 24's rendering of the Mozilla MathML Torture Test

Update 07/02/2013: Google giveth, and it taketh away. MathML support in Chrome has been disabled until it’s “production-ready”.

Putting maths on the web has always been a tricky proposition. Typesetting notation is a highly complicated procedure, so for years people have got by either by compromising on aesthetics and writing equations in plain, unadorned text, or by using off-line LaTeX compilers to make blurry images of what they’re trying to say.

Here at The Aperiodical, we use the excellent MathJax to automatically convert the LaTeX we write into beautifully clear typeset notation in a format that’s accessible to screen-readers and doesn’t resemble mouldy bums when you look closely. But we still get the occasional complaint stemming from the fact that it isn’t built in to the browser, so it doesn’t get loaded when reading our articles in Google Reader and adds more stuff that needs to be downloaded before the page can be seen.

Image-based maths rendering on wordpress.com

Image-based maths rendering on wordpress.com

Maths rendered by MathJax

Maths rendered by MathJax

For whatever reason, most browsers don’t have a built-in method of representing and rendering decent-looking maths. Quite a few years ago, there was a solution to the problem – MathML was meant to be the standard way of representing maths for use on the web. Sadly, uptake was pretty limited – Firefox has had nearly-complete support for a while and third-party browser plugins exist, but nothing you can depend upon. It might have had something to do with the fact that MathML is basically impossible to write by hand. Who knows.

Progress is being made, however! The latest version of Google Chrome has basic support for MathML, thanks to the efforts of a volunteer called Dave Barton, who’s been adding support to the Webkit engine used by Chrome and a few other browsers. There’s still a long way to go until we can send maths to each other completely unimpeded, but it’s good that people are still working on it.

More information

Webkit MathML project page

W3C MathML Home

StackOverflow post by Dave Barton explaining what he’s doing

See how your browser displays MathML at the Mozilla MathML Torture Test.

via Peter Krautzberger on Twitter

2 Responses to “Chrome now supports MathML”

  1. Peter

    This is actually the most informed and balanced post I’ve read so far — and I think I’ve read them all ;)

    Thanks for the shoutout. Dave is a fantastic guy, unfortunately he can’t continue to volunteer like he did last year. We’ll see if Google&Apple can finally put some developer power behind this. Not that this will solve anything for, say, all current Android devices… But it would be a start. And MathJax can slowly become more jquery-like than renderer (fixing MathML to get around bugs&limitations instead of replacing it completely).

    Reply

Leave a Reply

  • (will not be published)

$\LaTeX$: You can use LaTeX in your comments. e.g.

$ e^{\pi i} $
for inline maths;
\[ e^{\pi i} \]
for display-mode (on its own line) maths.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>