[Bug 273245] textproc/groff: groff_mdoc(7): output from 'man 7 groff_mdoc' is badly broken
Date: Mon, 04 Sep 2023 01:26:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273245
G. Branden Robinson <g.branden.robinson@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |g.branden.robinson@gmail.co
| |m
--- Comment #3 from G. Branden Robinson <g.branden.robinson@gmail.com> ---
It appears to me like the page is being formatted with the `-man` option rather
than the recommended `-mandoc`. (`-mdoc` should also work.)
This was a change in _groff_ 1.23.0.
NEWS:
o Part of the an (man) macro package has been renamed from "an-old.tmac"
to "an.tmac", replacing a file that sourced the "andoc.tmac" wrapper.
This means that the "-man" argument to groff (or nroff, or troff) will
no longer load the andoc wrapper, and not successfully format mdoc(7)
man pages. If you are not sure which macro package a given man page
uses, or you wish to batch-process a series of man pages written
variously in the man and mdoc formats, be sure to call the formatter
with the "-mandoc" option explicitly, as "-man" will no longer do
this. The man-db man(1) implementation has, since 2001, used
"-mandoc" preferentially if available when man-db is configured.
https://git.savannah.gnu.org/cgit/groff.git/tree/NEWS?h=1.23.0#n268
Regarding the word "comprises", the content of _groff_mdoc_(7) changed a bit
from _groff_ 1.22.4 to 1.23.0.
$ COLUMNS=72 git diff --stat 1.22.4 1.23.0 tmac/groff_mdoc.7.man 2>/dev/null
tmac/groff_mdoc.7.man | 3654 ++++++++++++++++++++++++++---------------
1 file changed, 2364 insertions(+), 1290 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.