lhs2TeX version 1.11
We are pleased to announce a new release of lhs2TeX,
a preprocessor to generate LaTeX code from literate Haskell
lhs2TeX includes the following features:
* Highly customized output.
* Liberal parser -- no restriction to Haskell 98.
* Generate multiple versions of a program or document from
a single source.
* Active documents: call Haskell to generate parts of the
document (useful for papers on Haskell).
* A manual explaining all the important aspects of lhs2TeX.
Changes (w.r.t. lhs2TeX 1.9)
[Note that 1.10 has never been released to avoid confusion
with some privately distributed versions.]
* Specification code is now handled correctly (that is, ignored)
in the "code" and "newcode" styles.
* Comments and Pragmas are handled in a better way by
the "newcode" style.
* There are some new forms of implicit formatting directives.
* The LaTeX code produced in the poly style looks slightly
* There is a new Library section, containing some frequently
used formatting directives.
* Generation of file/linenumber directives in the produced
LaTeX code, for Stefan Wehr's "adjust" tool. Based on a
patch submitted by Stefan Wehr.
* lhs2TeX can now replace ghc's literate preprocessor.
* Improved efficiency of \eval and \perform (to call ghci
or hugs from lhs2TeX documents).
Requirements and Download
A source distribution that should be suitable for Unix-based
environments is available from
It has been verified to build on Linux and MacOSX.
Binaries will be made available on request.
You need a recent version of GHC (6.4.1 is tested, 6.2.2 might
work) 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.
Andres Loeh and Ralf Hinze
Haskell mailing list
Hi Andres. I just successfully installed & tested lhs2TeX on cygwin. The only hitch was in an inconsistent translation of "/usr/local" into "c:/cygwin/usr/local" (I guess bash vs Haskell). The fix was very simple: "./configure --prefix=c:/cygwin/usr/local" before "make" and "make install". I suggest you add a note to that effect in INSTALL.
Thanks for the lhs2TeX update!
Regards, - Conal
On 3/14/06, Andres Loeh <[hidden email]> wrote:
Haskell mailing list
|Free forum by Nabble||Edit this page|