[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] html output of Op vs Oo Oc
From: |
Ingo Schwarze |
Subject: |
Re: [groff] html output of Op vs Oo Oc |
Date: |
Fri, 16 Feb 2018 22:00:09 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
Hi Jan,
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.
Yours,
Ingo