W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2012

MathML in the SVG 2 spec

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 18 May 2012 13:47:14 +1000
Message-ID: <4FB5C642.4030905@mcc.id.au>
To: SVG WG <public-svg-wg@w3.org>
Someone at the F2F mentioned MathJax as a possible option for handling 
math in the spec.  I have this working now.  To use it, just include 
inline in the chapters

   <math xmlns="http://www.w3.org/1998/Math/MathML">
     ... the MathML content ...
   </math>

and it should just work.  The build scripts add references to MathJax 
(from their CDN) and I have this set up to render currently as SVG, as I 
think that looks nicer than the HTML+CSS option.  See one equation I've 
replaced with MathML here:

   https://svgwg.org/svg2-draft/painting.html#StrokeMiterlimitProperty
Received on Friday, 18 May 2012 03:47:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 May 2012 03:47:50 GMT