
26 Oct
2007
26 Oct
'07
10:02 a.m.
On Fri, 26 Oct 2007, Peter Verswyvelen wrote:
Some packages like Open Office and Microsoft Word contain a math expression writer. The same can be done with Maple, etc. Standard formats such as MathML, LaTex etc exist.
Now what I would like to do, is to create a mathematical expression in Haskell (using e.g. an expression tree), which can be evaluated in Haskell, and be converted to something pretty-math-printable (MathML, PS, PDF, LaTex, whatever).
There is the LaTeX preprocessor lhs2TeX which can typeset Haskell expressions in LaTeX's math mode. However I find the conversion not very well designed (e.g. the handling of parentheses).