
Hi,
On 30/12/06, Michael T. Richter
wrote:
Are there any tools which I can use to render .lhs files readable? I'm fine with having them converted into documented source (i.e. source code embedded in documentation) or as pure Haskell source (but without the huge whitespace gaps) -- but I can't figure out how to get either.
The darcs code is a bit different in that the LaTeX "comments" are actually the user's manual (for the most part). The code is normally hidden when you compile the pdf. To see the code, you can apply the attached darcs patch. (You could also do it by hand; it's just a couple of changes). When you run make manual/darcs.ps, you will have a ps file that is simultaneously the darcs manual, and various bits of darcs code interspersed and highlighted in blue. (This is > 300 pages of literate darcs, mind you. Maybe just browsing it in a text editor is simpler) -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français.