问题描述
您是否知道GNU/Linux世界中有任何将LaTeX语法中的数学方程式转换为Content MathML或OpenMath的开源工具或库(最好是Java,但这不是严格要求)?
Do you know any open source tools or libraries (preferably Java, but that's not a strict requirement) in the GNU/Linux world that convert mathematical equations in LaTeX syntax to Content MathML or OpenMath?
我需要以批处理模式转换大量的方程式,所以我不正在寻找交互式应用.
I need to convert tons of equations in batch mode, so I'm not looking for interactive apps.
编辑我的重点是方程的语义,所以我不能使用Presentation MathML(除非存在从Presentation MathML到Content MathML的转换器).
EDIT My focus is on the equations' semantics, so I cannot use Presentation MathML (unless there's a converter from Presentation MathML to Content MathML).
提前谢谢!
推荐答案
这可能是您正在寻找的内容: SnuggleTeX
来自站点:
SnuggleTeX是100%的Java库,用于将LaTeX(的合理子集)转换为XHTML + MathML.
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可以通过首先创建增强表示MathML,然后对其进行处理,来尝试将输入LaTeX转换为Content 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).
这篇关于用于将LaTeX方程式转换为Content MathML或OpenMath的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!