[Haskell-cafe] Haskell to math
Henning Thielemann
lemming at henning-thielemann.de
Fri Oct 26 06:02:52 EDT 2007
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).
More information about the Haskell-Cafe
mailing list