[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: html2man ?



On Tue, Oct 23, 2001 at 01:43:51PM +0100, Mark Brown wrote:
> On Tue, Oct 23, 2001 at 07:12:17AM -0500, Colin Watson wrote:
> > On Tue, Oct 23, 2001 at 04:23:43PM +1000, Iain wrote:
> > > Does anyone know of a good program for generating man pages from html?
> 
> > Sounds really rather difficult - how are you going to get them into the
> > usual style for Unix man pages? I'd regard HTML as a target format, not
> > a source format, unless they're in a very constrained style.
> 
> If you want to do something like that then DocBook provides reference
> pages which are designed to produce man pages.

Indeed. There's even a template in
/usr/share/doc/man-db/examples/manpage.example.sgml.gz, although it may
not be perfect; send improvements to the BTS if you have any.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: