[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 18/25: [mm]: Make "ms.cov" author support more flexible.
From: |
G. Branden Robinson |
Subject: |
[groff] 18/25: [mm]: Make "ms.cov" author support more flexible. |
Date: |
Tue, 29 Oct 2024 02:26:06 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 124e2f63642ca983874545757d00147a4a1ae909
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 27 23:36:32 2024 -0500
[mm]: Make "ms.cov" author support more flexible.
* contrib/mm/mm/ms.cov (cov@print-authors): Stop erroring out if no
authors are defined; `AU` can be called simply to end title
collection, no authors need be specified, and nothing breaks if they
aren't.
---
contrib/mm/ChangeLog | 6 ++++++
contrib/mm/mm/ms.cov | 3 +--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 39e826f66..4ad28589b 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-27 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * mm/ms.cov (cov@print-authors): Stop erroring out if no authors
+ are defined; `AU` can be called simply to end title collection,
+ no authors need be specified, and nothing breaks if they aren't.
+
2024-10-27 G. Branden Robinson <g.branden.robinson@gmail.com>
* m.tmac: Revamp debugging system. The existing one was
diff --git a/contrib/mm/mm/ms.cov b/contrib/mm/mm/ms.cov
index 1c1ddb30c..10580fcda 100644
--- a/contrib/mm/mm/ms.cov
+++ b/contrib/mm/mm/ms.cov
@@ -42,8 +42,7 @@ http://savannah.gnu.org/bugs/?group=groff.
..
.\"------------
.de cov@print-authors
-.ie !\\n[cov*au] .@error COVEND: no authors (AU) defined
-.el \{\
+.if \\n[cov*au] \{\
. SP
. nr cov*i 0 1
. while \\n+[cov*i]<=\\n[cov*au] \{\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 18/25: [mm]: Make "ms.cov" author support more flexible.,
G. Branden Robinson <=