From: Davide P. C. <dp...@un...> - 2006-08-18 00:08:18
|
I have added a LaTeXMathML mode based on the message we received from Peter Jipsen announcing the modification to ASCIIMathML. This works a lot better for our needs than the original ASCIIMathML (though I didn't remove that mode), as it handles much more of the LaTeX commands and syntax. I don't have MSIE with the MathPlayer plugin, so I can't test it there. Could someone else check that? There are still some problems, however: 1. It doesn't handle all the plain TeX commands, only LaTeX ones. So things like \bf and \rm don't work. I modified LaTeXMathML.js to handle these and a few other easy ones, but there are still plenty of others that it doesn't handle. (For example, \kern, which is used in some of the table macros). It does not appear easy to add this (and I'm not inclined to spend the time on it myself). 2. It doesn't handle \begin{array}...\end{array}, which is central to a number of the layout macros. I didn't look into how hard that would be to add. 3. It doesn't do the optional parameter for \sqrt[n]{...} which is used by some problems. It probably could be added, but I didn't try. I worked around several other limitations listed on the LaTeXMathML home page (http://www.maths.nottingham.ac.uk/personal/drw/lm.html), so this is probably usable for many problems. Anyway, thought I'd pass on this information. Davide |