Changes

Jump to navigation Jump to search
401 bytes added ,  20:17, 12 November 2009
added MKIV info
< [[Math]] | [[MathML]] | [[XML]] >
Here is a complete and simple example of a ConTeXt file including MathMLfor MKII:
<xmlcode>
\stoptext
</context>
 
MathML support in ConTeXt is very extensive, but some features are rather hidden for now.
The * (comment token) prevents the spurious space.
 
==MKIV==
Support with MKIV is not as complete as MKIII and under construction. The example above for MKIV:
<xmlcode>
\usemodule[mathml]
\starttext
test
\xmlprocessdata{}{
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<msup> <mi>x</mi><mn>2</mn> </msup>
<mo>+</mo>
<mrow>
<mn>4</mn><mi>x</mi>
</mrow>
<mo>+</mo>
<mn>4</mn>
</mrow>
</math>
}{}
\stoptext
</xmlcode>
[[Category:Math]]

Navigation menu