将LaTeX方程转换为Content MathML或OpenMath的工具?

Bol*_*olo 7 latex mathml

您是否知道在GNU/Linux世界中将LaTeX语法中的数学方程式转换为Content MathML或OpenMath的任何开源工具或库(最好是Java,但这不是严格的要求)?

我需要在批处理模式下转换大量的方程式,所以我不是在寻找交互式应用程序.

编辑我的重点是方程的语义,所以我不能使用Presentation MathML(除非有从Presentation MathML到Content MathML的转换器).

提前致谢!

小智 5

This might be what you are looking for: SnuggleTeX

From the site:
SnuggleTeX is a 100% Java library for converting (a reasonable subset of) LaTeX into XHTML + MathML.

SnuggleTeX can attempt to convert input LaTeX to Content MathML by first creating Enhanced Presentation MathML and then processing that. In many ways, this part of the process is relatively simple since most of the semantic structure has already been inferred (though might not necessarily make any sense).