lhs2TeX-hl: Literate highlighter preprocessor for lhs2tex

[ development, language, mit, program ] [ Propose Tags ]

A helper executable for highlighting code with lhs2tex. It parses any haskell file and outputs a format file to be used with lhs2tex. Currently no recursion is supported.

[Skip to Readme]
Versions [faq],,,,,, 0.1.3,,,,,,,,,
Dependencies Agda (>=2.2.6), base (>=4 && <=5), cmdargs (>=0.1), haskell-src-exts (>=1.9.3), haskell98, MissingH (>=, syb (>= [details]
License MIT
Author Alessandro Vermeulen <me@alessandrovermeulen.me>
Maintainer Alessandro Vermeulen <me@alessandrovermeulen.me>
Category Development, Language
Uploaded by AlessandroVermeulen at Sun Oct 24 00:25:15 UTC 2010
Distributions NixOS:
Executables lhs2TeX-hl
Downloads 6671 total (177 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 6 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for lhs2TeX-hl-

[back to package description]
  Literate HS to TeX Highlighter Helper
  Hi there,
  This is the very first release of the lhs2tex helper for syntax highlighting.
  Use it in addition with lhs2tex. Due to a huge demand I make this tool 
  publicly available. Use it your own risk. I am not responsible for any
  conveniences or inconveniences caused by using this software.
  It aims to detect the `kind' of a token either by it's use or it's
  declaration. Trying to detect both local declarations and usages.
  Alessandro Vermeulen
  * Download the zip file.
  * Extract
  * Go to the directory and run
    > cabal install
  * That's all
  For more details see:
  > lhs2TeX-hl --help
  Currently this is the only way to work with the tool.
  In your .tex files add %include OUTPUFILE to tell lhs2tex to use the generated
  formatting directives. You'll need to provide the following commands yourself:
  * \lhsCHkeyword
  * \lhsCHprelude
  * \lhsCHtype
  * \lhsCHlitNumber
  * \lhsCHconstructor
  * \lhsCHfunction
  * \lhsCHinfixoperator
  * Infix operators may not work that great, or normal functions that are used
  * It doesn't do literal string and char highlighting yet.
  * AGDA isn't supported yet unfortunately.
  * Errors aren't that informative. :)