Subject: Re: HTML documentation and such
To: Erik E. Fair <fair@clock.org>
From: Dustin Sallings <dustin@spy.net>
List: current-users
Date: 05/06/1998 18:10:16
> At 15:53 -0700 5/6/98, Ty Sarna wrote:
> 
> >Furthermore, I'd like to have CGIs that can
> >convert man, mdoc, me (for existing /usr/share/doc stuff), info, and
> >whatever else to HTML, so that one can easily make all the NetBSD
> >documentation avaible via the web in pretty formats.
> 
> I have begun work on a perl script that will convert mdoc(7) source to HTML
> 3.2. I am aware that there are endless man2html converters out there, but
> so far as I know, all of them operate on the [nt]roff *output*, which is
> wrong - too much semantic information loss.
> 
> No estimated time for completion because this is a trickier problem that it
> looks at first glance and I'm trying to avoid a complete reimplementation
> of [nt]roff. Also, there are some other demands on my time at the moment.

	As an interesting alternative for the other way around, has anyone
looked at this (``perl -MCPAN -e shell'' makes life good):

     NAME
          HTML::FormatNroff - Format HTML as nroff man page

     SYNOPSIS

           require HTML::FormatNroff;
           $html = parse_htmlfile("test.html");
           $format_nroff = new HTML::FormatNroff(name => 'trial',
                                                 project => 'MyProject');
           print $formatter->format($html);


--
SA, software.net         My girlfriend asked me which one I like better.
pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
|    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE 
L_______________________ I hope the answer won't upset her. ____________