[Haskell-cafe] lhs2tex and line numbers

Andres Loeh andres.loeh at googlemail.com
Mon Feb 14 12:23:33 CET 2011


Hi.

> How could I convince lhs2tex to add in poly mode line numbers before
> each code line in code block?

A long time ago, I've written some experimental code that achieves
line numbering in lhs2tex. I've committed the files to the github
repository, so you can have a look at the .fmt file and the demo
document in

https://github.com/kosmikus/lhs2tex/tree/master/ExtLibrary/lineno

HTH,
  Andres



More information about the Haskell-Cafe mailing list