groff-commit
[Top][All Lists]
Advanced

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

[groff] 15/28: tmac/an.tmac (PT): Be consistently paranoid.


From: G. Branden Robinson
Subject: [groff] 15/28: tmac/an.tmac (PT): Be consistently paranoid.
Date: Mon, 4 Mar 2024 07:42:38 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit efa38b8873187fc2209d5c223e4554cef75c440a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Mar 3 20:25:39 2024 -0600

    tmac/an.tmac (PT): Be consistently paranoid.
    
    The idea of a "page ref string" (like "ls(1)") with leading space in it
    strikes me as dubious, but for the time being we accept it; do so
    consistently.
---
 ChangeLog    | 7 +++++++
 tmac/an.tmac | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index b35afbd05..f102887b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-03-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac (PT): Be consistently paranoid.  The idea of a
+       "page ref string" (like "ls(1)") with leading space in it
+       strikes me as dubious, but for the time being we accept it; do
+       so consistently.
+
 2024-03-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/an.tmac (SH): Fix code style nit.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index a47adaae5..3ac8326c0 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -440,7 +440,7 @@
 .  \" man(7) document; a changed identifier and section indicates this.
 .  if !'\\*[an*page-ref-string]'\\*[an*previous-page-ref-string]' \{\
 .    an*bookmark 1 "\\*[an*page-ref-string]"
-.    ds an*previous-page-ref-string \\*[an*page-ref-string]
+.    ds an*previous-page-ref-string "\\*[an*page-ref-string]
 .  \}
 .  tl '\\*[an-pageref]'\\*[an-extra3]'\\*[an-pageref]'
 .  ie \\n[cR] \{\



reply via email to

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