Is it possible to convert the default HTML output of Haddock into TeX/ LaTeX? I mean, I frequently produce my program documentation now with a haddock -h Example.hs command, that generates Example.html. But I would be able to integrate the generated text into a broader Latex project, so it would be nice to have an Example.tex file as well with more or less the same information and layout than the Example.html. I tried to gnuhtml2latex Example.html But the resulting tex file is a mess.