New Firefox add-on to convert PNG images to MathML

Showing 1-1 of 1 messages
New Firefox add-on to convert PNG images to MathML Frédéric Wang 5/29/14 11:45 PM
(I posted that on the LaTeXML mailing list but forgot to cc

Dear all,

I've been working again on an old idea for my Mathzilla collection:
using a LaTeX-to-MathML converter to transform images of mathematical
formulas to MathML (this is possible since most Web sites provide the
LaTeX source in the alt text). One of the issue in my old attempts was
to have a converter with good LaTeX coverage; this is now possible
thanks to the LaTeXML Web service. The add-on also caches the MathML
result to speed up further conversions and save some calls to the
LaTeXML Web service.

I've published the experimental add-on here:

As an example, try to load a random page in and see how the
images are slowly replaced with MathML.

Note that at the moment, the add-on only has a few predefined rules. If
you know other Web sites using images of formula, please let me know:

Note that the Wikipedia websites are of course included in the
predefined rules, so that's a temporary solution until Moritz's work is
available on all MediaWiki wikis.

I've also added a very basic UI to define you own rules but I think it
only works with Firefox >= 29. For example visit the page

and click on the yellow regular pentagon in the toolbar. Then add a rule
for the pattern "*" and the CSS selector
"img.latex". The image on this page will be converted to MathML.

Finally, if you go to about:addons and select the Preferences for the
"Image to MathML" add-on, you can get access to more advanced options.

I've only started to work on that this week, so it's still very
experimental, but I hope you could already try it and provide feedback.


Fr�d�ric Wang