[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63527] [mdoc] .Nm duplicates parameters from supplementary calls i
From: |
G. Branden Robinson |
Subject: |
[bug #63527] [mdoc] .Nm duplicates parameters from supplementary calls in "NAME" section |
Date: |
Wed, 14 Dec 2022 19:04:50 -0500 (EST) |
Follow-up Comment #3, bug #63527 (project groff):
One-character typo! Priceless.
$ git diff
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 4d72d6509..8fd662c07 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -201,6 +201,8 @@
.
.\" NS doc-arg-count global register
.\" NS total number of arguments
+.\" XXX: This register name and description aren't quite right, but its
+.\" old name `doc-arg-limit` doesn't seem accurate either. Demystify.
.
.nr doc-arg-count 0
.
@@ -1085,7 +1087,7 @@
. ie \n[.$] \{\
. \" Handle '.Nm ...' in "Name" section: don't use a special font.
. ie \n[doc-in-name-section] \{\
-. ie "\*[doc-topic-name]"" \
+. if "\*[doc-topic-name]"" \
. ds doc-topic-name "\$1\"
. No \$@
. \}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63527>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/