Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Superset of jQuery for working with MathML

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 demo
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 jquery_mathml.js
Octocat-spinner-32 mml.js
README
jquery-mathml.js contains a patched version of jquery 1.4.4 to
allow MathML objects to be modified more fluidly. This is very
much a proof of concept work.

MathML is only supported by Gecko ( Firefox ) and Opera based 
browsers at the moment. Internet Explorer and WebKit browsers 
partially support MathML but their coverage is *extremely* poor.

See: http://trac.webkit.org/wiki/MathML%20Status

DEMO FOR FIREFOX 3.6+:
 * http://sdiehl.github.com/jquery-mathml/

Working:
--------
 * selection of MathML nodes by id/class/attribute 
 * styling MathML nodes ( partial fix for http://bugs.jqueryui.com/ticket/5647 )
 * isMath query

TODO:
--------
 * innerHTML
 * display: none results in error message
 * add wrappers for native MathML styling attributes
 ( mathvariant, mathsize, ... ) as specified in: 
 http://www.w3.org/TR/2009/REC-MathML2-20090303/chapter3.html#presm.commatt

Note:
--------

Firefox 4 beta is lightyears ahead of other browsers in terms of
MathML support, for example if you install the STIX fonts and
take a look at the following page you'll find it's nearly
identical to LaTeX.

* https://eyeasme.com/Joe/MathML/HTML5_MathML_browser_test.html

License:
--------
Dual MIT & GPL ... i.e. do whatever you want just include the jQuery authors
and my name in any forks.

Contact:
--------
Stephen Diehl (sdiehl@clarku.edu)
Something went wrong with that request. Please try again.