man to html conversion question

Jim Brown jpb at sixshooter.v6.thrupoint.net
Thu May 15 01:05:57 UTC 2003


* Giorgos Keramidas <keramida at ceid.upatras.gr> [2003-05-14 15:38]:
> On 2003-05-14 01:08, Jim Brown <jpb at sixshooter.v6.thrupoint.net> wrote:
> >* John <jwd at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe at 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 at 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
===



More information about the freebsd-doc mailing list