From: Dimitry Polivaev <dpolivaev@gm...>  20070722 21:26:09

FYI: I expect that HotEqn will be released under GPL in the next days. I have already tried JMathTex, but have got some troubles. See below. Best regards, Dimitry > Hello Kris, > > my name is Dimitry, I am member of sourceforge FreeMind project > developing an open source mind map editor FreeMind. I would like to > include some latex rendering component in the program so that > displaying of formulas could be possible. I was very glad to find > your JMathTex like FreeMind released under GPL 2 (or later). So I > tried currently published version 0.7pre using some latex examples > from page > > http://www.atp.ruhrunibochum.de/VCLab/software/HotEqn/HotEqn.html > > Actually I have tried three latex formulas: > > final String formula1 = > "\\mbox{I}^\\fgcolor{ff0000}{\\heartsuit}\\mbox{HotEqn}"; final > String formula2 = "\\begin{array} {*{3}{c@{\\:+\\:}}c@{\\;=\\;}c} > a_{11}x_1 & a_{12}x_2 & \\cdots & a_{1n}x_n & b_1 \\\\ a_{11}x_1 & > a_{12}x_2 & \\cdots & a_{1n}x_n & b_1 \\\\ \\cdots\\\\ a_{n1}x_1 & > a_{n2}x_2 & \\cdots & a_{nn}x_n &b_n \\end{array}"; final String > formula3 = "z_{opt}\\;=\\; \\limsup_{\\bar{h}\\rightarrow\\vec{b}_0} > \\,\\x_n(\\bar{h},\\vec{b}_0)\\"; > > TeXFormula formula = new TeXFormula(formula3); Icon icon = > formula.createTeXIcon(TeXConstants.STYLE_DISPLAY, 25); > > > All of them have coursed a be.ugent.caagt.jmathtex.ParseException . > I seems that the current implementation supports only very limited > set of tex commands. > > Could you please let me know, whether further development of JMathTex > is planned and what latex commands will be supported. > > Many thanks, Dimitry Indeed, the current implementation leaves a lot to be desired, and we do not seem to find time to do much about it. Anyhow, it has never been the intention to put a full LaTeX parser into JMathTeX. Our main goal is to provide the rendering logic, and parsing comes only second. (We also support a subsets of MathML.) JMathTeX is primarily intended for users that build there own formula's from scratch, as part of a Java application. Best regards Kris Coolsaet 