groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/16: [man]: Fix Savannah #51468.


From: G. Branden Robinson
Subject: [groff] 02/16: [man]: Fix Savannah #51468.
Date: Thu, 9 Jun 2022 23:59:13 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 09c028f35ace54bfc3593bc24e5567a8b9aec3d1
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jun 7 02:24:59 2022 -0500

    [man]: Fix Savannah #51468.
    
    * tmac/an.tmac (SH, SS, B, I, SM, SB): Set input trap with `it` instead
      of `itc` for better Unix Version 7 man(7) compatibility.
    
    Fixes <https://savannah.gnu.org/bugs/?51468>.  Also see discussion at
    https://lists.gnu.org/archive/html/groff/2022-06/msg00020.html et
    sequentia (amid a vigorous bikeshedding of `\&`'s name).
    
    This exposes markup errors in several man pages that use `TP` with `\c`
    and single-font macros.
---
 ChangeLog    | 10 ++++++++++
 tmac/an.tmac | 12 ++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 41049a83..66e729fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-06-07  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac (SH, SS, B, I, SM, SB): Set input trap with `it`
+       instead of `itc` for better Unix Version 7 man(7) compatibility.
+
+       Fixes <https://savannah.gnu.org/bugs/?51468>.  Also see
+       discussion at
+       https://lists.gnu.org/archive/html/groff/2022-06/msg00020.html
+       et sequentia (amid a vigorous bikeshedding of `\&`'s name).
+
 2022-06-07  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [man]: Regression-test use of input traps.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index b67f60cc..b8c83887 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -664,7 +664,7 @@ contains unsupported escape sequence
 .  ti 0
 .  nr an-devtag-needs-end-of-heading 1
 .  DEVTAG-SH 1
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  nr an-need-no-space-mode 1
 .  nr an-need-break 1
 .  ps \\n[PS-SH]u
@@ -691,7 +691,7 @@ contains unsupported escape sequence
 .  ti \\n[SN]u
 .  nr an-devtag-needs-end-of-heading 1
 .  DEVTAG-SH 2
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  nr an-need-no-space-mode 1
 .  nr an-need-break 1
 .  ps \\n[PS-SS]u
@@ -709,7 +709,7 @@ contains unsupported escape sequence
 .\" Set arguments (or next input line producing written or drawn output
 .\" if none) in bold style.
 .de1 B
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  ft B
 .  if \\n[.$] \&\\$*
 ..
@@ -717,7 +717,7 @@ contains unsupported escape sequence
 .\" Set arguments (or next input line producing written or drawn output
 .\" if none) in italic style.
 .de1 I
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  ft I
 .  if \\n[.$] \,\\$*\/
 ..
@@ -725,7 +725,7 @@ contains unsupported escape sequence
 .\" Set arguments (or next input line producing written or drawn output
 .\" if none) at smaller type size.
 .de1 SM
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  ps -1
 .  if \\n[.$] \&\\$*
 ..
@@ -734,7 +734,7 @@ contains unsupported escape sequence
 .\" if none) in bold style at smaller
 .\" type size.
 .de1 SB
-.  itc 1 an-input-trap
+.  it 1 an-input-trap
 .  ps -1
 .  ft B
 .  if \\n[.$] \&\\$*



reply via email to

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