LaTeX output for HsColour


Posted by Thomas Sutton on June 19, 2006

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.

This post was published on June 19, 2006 and last modified on January 26, 2024. It is tagged with: haskell, latex.