Date: Mon, 04 Sep 2023 01:26:12 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 273245] textproc/groff: groff_mdoc(7): output from 'man 7 groff_mdoc' is badly broken Message-ID: <bug-273245-9-8OgqDtTc0E@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273245-9@https.bugs.freebsd.org/bugzilla/> References: <bug-273245-9@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273245 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 ra= ther 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=3D1.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=3D72 git diff --stat 1.22.4 1.23.0 tmac/groff_mdoc.7.man 2>/dev/n= ull tmac/groff_mdoc.7.man | 3654 ++++++++++++++++++++++++++--------------- 1 file changed, 2364 insertions(+), 1290 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273245-9-8OgqDtTc0E>