4th MathML Meeting
This is a report about the 4th Mozilla MathML IRC Meeting (see the announcement here). The topics of the meeting can be found in this PAD (local copy of the PAD) and the IRC log (local copy of the IRC log) is also available.
In the last 4 weeks the MathML team closed 6 bugs, worked in others 5 and open 4 new ones (this are only the ones tracked by Bugzilla, there are others issues related with MathML that the team worked on, like Frédéric’s Mathematics in ebooks).
The next meeting will be in April 11th at #mathml IRC channel. Please add topics in the PAD.
We didn’t have the time for the next meeting because Daylight Saving Time start for some folks and end for others. We want to know what time is suitable for you participate in next meeting and for that we are running a survey powered by LimeSurvey, a open source tool (if for any reason you aren’t comfortable to use LimeSurvey you can send me a email).
Shadow DOM is implemented in Gecko 30 and TeXZilla currently use X-tag polyfill as explained by Frédéric in mozilla.dev.tech.mathml list:
the <x-tex> custom element (https://github.com/fred-wang/x-tex) is currently implemented via the X-tag polyfill (http://x-tags.org/) which does not use shadow DOM. However, teoli said shadow DOM is implemented in Gecko 30 and that the custom element spec will allow to just name the element <tex> so this could be improved in the future. At the moment that’s mostly a proof of concept. As a concrete example,
TeXelement = document.createElement(“x-tex”); TeXelement.textContent = “x^2 + y^2”;
is not equivalent to
<x-tex>x^2 + y^2</x-tex>
We had send a patch for MDN with a plugin for MDN’s editor and this plugin was already deploy. Frédéric said that “If you want to insert/edit MathML on MDN, there is now a ‘square root of x’ button to open a TeXZilla dialog”.
Almost half of people accessing MDN use Chrome that don’t support MathML. This users will get a bad first impression of MathML just because it won’t work in Chrome. Just for example, you will find below a screenshot of MDN’s MathML Pythagorean Theorem in Chromium and Firefox.
Frédéric suggested use a small CSS fallback to “fix” basic MathML elements for browsers that don’t support MathML. Folks from MDN agree to use this fallback and we just need to add it properly in MDN source tree.
And for last, MathML documentation at MDN has a status page that is awesome.
Among the contributions of the team we had:
- Frédéric Wang done some code refactoring,
- Jamkes Kitchener improve mtable support,
- Some “regression” fixed by Jesse Ruderman and James Kitchener and
- Others fixes/patch review/bug report by Karl Tomlinson, Robert O’Callahan and Andrew McCreight.
We also had the contribution of new members:
- Branko Kzrnaric implement menclose notation “phasorangle” and
- Anuj Agarwal worked to fix a problem in the rendering of msqrt amd menclose.
I will aplly for GSOC to extend Firefox OS keyboard to support math. You can find more information in my previous post.
How to help - newcomers
- Write a plugin for your CMS (e.g. Drupal and Wordpress) that use TeXZilla. For a example, see this plugin for CKEditor.
- Test TeXZilla server-side conversion.
- Write some TikZ demos to show that LaTeXML can handle it.
- Improve the <x-tex> element of TeXZilla without using any polyfill library.
- Translate part of MathML documentation to your mother language. You can find more information in this documentation status page.
How to help
- The patch for MathML in Wikipedia still need some review. If you know PHP please take a look at https://gerrit.wikimedia.org/r/#/projects/mediawiki/extensions/Math,dashboards/default.
- The CSS fallback for Chrome need to be in MDN source tree. If you already familiar with it or Django get in touch.