lhs2tex
Preprocessor for typesetting Haskell sources with LaTeX
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.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 1.26 | 2025-12-30 14:41 UTC | AndresLoeh | +284/−223 lines, 9 filesdep ~filepathsetup-changed | |
| 1.25 | 2023-11-14 07:30 UTC | AndresLoeh | +4361/−4098 lines, 17 filesdep ~directorydep ~filepathdep ~mtlsetup-changed | |
| 1.24 | 2020-05-01 10:17 UTC | AndresLoeh | 1 revisions | +37/−34 lines, 8 filessetup-changed |
| 1.23 | 2020-02-25 16:12 UTC | AndresLoeh | 1 revisions | +1178/−60 lines, 20 filessetup-changed |
| 1.22 | 2018-09-23 13:38 UTC | AndresLoeh | 1 revisions | +105/−42 lines, 12 filessetup-changed |
| 1.21 | 2018-09-10 11:58 UTC | AndresLoeh | 1 revisions | +537/−462 lines, 32 filesdep ~mtlsetup-changed |
| 1.20 | 2017-09-29 08:58 UTC | AndresLoeh | 1 revisions | +184/−161 lines, 62 filessetup-changed |
| 1.19 | 2015-04-01 18:41 UTC | AndresLoeh | 1 revisions | +157/−313 lines, 16 filessetup-changed |
| 1.18.1 | 2012-09-08 21:33 UTC | AndresLoeh | 1 revisions | +29/−30 lines, 7 filessetup-changed |
| 1.18 | 2012-09-04 09:35 UTC | AndresLoeh | 1 revisions | +920/−876 lines, 25 filesdep −extensible-exceptionssetup-changed |
| 1.17 | 2011-03-17 10:31 UTC | AndresLoeh | 1 revisions | +10094/−9782 lines, 67 filessetup-changed |
| 1.16 | 2010-07-22 11:43 UTC | AndresLoeh | 1 revisions | +128/−76 lines, 11 filesdep −utf8-stringdep ~basesetup-changed |
| 1.15 | 2009-12-18 12:21 UTC | AndresLoeh | 1 revisions | +4105/−4145 lines, 30 filesdep +extensible-exceptionsdep ~basesetup-changed |
| 1.14 | 2008-10-24 09:23 UTC | AndresLoeh | 1 revisions | +493/−215 lines, 34 filesdep +utf8-stringsetup-changed |
| 1.13 | 2008-02-14 22:49 UTC | AndresLoeh | 1 revisions | +336/−245 lines, 30 filesdep +directorydep +filepathdep +mtldep ~basesetup-changed |
| 1.12 | 2007-01-31 14:39 UTC | AndresLoeh | +17691/−0 lines, 167 filesdep +basedep +regex-compatbuild-type:Customsetup-changedbinary-added |
Dependencies of lhs2tex-1.26
base >=4.2 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
directory >=1.3 && <1.4 1.3.10.1 → 1.3.11.0
| 2026-05-27 05:59 UTC | 1.3.11.0 | +4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok |
| 2026-01-05 11:08 UTC | 1.3.10.1 | +4989/−4830 lines, 43 filesPVP: major bump suggested |
| 2025-12-24 02:55 UTC | 1.3.10.0 | +90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested |
| 2024-10-11 10:43 UTC | 1.3.9.0 | +235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested |
| 2024-05-20 06:52 UTC | 1.3.8.5 | +15/−13 lines, 7 filesdep ~basePVP ok |
showing 5 of 55 versions
filepath >=1.4 && <1.6 1.5.4.0 → 1.5.5.0
| 2026-01-20 08:14 UTC | 1.5.5.0 | +68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok |
| 2024-11-17 13:06 UTC | 1.5.4.0 | +26/−6 lines, 3 filesdep ~basePVP ok |
| 2024-06-29 15:30 UTC | 1.5.3.0 | +876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested |
| 2024-01-26 07:02 UTC | 1.5.2.0 | +330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok |
| 2023-11-25 08:29 UTC | 1.5.0.0 | +53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok |
showing 5 of 35 versions
mtl >=2.2.1 && <2.4 2.3.1 → 2.3.2
| 2025-12-08 04:58 UTC | 2.3.2 | +112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested |
| 2022-10-31 21:28 UTC | 2.3.1 | +188/−33 lines, 8 filesdep ~basePVP: major bump suggested |
| 2022-05-07 20:34 UTC | 2.3 | +1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok |
| 2018-02-24 22:15 UTC | 2.2.2 | +152/−36 lines, 14 filesdep ~basePVP: major bump suggested |
| 2014-06-02 02:22 UTC | 2.2.1 | +179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested |
showing 5 of 20 versions
process >=1.6 && <1.7 1.6.29.0 → 1.6.30.0
| 2026-06-11 10:14 UTC | 1.6.30.0 | +19/−1 lines, 2 filesPVP ok |
| 2026-05-24 11:03 UTC | 1.6.29.0 | +5282/−4831 lines, 7 filesdep ~basePVP ok |
| 2026-04-18 12:18 UTC | 1.6.28.0 | +70/−33 lines, 3 filesPVP ok |
| 2026-03-08 19:39 UTC | 1.6.27.0 | +3/−2 lines, 2 filesPVP ok |
| 2026-03-07 13:46 UTC | 1.6.26.2 | +4852/−5346 lines, 7 filesPVP ok |
showing 5 of 57 versions
regex-compat >=0.95.2 && <0.96 0.95.2.1 → 0.95.2.2
| 2025-03-02 15:03 UTC | 0.95.2.2 | +70/−39 lines, 5 filesdep ~arraydep ~basesetup-changedPVP: major bump suggested |
| 2021-02-20 19:16 UTC | 0.95.2.1 | +61/−27 lines, 3 filesdep ~basenew-uploaderPVP ok |
| 2019-09-30 22:58 UTC | 0.95.2.0 | +63/−54 lines, 3 filesdep ~arraydep ~basedep ~regex-basenew-uploaderPVP: major bump suggested |
| 2011-05-09 18:01 UTC | 0.95.1 outside bounds | +4/−4 lines, 1 filesdep ~regex-posixPVP ok |
| 2010-06-11 22:59 UTC | 0.93.1 outside bounds | +13/−26 lines, 2 filesdep ~basesetup-changedPVP ok |
showing 5 of 10 versions
Reverse dependencies
1 packages depend on lhs2tex