groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 25/31: contrib/mm/mm/5.MT: Fix missing diagnostic.


From: G. Branden Robinson
Subject: [groff] 25/31: contrib/mm/mm/5.MT: Fix missing diagnostic.
Date: Sun, 30 May 2021 11:12:37 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 58c4b2aec327989991c34c534775c094c91900f9
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
AuthorDate: Sat Nov 28 01:37:25 2020 +0000

    contrib/mm/mm/5.MT: Fix missing diagnostic.
    
    * contrib/mm/mm/5.MT (cov@print-title): Fix missing diagnostic.
    
    Fixes <https://savannah.gnu.org/bugs/?59563>.
    
    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 ChangeLog          | 7 +++++++
 NEWS               | 4 ++++
 contrib/mm/mm/5.MT | 1 +
 3 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 6c220e6..7e0aeb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-05-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
+
+       * contrib/mm/mm/5.MT (cov@print-title): Fix missing diagnostic.
+       Memorandum type 5 now requires a title to be declared with .TL.
+
+       Fixes <https://savannah.gnu.org/bugs/?59563>.
+
 2021-05-30  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [mm]: Cease warning level manipulation.
diff --git a/NEWS b/NEWS
index 5950626..ac9a8cf 100644
--- a/NEWS
+++ b/NEWS
@@ -147,6 +147,10 @@ o The doc (mdoc) macro package now honors the HY register 
as the an
   furthermore recognizes but ignores the AD string (see above) for
   compatibility with an (man).
 
+o The m (mm) macro package now requires a title to be declared when
+  memorandum type 5 is used (.MT 5), just as type 4 has since groff 1.10
+  (November 1995).
+
 o The m (mm) and s (ms) macro packages no longer manipulate the warning
   level.  If you want all warnings on, use the ".warn" request with no
   arguments in your document or pass "-w w" to groff (see troff(1) or
diff --git a/contrib/mm/mm/5.MT b/contrib/mm/mm/5.MT
index e11d5b2..f28ad2a 100644
--- a/contrib/mm/mm/5.MT
+++ b/contrib/mm/mm/5.MT
@@ -26,6 +26,7 @@ http://savannah.gnu.org/bugs/?group=groff.
 .\"------------
 .nr cov*mt0-ind 1.1c
 .de cov@print-title
+.if !d cov*title .@error title (.TL) not defined!
 .B
 .ll 9c
 .fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]