Re: [Haskell-cafe] lhs2tex and line numbers

2011-02-14 Thread Andres Loeh
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

Re: [Haskell-cafe] lhs2tex and line numbers

2011-02-14 Thread Mitar
Hi! On Mon, Feb 14, 2011 at 12:23 PM, Andres Loeh andres.l...@googlemail.com wrote: 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

[Haskell-cafe] lhs2tex and line numbers

2011-02-12 Thread Mitar
Hi! How could I convince lhs2tex to add in poly mode line numbers before each code line in code block? Mitar ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] lhs2TeX and line numbers in error messages produced by LaTeX

2005-05-02 Thread Stefan Wehr (formerly Heimann)
Hi! I use lhs2TeX for typesetting literate haskell code. The problem is that LaTeX uses the line numbers from the .tex file generated by lhs2TeX and not the line number from the original .lhs file when producing error messages. Does anyone have a solution for this problem? Cheers, Stefan

Re: [Haskell-cafe] lhs2TeX and line numbers in error messages produced by LaTeX

2005-05-02 Thread Andres Loeh
I use lhs2TeX for typesetting literate haskell code. The problem is that LaTeX uses the line numbers from the .tex file generated by lhs2TeX and not the line number from the original .lhs file when producing error messages. Does anyone have a solution for this problem? Sorry, I don't. I