lhs2tex: Preprocessor for typesetting Haskell sources with LaTeX

[ development, language, program ] [ Propose Tags ]

This tool is primarily intended for people who want to write articles or books using LaTeX that contain some Haskell code. It works on literate Haskell documents where the non-Haskell parts form essentially a valid LaTeX document, then processes the Haskell code in the document and replaces it with formatted LaTeX output. It is not fully automatic in the sense that it will turn an arbitrary literate Haskell document into a LaTeX document without further work.

Nearly all aspects about the output and formatting are configurable. Output of code can be made using proportional fonts in such a way that even complex horizontal alignment is preserved. The preprocessor can also be invoked in another mode to just extract the Haskell code.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.18.1, 1.19, 1.20, 1.21, 1.22, 1.23, 1.24, 1.25
Change log CHANGELOG.md
Dependencies base (>=4.2 && <5), directory (>=1.3 && <1.4), filepath (>=1.4 && <1.5), mtl (>=2.2.1 && <2.4), process (>=1.6 && <1.7), regex-compat (>=0.95.2 && <0.96) [details]
License LicenseRef-GPL
Author Ralf Hinze <ralf.hinze@comlab.ox.ac.uk>, Andres Loeh <lhs2tex@andres-loeh.de>
Maintainer Andres Loeh <lhs2tex@andres-loeh.de>
Category Development, Language
Home page https://github.com/kosmikus/lhs2tex
Bug tracker https://github.com/kosmikus/lhs2tex/issues
Source repo head: git clone https://github.com/kosmikus/lhs2tex
Uploaded by AndresLoeh at 2023-11-14T07:30:35Z
Distributions Debian:1.24, FreeBSD:1.19, NixOS:1.25
Reverse Dependencies 1 direct, 0 indirect [details]
Executables lhs2TeX
Downloads 19879 total (64 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2023-11-14 [all 1 reports]