Tuesday, June 20, 2006

LaTeX output for HsColour

On a somewhat related subject to my last post (the one about LaTeX), I've just started working on adding LaTeX support to hscolour. The structure of the program has made it easy to add support for LaTeX output: all I had to do is add two items to a pattern match (for option handling), and define a function to render the code to LaTeX (plus a few helpers to escape LaTeX special characters, etc.).

Once I've managed to get it working adequately, I'll submit a darcs patch to the maintainer.

See also Malcolm's posts about hscolour: one and two.

Tags:

No comments: