开发者

Algorithm/Tool to convert pMathML to cMathML?

开发者 https://www.devze.com 2023-03-16 19:22 出处:网络
Does any one know of any known algorithm and/or open source project that converts presentation mathml to content mathml?

Does any one know of any known algorithm and/or open source project that converts presentation mathml to content mathml?

Javascript is preferable if there is a开发者_运维知识库ny open source project. But any other language is appreciated too.

If not, do you have any suggestion on how to approach this problem?

Thanks,


First, you may know this, but it is not possible to reliably convert from presentation mathml to content mathml. Its better to start and edit in content mathml because you can reliably convert to presentation mathml whenever you want.

The power math packages, like Mathematica, can effectively do a conversion from presentation mathml to content mathml... but they will have to guess in some cases at the meaning.

For an open source solution, I'd lookup "computer algebra system"... there are several good ones out there... perhaps they can do it, indirectly.

The last option would be to embed one of the editors... for example, Integre and MathType both support both presentation and content mathml... so, perhaps one can help you make the conversion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号