summaryrefslogtreecommitdiff
path: root/tmac/groff_mdoc.7.man
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-11-12 11:04:00 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-11-12 13:18:22 -0600
commit37c6ef46ce4f032c31d9dd3cb32081af85afd08e (patch)
tree3141ca67e2cc06027f36a8c37b05429e9d4c207f /tmac/groff_mdoc.7.man
parentde7490a7f97e432e95b9c76c1b7d54d8e39e1fe8 (diff)
downloadgroff-git-37c6ef46ce4f032c31d9dd3cb32081af85afd08e.tar.gz
groff_mdoc(7): Rename metasyntactic variable.
Say "section identifier" rather than "section number", since mdoc admits non-numeric ones ("unass", "draft", "paper").
Diffstat (limited to 'tmac/groff_mdoc.7.man')
-rw-r--r--tmac/groff_mdoc.7.man10
1 files 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