我有一个 docx 文件,其中包含由 mattype 创建的数学公式。有没有办法使用 java、poi 读取其内容?或者将所有由 mathtype 创建的公式转换为图像?
问问题
1520 次
2 回答
1
我参与了这个项目(基于 XProc/XSLT/XML): http ://transpect.github.io/modules-docx2tex.html
我不确定单次转换是否值得设置时间。
如果您想经常这样做,那绝对是。
一旦你有了 tex,你就可以从这些来源生成图像。
如果你真的只想要方程式,那么看看这些单个 transpect 模块:
mathtype2mml:https
://github.com/transpect/mathtype-extension/
mml2tex:https ://github.com/transpect/mml2tex
于 2018-02-24T14:27:06.333 回答
1
word中的MathType方程由wmf和ole bin组成。您可以获取 wmf 并将其转换为光栅格式 png\jpg 等。
于 2018-04-10T10:52:13.427 回答