问题
I have mathematical expressions in word document. Is it possible to export data as MATHML format?
For example below formula existed in a word as a mathematical expression.
Above expression should represent as below MATHML code.
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mo>−</mo>
<mi>b</mi>
<mo>±</mo>
<msqrt>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>−</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
I am able to paste the above example MATHML into word and it will create a graphic. But I am unable create MATHML from existing graphic (in MS Word).
Thank you for your help
回答1:
Office includes omml2mml.xsl; you can Google that for more info.
来源:https://stackoverflow.com/questions/24784130/how-to-export-or-create-mathml-from-ms-word-2010