How to convert mathml to an image?

十年热恋 提交于 2019-12-11 03:48:40

问题


I need to convert mathml to image. I tried mathml-image service, but I unable to upgrade python as it needs python 3.4 . So, I dropped trying that way of conversion.

I have knowledge in php, so Is there any php script to do this task? Or some other way of conversion also would be great enough.

For example: Mathml

<math display='block'><mrow><mrow><msub><mo>&#x222b;</mo><mrow><mi>D</mi></mrow></msub><mrow><mo>(</mo><mo>&#x2207;&#x22c5;</mo><mi>F</mi><mo>)</mo></mrow><mi>d</mi><mrow><mi>V</mi></mrow></mrow><mo>=</mo><mrow><msub><mo>&#x222b;</mo><mrow><mo>&#x2202;</mo><mi>D</mi></mrow></msub><mrow><mtext>&#x2009;</mtext><mi>F</mi><mo>&#x22c5;</mo><mi>n</mi></mrow><mi>d</mi><mi>S</mi></mrow></mrow></math>

should be converted to an image like below

来源:https://stackoverflow.com/questions/32090853/how-to-convert-mathml-to-an-image

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