MathML to LaTeX XSLT instructions

How to convert the MathML in a CellML file to LaTeX

XSL file: MathML Renderer (written by Autumn Cuellar, Auckland Bioengineering Institute) — an XSLT transform that converts the CellML subset of MathML to a LaTeX file. Save the file to your local harddrive and run with any XSLT processor. You'll also need to download a second file to the same directory. The second file is imported to escape the necessary characters in LaTeX.


Example usage:

# convert cellml to latex

xalan -in <cellml file> -xsl mathml_to_latex.xsl -out <latex file>


# Transform the Latex file to PDF

pdflatex <latex file>