English 中文(简体)
MathML改为LaTeX
原标题:MathML to LaTeX conversion

我试图说明如何改变数学公式的数学代表制,将其改为数学等同的法语区。 例如......

<math>
  <mrow>
    <mfrac>
      <mrow><mi>x</mi></mrow>
      <mrow><mi>y</mi></mrow>
    </mfrac>
  </mrow>
</math>

......是一个简单分门别类的分数,它把LaTeX的分数计算为......。

frac{x}{y}

我保证说,“马法”没有作任何陈述标记,因为我正在构造马法分子,并控制如何/在什么地方插入马法分子;马法马法运动的扼杀只是数学方程式的纯结构。

因此,我的问题是,那里是否有任何Java/Jaza式图书馆能够像上述那样,利用MathML投入,并产生相应的LaTeX线插座? 我不得不说这句话。 如果没有贾瓦/贾瓦文的话,是否有任何图书馆能够这样做?

如果没有,任何关于如何解决我自己的教官撰写问题的建议? 何时开始,应考虑的事项、资源等?

UPDATE

由于,我得以利用,thi Library <做我想要做的事情。 然而,这并非完美无缺,但我可以轻易加以修改,使之运作良好。 然而,我仍然希望在 Java看到这一点。 Java文中写的这种文字也没有任何工具? 否则,我就不去翻译。

注:我使用MathJax将MathML放在网页上,但MathJax目前不支持从MathML到LaTeX的道路。 它只能从LaTeX到MathML。

最佳回答

Try http://www.tilman.de/programme/mathparser/anleitung_en.html - it s written in Java and the source is available.

问题回答

SSLT、SAX教区或DOM教区有什么错误?

各种主要语文(而且其他语文各样)都设有SAX和DOM教区。 我建议用一种功能性语言分配人力,但信条不同。

XSLT是处理XML的一种实用语言。

我也存在同样的问题,用尿素提供的math子根本就为我工作。

I converted MathML to LaTeX by using XSLT MathML Library with Saxon-HE but since XSLT MathML library is pure XSLT any XSLT transformation tool should handle it. Output is not always perfect but it gave me better results than web-xslt mentioned somewhere at stackexchange network.

指挥线的使用与轴:

saxon -o output.tex input.mml xsltml_2.1.2/mmltex.xsl




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签