lhs2tex icon indicating copy to clipboard operation
lhs2tex copied to clipboard

Preprocessor for typesetting Haskell sources with LaTeX

Results 51 lhs2tex issues
Sort by recently updated
recently updated
newest added

The examples in lhs2TeX guide should selectively use ‘explicit spaces’ to illustrate the use of spacing for alignment purposes. I anticipate we will need to use a special character to...

documentation

lhs2TeX does not recognise Haddock comments starting with `-- |` or `-- ^`.

enhancement

Figure out a way to handle certain page breaks better. There are at least two situations where the current situation is bad: - If a single line precedes a code...

enhancement

Reported to me by siracusa on #haskell. Hardly any sanity testing is performed for %subst directives. If the RHS mentions a variable that isn't bound on the lhs, then a...

bug-on-incorrect-input

The following loops and leaks memory quickly. This got my lhs2TeX up to 23GB RAM usage—took me a while to kill it. Replacing `Bar` by `bar` fixes it—because `Bar` is...

bug-on-incorrect-input

Experiments on my thesis suggest that `\mathpunct{.}` is typically more correct than plain`.` for separators after `\forall`, and can be specified via: ``` % Hook into forall.fmt: % Add proper...

enhancement
backward-compatibility

This must be an insignificant rant, but can something be done to improve this typesetting? ![swaygrab_1509108057-cut](https://user-images.githubusercontent.com/2599460/32104537-188e9336-bb4f-11e7-86cc-9428fcc37397.png) It's way spread out and not nicely vertically aligned: the `$` character is way...

I really like `lhs2Tex` for its vertical alignment, but somtimes other features get into the way. I would therefore love to have a `polytext` mode that does - [ ]...

Hello. If you declare a pragma with underscore symbol then it will be translated in a code unreadable by pdflatex. ``` $ lhs2Tex --version lhs2TeX 1.22, Copyright (C) 1997-2017 Ralf...

~First two commits are related to now deprecated `\tt` and `\bf` which break hard with some config.~ *edit: cherry-picked* https://www.tug.org/pipermail/tex-live/2016-July/038990.html The second, tries to be more strict while parsing characters,...