How to export or create MATHML from MS word 2010?

浪尽此生 提交于 2020-01-05 12:26:46

问题


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>&#x2212;</mo> 
<mi>b</mi> 
<mo>&#xB1;</mo> 
<msqrt> 
<mrow> 
<msup> 
<mi>b</mi> 
<mn>2</mn> 
</msup> 
<mo>&#x2212;</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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!