gbranden pushed a commit to branch master
in repository groff.
commit 97c7c479318f7f4c8f66625e353b1b55167c34f0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Feb 28 16:36:56 2025 -0600
[doc,man]: Clarify behavior of `nn` request.
---
doc/groff.texi.in | 21 +++++++++++++++++----
man/groff.7.man | 4 ++--
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index dfee47600..16c44be7f 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -17116,10 +17116,23 @@ This guy's arrogance takes your breath away.
@DefreqList {nn, [@Var{skip}]}
@DefregListEndx {.nn}
-Suppress numbering of the next @var{skip} output lines that would
-otherwise be numbered. The default is@tie{}1. @code{nn} can be invoked
-when line numbering is not active; suppression of numbering will take
-effect for @var{skip} lines once @code{nm} enables it.
+Suppress numbering of the next
+@var{skip}
+output lines counted by the
+@code{nm}
+request.
+If
+@var{skip}=0,
+@c XXX: negative values accepted; check AT&T troff
+cancel suppression.
+The default is@tie{}1.
+@code{nn}
+can be invoked when line numbering is not active;
+suppression of numbering takes effect for
+@var{skip}
+lines once
+@code{nm}
+enables it.
The @code{.nn} register stores the count of output lines still to have
their numbering suppressed.
diff --git a/man/groff.7.man b/man/groff.7.man
index ccdd290e1..ff67bb3df 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -3926,14 +3926,14 @@ numeral widths
.
.TPx
.REQ .nn
-Suppress numbering of the next output line to be numbered with
+Suppress numbering of the next output line counted by
.BR nm .
.
.TPx
.REQ .nn n
Suppress numbering of the next
.I n
-output lines to be numbered with
+output lines counted by
.BR nm .
.
If
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit