Допис з розмови
haddock and latex
Path: g2news1.google.com!postnews.google.com!y7g2000yqa.googlegroups.com!not-for-mail
From: noknok <bucephalus....@gmail.com>
Newsgroups: comp.lang.haskell
Subject: haddock and latex
Date: Wed, 27 May 2009 07:38:11 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <0e687e94-3871-446e-83ed-c5ade746d098@y7g2000yqa.googlegroups.com>
NNTP-Posting-Host: 77.250.13.83
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1243435092 28289 127.0.0.1 (27 May 2009 14:38:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 27 May 2009 14:38:12 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: y7g2000yqa.googlegroups.com; posting-host=77.250.13.83;
posting-account=XWYWfQoAAACqT8wTtiR8qpQI6ULEa0XS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US;
rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8,gzip(gfe),gzip(gfe)
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.