Examples of MathML in Context
![](https://secure.gravatar.com/avatar/12b7e9a3ab6d2a0e0602000f7e6542bf.jpg?s=120&d=mm&r=g)
Hi, I've just looked at three documents from Hans ('mmlexamp.pdf', 'mmlprime.pdf', 'mmoexamp.pdf'), and they all show nice examples of MathML and what you can accomplish using it. However, I wasn't able to find an example of how to actually insert MathML in a Context document. I imagine it's probably something like that: \starttext (...) \startMathML (...) \stopMathML (...) \stoptext Does anyone knows of an example on how to do that properly? Thanks, Maurício
![](https://secure.gravatar.com/avatar/ae163ddf036d6ccdfcfc20226adad32e.jpg?s=120&d=mm&r=g)
Below is a complete example: \usemodule[mathml] \starttext \startXMLdata <math> <mrow> <msup> <mi>x</mi><mn>2</mn> </msup> <mo>+</mo> <mrow> <mn>4</mn><mo>⁢</mo><mi>x</mi> </mrow> <mo>+</mo> <mn>4</mn> </mrow> </math> \stopXMLdata \stoptext Could you please add this minimal example to the wiki page: http://wiki.contextgarden.net/MathML_code_examples Cheers, Mike
![](https://secure.gravatar.com/avatar/12b7e9a3ab6d2a0e0602000f7e6542bf.jpg?s=120&d=mm&r=g)
Mike Santy escreveu:
Below is a complete example: (...)
Could you please add this minimal example to the wiki page: http://wiki.contextgarden.net/MathML_code_examples
Done. Best, Maurício
participants (2)
-
Maurício
-
Mike Santy