lhs2tex preprocessor generates LaTeX document from literate Haskell sources.
With formatting directives, you can further customize the way certain tokens in the source code appear in the processed output. And with a liberal parser that can handle most language extensions, you don't have to restrict yourself to Haskell 98. Preprocessor-style conditionals further allow you to generate different versions of a document from a single source file, making it the perfect choice for papers and presentations.
And with active documents, you can use Haskell to generate parts of the document, making it an ideal choice for papers on Haskell. To get started, all you need is a recent version of GHC and a TeX distribution to make use of lhs2TeX's output. The program includes a configuration that is suitable for use with LaTeX, although in theory, there should be no problem to generate code for other TeX flavors, such as plainTeX or ConTeXt.
But that's not all. This release includes several new features and modes, making it more powerful and versatile than ever before. So whether you're looking for a preprocessor to help generate LaTeX code from literate Haskell sources, or simply want to explore new options for code formatting and customization, lhs2TeX is definitely worth a look.
Version 1.9: N/A