From 952c2f75c25b70a6ebe4d457339b4fdcefd00f3a Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Fri, 9 Sep 2022 05:12:17 -0500 Subject: [mdoc]: Support AD string; sets default adj mode. * tmac/mdoc/doc-common (Sh): Set adjustment mode to user-specified default, not troff's default (and not only in troff mode). * tmac/mdoc/doc-ditroff: * tmac/mdoc/doc-nroff: Process `AD` string setting from command line as man(7) does. * tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff): Document it. * NEWS: Add and update items. Fixes part of . --- NEWS | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5e068e3bf..0d43a2f97 100644 --- a/NEWS +++ b/NEWS @@ -241,10 +241,10 @@ o Part of the an (man) macro package has been renamed from `an-old.tmac` this. The man-db man(1) implementation has, since 2001, used "-mandoc" preferentially if available when man-db is configured. -o The an (man) macro package supports a new `AD` string to put the - default adjustment mode under user control at rendering time. The - default is "b" (adjust lines to both margins) as has been the Unix - man(7) default since 1979. +o The an (man) and doc (mdoc) macro packages support a new `AD` string + to put the default adjustment mode under user control at rendering + time. The default is "b" (adjust lines to both margins) as has been + the Unix man(7) default since 1979. o The an (man) and doc (mdoc) macro packages support new `CS` and `CT` registers to control rendering of man page section headings and titles @@ -282,10 +282,8 @@ o The groff_man(7) man page documenting the groff implementation of the material supplemented with explanations, examples, and advice for the reader who is not an expert in *roff systems or in writing man pages. -o The doc (mdoc) macro package now honors the C and HY registers as the - an (man) package does. It furthermore recognizes the `AD` string (see - above) for compatibility with an (man), but at present ignores its - value. +o The doc (mdoc) macro package now honors the `C` and `HY` registers as + the an (man) package does. o The e (me) macro package has changed its support for output line numbering with the `n1` and `n2` macros to resolve several bugs in the -- cgit v1.2.1