MathML News
“Not another one!” I hear you groan.
itex2MML 0.11
Yet another update to itex2MML, with a bunch of small bugfixes. The most important change is that we no longer use the deprecated mode
attribute, but instead use the preferred display
attribute for the <math>
element. We set display="block"
for display equations (\[...\]
) and display="inline"
for inline equations ($…$). This has a couple of advantages
- Display equations now work correctly in MathPlayer 2.0 (which doesn’t support
mode="display").
- You can style inline equations with
which fixes the poor line-breaking behaviour that you see now. Or, it would fix it, but for the fact thatmath[display=inline] {display:inline-block}
- InternetExplorer doesn’t support CSS attribute selectors.
- Mozilla doesn’t fully support
inline-block
.
MathML::Entities
My Perl module for converting XHTML+MathML named entities to numeric character references (or utf-8 characters) is now an official CPAN module. Get it from a CPAN Mirror near you.
Math fonts and Mozilla/Mac
Mozilla/Mac users are second-class citizens when it comes to displaying MathML. The Computer Modern Fonts, which provide an excellent repertoire of glyphs on other platforms can’t be used with Mozilla/Mac, because they’re not ATSUI-compatible.
Ever since I started this weblog, I’ve been hoping that the Stix Fonts Project would complete their work and this problem would be definitively solved. But they’ve been 98 glyphs away from completion for more than a year. The project is clearly moribund.
Fortunately, there turns out to be a partial solution. First, on the server side, Henri Sivonen suggested that Mozilla/Mac’s somewhat broken support for Astral plane characters (in MathML, that means blackboard-bold, calligraphic and fraktur letters) could be alleviated by sending numeric character references, rather than named entities. I now filter all posts and comments through the NumericEntities plugin.
But that’s only part of the story. You, the client, still need a font with the appropriate glyphs. The Stix Fonts aren’t coming anytime soon, if ever. But there does turn out to be a free alternative. Install the CODE2001 font and you’ll immediately start seeing blackboard-bold, calligraphic and fraktur letters on this blog. The glyphs are crudely drawn, and there are still glitches in Mozilla’s rendering, but it (sorta) works.
W3C Software
The WorldWideWeb Consortium has finally taken to updating their list of MathML software. I’m pleased to say there are a few new entries on the list.
Well, OK, they’re new to the W3C…
W3C News
W3C: Is there a blog which has actual MathML content out there?
Jacques: A bit behind the times? [Links to Musings and some other MathML-enabled blogs]
W3C: Yeah, I guess so… But it’s really cool.
New Weblogs
The list of weblogs using the itexToMML plugin for MovableType grows, ever so slowly, longer. Brian Koberlein, Daniel Doro Ferrante and Zack Ajmal are the latest to join the crew.
There, now that wasn’t so bad, was it? … Hello? …. Anybody still there?
Re: MathML News
Converting (i)TeX to mathml on the server still leaves you with the problem that it is very hard to read in non mathml supporting browsers. I am currently using peter jispen’s javascript based asciimath library, which converts TeX to mathml on the client.
non supporting browsers still display the texcode, which is much more readable
see Peter Jispen’s work and a story about my implementation