Haddock and man pages
Matthew Walton
matthew at alledora.co.uk
Mon Jan 5 21:29:27 EST 2004
Simon Marlow wrote:
>
>
>>I think there is some software to translate some DocBook
>>derivate to man
>>pages. Maybe one could use the DocBook export mechanism of
>>Haddock for man
>>page production. Just and idea.
>
>
> Haddock's DocBook output support needs a lot of work - I originally
> started on the DocBook output before switching to HTML quite early on.
> The intention was always to have a form of printable output too, and
> indeed Haddock is internally structured in such a way that adding
> different output formats shouldn't be too hard.
>
> I think having a means for producing man pages would be a big win.
> Patches gratefully accepted, as always!
I'm tempted to have a go at producing man pages from Haddock. I suppose
doing it via DocBook might be the more sensible option, what with all
the DocBook tools which are available, but I'm much more tempted to do
it directly to man. It's an excuse to learn how to write man pages, at
the very least.
Don't hold your breath though, the only serious thing I've attempted in
Haskell before was my final year project at University, and although
that went moderately well it was hardly brilliant. Still, one has to
start somewhere doesn't one?
Regards
Matthew
More information about the Haskell
mailing list