将 LaTeX 方程转换为 Content MathML 或 OpenMath 的工具? [英] Tools for converting LaTeX equations to Content MathML or OpenMath?

查看:38
本文介绍了将 LaTeX 方程转换为 Content MathML 或 OpenMath 的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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 可以尝试将输入 LaTeX 转换为 Content MathML,方法是首先创建增强演示 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 的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆