Re: groff does not respect requests '.nh' and '.ad l' in man pages

"G. Branden Robinson" <[email protected]> Tue, 10 Mar 2026 18:30:40 -0500
Newsgroups gmane.comp.printing.groff.general
Message-ID <20260310233040.s4dgxmxdaneypyfb@illithid>
[self-follow-up]

At 2026-03-10T18:04:30-0500, G. Branden Robinson wrote:
> (Document source attached.)

I seldom fail to fail at that.  Trying again.

Also I have a tweak to the groff_man(7) and groff_man_style(7) pages
pending, and expect to ship this tweak in groff 1.24.1 this weekend.

commit aaf0d14c402a89f4ac349fc8dc6c7a5748b5f579 (HEAD)
Author: G. Branden Robinson <[email protected]>
Date:   Tue Mar 10 18:19:02 2026 -0500

    groff_man*(7): Clarify paragraphing macro actions.
    
    * They reset the adjustment mode to the configured default.
    * The default font style is not configurable (via the macro interface).

diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index 8ad36dc39..a617d7803 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -849,8 +849,10 @@ .SS "Paragraphing macros"
 Except for
 .BR TQ ,
 these macros
-reset the type size and font style to defaults,
-and restore the configured hyphenation mode.
+reset the type size,
+hyphenation,
+and adjustment to (configured) defaults,
+and the font style to roman.
 .\" slack wording for managing stranded lines in PS/PDF output
 .\" [end previous text line with semicolon, not period]
 .\"see subsections \[lq]Font style macros\[rq] and \[lq]Options\[rq]

The page layout is extremely tight at this point.  One more line in that
paragraph and the groff_man(7) document grows by an entire page in U.S.
letter paper format, and consequently the whole groff-man-pages.pdf
collection.

Some day I hope to get the word "mode" back in there.

Regards,
Branden
bjarni.man (application/x-troff-man, 1.2 KB) - not displayed
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmmwqaAACgkQ0Z6cfXEm
bc79TQ/9FmzP9VPHpIJLVid0v38XvbaOD5Pe33/vC30E6Fii7m5gM8oe1WNLaNcM
9eBanjghONQJW20HBtfq7a4BxgvY023jZnkNAYCGhuxqDYH4Q3vOR/wO+7y8dsiX
cgkNO694JaziwAT/BifNuHxAWUmJCRv+DU12ei6xTa4drmrEuLWSQ5aOXgsiVCyC
NUi+GgsAjc4gRNFlLDQTNjj4zWJB2i5NZgt2G9ft7UU5a5itRHyIZr6IhX7UvsEn
NENel0XmLMqkD9iUK+6U/kxtbH2pbRag2BPRyRVq9d0XvQxc8fOcROICcHLosHEa
3adcADV5b8/P/wy5gsZoYarEq6WV3UR5Uk9snHt0ashK9g2FqYPfHu6O9y4kYiBV
nRfAjslKVzzIaFUM2LUx8VPp5QYB1COaL+Tr8VfS5h9hmY0IPr55zQdpPlYMPIKJ
0mJSHWnM0Kpp0CZu16i8FG/MVROCC2HI7mKBHv7LVYYtGT9HDJVi33m4dvzfSZwY
2H1nSHArHUgTO99zx0tVS28ZIbrTqSd6AtwMCRfO4NqpvtTXFlzYnulY/BbL3Qsq
oQvol3NW5/VIwx/4m+A/m9144J3Jp5wlURpsAd5LrDWWGp+N2wc0eEWpfIwT7jmy
a6x8LZSjRndySk2O3U1mYLzSf7SF6QmXMhkHcZJn07kPQTToDWU=
=K4E5
-----END PGP SIGNATURE-----