lhs2tex 1.17

A preprocessor to generate LaTeX from literate Haskell sources
lhs2TeX is a preprocessor to generate LaTeX code from literate Haskell sources.

Requirements:

It has been verified to build on Linux and MacOSX.

- You need a recent version of GHC (5.04.X or higher should do) to build lhs2TeX, and, of course, you need a TeX distribution to make use of lhs2TeX's output. The program includes a configuration that is suitable for use with LaTeX. In theory, there should be no problem to generate code for other TeX flavors, such as plainTeX or ConTeXt.

Main features:

  • Different styles to process your source file: for instance, "tt" style uses a monospaced font for the code while still allowing you to highlight keywords etc, whereas "poly" style uses proportional fonts for identifiers, handles indentation nicely, is able to replace binary operators by mathematical symbols and take care of complex horizontal alignments.
  • Formatting directives, which let you customize the way certain tokens in the source code should appear in the processed output.
  • A liberal parser that can handle most of the language extensions; you don't have to restrict yourself to Haskell 98.
  • Preprocessor-style conditionals that allow you to generate different versions of a document from a single source file (for instance, a paper and a presentation).
  • Active documents: you can use Haskell to generate parts of the document (useful for papers on Haskell).
  • A manual explaining all the important aspects of lhs2TeX.

last updated on:
June 14th, 2012, 6:58 GMT
price:
FREE!
developed by:
Andres Löh
homepage:
www.cs.uu.nl
license type:
GPL (GNU General Public License) 
category:
ROOT \ Programming \ Preprocessors

FREE!

In a hurry? Add it to your Download Basket!

user rating 23

3.2/5
 

0/5

Rate it!
What's New in This Release:
  • This release should work properly with ghc-7.0.2 and Cabal-1.10.
read full changelog

Add your review!

SUBMIT