[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 40/40: groff_mdoc(7): Rename metasyntactic variable.
From: |
G. Branden Robinson |
Subject: |
[groff] 40/40: groff_mdoc(7): Rename metasyntactic variable. |
Date: |
Sat, 12 Nov 2022 14:43:40 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 37c6ef46ce4f032c31d9dd3cb32081af85afd08e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 12 11:04:00 2022 -0600
groff_mdoc(7): Rename metasyntactic variable.
Say "section identifier" rather than "section number", since mdoc
admits non-numeric ones ("unass", "draft", "paper").
---
tmac/groff_mdoc.7.man | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index 6f55d679e..f83c9570a 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -646,7 +646,7 @@ to construct a man page from the following template.
.Bd -literal -offset indent
\&.\e" The following commands are required for all man pages.
\&.Dd date
-\&.Dt page-topic [section-number [volume-name]]
+\&.Dt page-topic [section-identifier [volume-name]]
\&.Os [package-or-operating system [version-or-release]]
\&.Sh Name
\&.Nm page-topic
@@ -877,15 +877,15 @@ manuals to automatically insert the current date when
committing.
This macro is neither callable nor parsed.
.
.
-.It Li .Dt Ar page-topic Op Ar section-number Op Ar section-name
+.It Li .Dt Ar page-topic Op Ar section-identifier Op Ar section-name
.
.Ar page-topic
is the subject of the man page.
.
A
-.Ar section-number
-that is an integer in the range 1\[en]9
-or one of the words
+.Ar section-identifier
+that begins with an integer in the range 1\[en]9
+or is one of the words
.Ql unass ,
.Ql draft ,
or
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 40/40: groff_mdoc(7): Rename metasyntactic variable.,
G. Branden Robinson <=