Expand description
Content MathML rendering rules.
Port of LaTeXML::Post::MathML::Content (31 lines) + the content
portion of LaTeXML::Post::MathML (main module, ~400 lines).
Converts XMath nodes to Content MathML elements (apply, ci, cn, csymbol, etc.).
Content MathML aims to capture the semantic structure of math:
- Variables →
m:ci - Numbers →
m:cn(with type: integer, float, etc.) - Known symbols →
m:csymbol(with cd attribute) - Standard symbols → dedicated elements (
m:plus,m:eq,m:int, etc.) - Application →
m:apply - XMDual → follows the content branch
Functions§
- convert_
to_ cmml - Convert an XMath tree to Content MathML.