summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2024-03-04 16:27:17 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2024-03-04 16:37:00 -0600
commit07ae5e16add548a5a481c9c9c2bbf139d4160fbe (patch)
tree0d34d02564b9680b861309a13eea214b5ecd35c2
parent4dfbb4b79b4765150b67548e4790eae0ff57e9a3 (diff)
[pdf]: Fix (harmless?) `ie`/`if` thinko.
* tmac/pdf.tmac (pdf*href): Fix (harmless?) `ie`/`if` thinko. Also bump file's copyright date, reflecting this year's changes.
-rw-r--r--ChangeLog4
-rw-r--r--tmac/pdf.tmac4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f69ff3dc8..d7722bb4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2024-03-04 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * tmac/pdf.tmac (pdf*href): Fix (harmless?) `ie`/`if` thinko.
+
+2024-03-04 G. Branden Robinson <g.branden.robinson@gmail.com>
+
[pdf]: Implement linear bookmark tag search.
* tmac/pdf.tmac (pdf:lookup): Given an argument, search defined
diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac
index 3824e7c6d..05d9f1b77 100644
--- a/tmac/pdf.tmac
+++ b/tmac/pdf.tmac
@@ -2,7 +2,7 @@
pdf.tmac
- Copyright (C) 2011-2020 Free Software Foundation, Inc.
+ Copyright (C) 2011-2024 Free Software Foundation, Inc.
Written by Deri James <deri@chuzzlewit.myzen.co.uk>
This file is part of groff.
@@ -740,7 +740,7 @@ am solely responsible for any bugs I may have introduced into this file.
. \}
. el \{\
. pdf:lookup \\*[pdf:href-D]
-. ie !'\\*[pdf:lookup-result]'' .ds PDFHREF.DESC \\*[\\*pdf:lookup-result]
+. if !'\\*[pdf:lookup-result]'' .ds PDFHREF.DESC \\*[\\*pdf:lookup-result]
. \}
. \}
. \" Apply border and colour specifications to the PDFMARK string