groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 11/22: [ms]: Recast and sync .NH documentation item.


From: G. Branden Robinson
Subject: [groff] 11/22: [ms]: Recast and sync .NH documentation item.
Date: Tue, 27 Jul 2021 22:34:24 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 4f2edf92a3516e09030d985ebda4ff6626ba056a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jul 27 20:08:28 2021 +1000

    [ms]: Recast and sync .NH documentation item.
    
    The ".NH S" "differences" item was misleading.  It was always possible
    in ms to number your headings explicitly (just use .SH and type them on
    the next line).
---
 doc/groff.texi      |  3 ++-
 doc/ms.ms           | 10 ++++++++++
 tmac/groff_ms.7.man |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 4520e43..aca3fd3 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -4345,7 +4345,8 @@ it does.
 
 @item
 @code{groff} @file{ms} handles @code{S} as the first argument to the
-@code{NH} macro specially, allowing explicit numbering of headings.
+@code{NH} macro specially, allowing alteration of the automatic heading
+numbering sequence.
 
 @item
 @code{groff} @file{ms} supports the @code{PN} register, but it is not
diff --git a/doc/ms.ms b/doc/ms.ms
index 66a520b..74052f4 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -2849,6 +2849,16 @@ it does.
 .
 .PP
 .I "groff ms"
+handles
+.CW S \[rq] \[lq]
+as the first argument to the
+.CW NH
+macro specially,
+allowing alteration of the automatic heading numbering sequence.
+.
+.
+.PP
+.I "groff ms"
 supports the
 .CW PN
 register,
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 64ed183..4e3a045 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -1913,7 +1913,7 @@ handles
 as the first argument to the
 .B NH
 macro specially,
-allowing explicit numbering of headings.
+allowing alteration of the automatic heading numbering sequence.
 .
 .
 .IP \[bu]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]