Quote:
Originally Posted by ratinox
Are you sure about that?
|
Yes, I am sure.
Quote:
Originally Posted by ratinox
I was under the impression that groff uses the mandoc(1) program or code when the -mandoc switch is used.
|
That is incorrect. groff has been used for manpages since the early nineties, and the mandoc program was only created in 2008. But even current groff has never used mandoc in that way, or any way.
Quote:
Originally Posted by ratinox
I do know that standalone mandoc on BSD is designed specifically and only for man pages where groff and other roff-alikes are general purpose markup parsers, so if groff isn't using mandoc(1) then that would be a reason for the differences.
|
Yes, this is reasonably accurate. To groff, the -mandoc switch is just like any of its other macro language switches like -ms or -mm; it loses track of the manpage semantics along the way which has a negative impact on its HTML.