groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/06: [man]: Avoid reread if TH, not RI, already exists.


From: G. Branden Robinson
Subject: [groff] 01/06: [man]: Avoid reread if TH, not RI, already exists.
Date: Sat, 15 May 2021 20:47:21 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 551f1381f301efb6ed709a88083799491da77f36
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat May 15 15:41:49 2021 +1000

    [man]: Avoid reread if TH, not RI, already exists.
    
    * tmac/an-old.tmac (initialization): Key the reprocessing guard (like a
      C language #include guard) on the existence of the TH macro instead of
      RI.  The latter seemed kind of random and TH is even more guaranteed
      to exist; it is the macro name most characteristic of the man(7)
      language and the andoc.tmac superstructure relies on it.
---
 ChangeLog        | 9 +++++++++
 tmac/an-old.tmac | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 36272d2..2f4621b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2021-05-15  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * tmac/an-old.tmac (initialization): Key the reprocessing guard
+       {like a C language #include guard} on the existence of the TH
+       macro instead of RI.  The latter seemed kind of random and TH
+       is even more guaranteed to exist; it is the macro name most
+       characteristic of the man(7) language and the andoc.tmac
+       superstructure relies on it.
+
+2021-05-15  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * m4/groff.m4 (GROFF_URW_FONTS): Update configure script check
        for URW fonts to recognize recent releases of the URW Base 35
        fonts from Artifex Software.  Look for the AR (Arial roman
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index b401ce9..c2a2b8f 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -26,7 +26,7 @@
 .if !\n(.g \
 .  ab groff man macros require groff extensions; aborting
 .
-.do if d RI .nx
+.do if d TH .nx
 .
 .do mso devtag.tmac
 .



reply via email to

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