[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64572] [man] UR, MT with no link text misrender on PDF when -rU1
From: |
G. Branden Robinson |
Subject: |
[bug #64572] [man] UR, MT with no link text misrender on PDF when -rU1 |
Date: |
Tue, 22 Aug 2023 11:22:03 -0400 (EDT) |
Update of bug #64572 (project groff):
Severity: 3 - Normal => 4 - Important
Status: None => In Progress
Assigned to: None => gbranden
_______________________________________________________
Follow-up Comment #3:
A simple fix restores missing text, which is the graver problem, and easy.
A better fix will get hyperlinking actually working.
But this way we don't regress relative to 1.23.0 (or 1.22.4, if the user sets
the `U` register to 1).
diff --git a/ChangeLog b/ChangeLog
index 00fe1c9aa..e1cc60ce8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-08-22 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/an.tmac: Stop setting `an*can-hyperlink` if formatting
+ for PDF; we don't yet have support for this implemented, leading
+ to vanishing text when the `U` register is true and, for
+ instance, `UR`/`UE` are called with no link text.
+
+ Fixes <https://savannah.gnu.org/bugs/?64572>.
+
2023-08-21 G. Branden Robinson <g.branden.robinson@gmail.com>
* doc/doc.am (PROCESSEDFILES_DEPS_HTML): Depend on
diff --git a/tmac/an.tmac b/tmac/an.tmac
index f614cef03..c3b1598a4 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1315,7 +1315,6 @@ contains unsupported escape sequence
.
.nr an*can-hyperlink 0
.if ( \n[an*is-output-html] \
- : \n[an*is-output-pdf] \
: \n[an*is-output-terminal]) \
. nr an*can-hyperlink 1
.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64572>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/