View Single Post
Old 12-06-2024, 07:28 PM   #19
Kurler
Junior Member
Kurler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: none
Quote:
Originally Posted by ratinox View Post
Are you sure about that?
Yes, I am sure.
Quote:
Originally Posted by ratinox View Post
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 View Post
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.
Kurler is offline   Reply With Quote