[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] html output of Op vs Oo Oc
From: |
Jan Stary |
Subject: |
Re: [groff] html output of Op vs Oo Oc |
Date: |
Fri, 16 Feb 2018 23:36:15 +0100 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
Hi Ingo,
>
> Jan Stary wrote on Mon, Feb 12, 2018 at 03:32:47PM +0100:
>
> > This is groff 1.22.3 as installed by the OpenBSD port.
> >
> > Below please find a short manpage written in mdoc(7),
> > which I am trying to process into html with
> >
> > groff -Thtml -mdoc rtpdump.1 > rtpdump.html
>
> Just don't do that. Instead, simply say
>
> mandoc -Thtml rtpdump.1 > rtpdump.html
>
> Even in cases where you do not hit outright bugs, converting
> mdoc(7) to HTML with groff loses all the semantic information,
> so debugging it isn't worth the effort.
I agree completely.
https://github.com/columbia-irt/rtptools/commit/b7784758d045223f6d2e009bf5d9b2975551ccc2
It just felt wrong not to mention the fail to groff.
Jan