[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 12/12: [ms]: Note ".NH S" as a GNU extension.
From: |
G. Branden Robinson |
Subject: |
[groff] 12/12: [ms]: Note ".NH S" as a GNU extension. |
Date: |
Fri, 12 Mar 2021 00:42:37 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 531129ee348cca7c514ff61c94f2c0950ec5392c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Mar 11 16:19:53 2021 +1100
[ms]: Note ".NH S" as a GNU extension.
* doc/groff.texi (Headings in ms):
* doc/ms.ms (Headings):
* tmac/groff_ms.7.man (Usage/Headings): Note ".NH S" as a GNU extension.
---
doc/groff.texi | 7 ++++++-
doc/ms.ms | 2 ++
tmac/groff_ms.7.man | 2 ++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index 5c97eb1..e7f2bbc 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -3145,7 +3145,8 @@ emits a warning on the standard error stream.
Alternatively, a first argument of@tie{}@code{S} can be given, followed
by integral arguments to number the levels of the heading explicitly.
Further automatic numbering, if used, resumes using the specified
-heading level indices as their predecessors.
+heading level indices as their predecessors. This feature is a GNU
+extension.
@endDefmac
An example may be illustrative.
@@ -4217,6 +4218,10 @@ R} will right adjust lines, but it doesn't
work''.@footnote{``Typing Documents on the UNIX System: Using the -ms
Macros with Troff and Nroff''; M.@: E.@: Lesk; Bell Laboratories; 1978.}
In @code{groff} @file{ms}, 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.
@end itemize
@Defmpreg {GS, ms}
diff --git a/doc/ms.ms b/doc/ms.ms
index 460f01e..ba0c09d 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -658,6 +658,8 @@ explicitly.
Further automatic numbering,
if used,
resumes using the specified heading level indices as their predecessors.
+.
+This feature is a GNU extension.
T}
.TE
.
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index d4aae67..0c71e97 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -524,6 +524,8 @@ Further automatic numbering,
if used,
resumes using the specified heading level indices as their predecessors.
.
+This feature is a GNU extension.
+.
.
.PP
After invocation of
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 12/12: [ms]: Note ".NH S" as a GNU extension.,
G. Branden Robinson <=