Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
lhs2TeX
[go: Go Back, main page]

lhs2TeX

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

lhs2TeX includes the following 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.

Version 1.9, released January 23, 2004

Released under the GPL.

lhs2TeX is included in Debian and in Gentoo.

Development version (1.10 prerelease), April 1, 2004

  • Manual (pdf)
  • Source distribution for Unix-like systems (.tar.bz2)
  • Experimental Windows binary installer (.exe)
Practical experience shows that this version is at least as good as 1.9. I therefore recommend to use the prerelease.

Repository

Currently, lhs2TeX is developed in a svn repository. If you want to checkout the latest version, say

svn checkout https://svn.cs.uu.nl:12443/repos/lhs2TeX/lhs2TeX/trunk lhs2TeX


last modified: Andres Löh, 26.04.2005