Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2003 21:05:55 -0400
From:      Jim Brown <jpb@sixshooter.v6.thrupoint.net>
To:        doc@freebsd.org
Subject:   Re: man to html conversion question
Message-ID:  <20030515010555.GA22577@sixshooter.v6.thrupoint.net>
In-Reply-To: <20030514192204.GB1751@gothmog.gr>
References:  <20030514010340.GA59773@BSDWins.Com> <20030514050814.GA20560@sixshooter.v6.thrupoint.net> <20030514192204.GB1751@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
* Giorgos Keramidas <keramida@ceid.upatras.gr> [2003-05-14 15:38]:
> On 2003-05-14 01:08, Jim Brown <jpb@sixshooter.v6.thrupoint.net> wrote:
> >* John <jwd@bsdwins.com> [2003-05-13 21:04]:
> >>
> >> The manpage converted to html via:  groff -man -Thtml
> >
> > With a liberal sprinkling of null content .Bd + .Ed pairings
> > I was able to get the section headers to behave, but there
> > are still some minor glitches with lists.
> 
> > --- apcpwr.8    Tue May 13 20:37:11 2003
> > +++ NEWapcpwr.8 Wed May 14 00:56:28 2003
> > @@ -18,46 +18,60 @@
> >  .Nm
> >  .Op Fl f
> >  .Ar reboot outletname
> > +.Bd -literal
> > +.Ed
> >  .Sh DESCRIPTION
> >  The
> 
> Please, don't.  First of all try to use -mandoc and not -man.  The
> manpages of FreeBSD don't use the -man macro package for formatting.
> 
> - Giorgos
> 
> _______________________________________________
> freebsd-doc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
> 


Oops, sorry- incomplete post.  My build line was:

groff -Thtml  -mdoc NEWapcpwr.8 > NEWapcpwr.html


But the results are still unsatisfactory.  The -Tascii 
version looks fine, but the HTML version still has formatting
problems.

I've posted them as follows:

http://sixshooter.v6.thrupoint.net/apcpwr/apcpwr.8
http://sixshooter.v6.thrupoint.net/apcpwr/apcpwr.8.diff
http://sixshooter.v6.thrupoint.net/apcpwr/NEWapcpwr.8
http://sixshooter.v6.thrupoint.net/apcpwr/NEWapcpwr.html

apcpwr.8       - original post from John <jwd@bsdwins.com>
apcpwr.8.diff  - diff -u apcpwr.8 NEWapcprw.8
NEWapcpwr.8    - my patches from the previous post already applied.
NEWapcpwr.html - formatting problems still show up under the COMMANDS section.
                 though the section headers now behave.

Anyone else have any insight here?

Best Regards,
jpb
===



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515010555.GA22577>