deri pushed a commit to branch master
in repository groff.

commit da13fecf224f01b78ebe6cfd26dc06c960423f39
Author: Deri James <[email protected]>
AuthorDate: Fri Oct 18 19:20:25 2024 +0100

    Use new \X''.
    
    * tmac/pdf.tmac: The new \X'' code does no flush, perfect
    for hotspots. Thanks Branden.
---
 ChangeLog     | 14 ++++++++++++++
 tmac/pdf.tmac | 10 ++++------
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 833617c1c..d0c52480b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2024-10-18  Deri James  <[email protected]>
+
+       Use new \X''.
+
+       * tmac/pdf.tmac: The new \X'' code does no flush, perfect
+       for hotspots. Thanks Branden.
+
+2024-10-18  Deri James  <[email protected]>
+
+       Foundries are only a single letter.
+
+       * src/devices/gropdf/gropdf.pl: Look for single letter
+       followed by '-'.
+
 2024-10-17  G. Branden Robinson <[email protected]>
 
        * src/devices/xditview/xditview.c (NewFile): Fix code style
diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac
index 844bac1b7..114985e92 100644
--- a/tmac/pdf.tmac
+++ b/tmac/pdf.tmac
@@ -741,13 +741,11 @@ with '-A' option
 .   ds pdf:curcol \\n[.m]
 .   nr pdf:bm.width \\w'\\*[PDFHREF.DESC]'
 .   nop \&\m[\\*[PDFHREF.TEXT.COLOUR]]\c
-.   device pdf: markstart \\n[rst] \\n[rsb] \\n[PDFHREF.LEADING] 
\\*[pdf:href.link]
-'   fl
+.   nop \X'pdf: markstart \\n[rst] \\n[rsb] \\n[PDFHREF.LEADING] 
\\*[pdf:href.link]'\c
 .   if !\\n[pdf:href.leave-mark-open] \{\
-.     nop \&\\*[PDFHREF.DESC]\c
-.     device pdf: markend
-'     fl
-.     nop \m[\\*[pdf:curcol]]\c
+.      nop \&\\*[PDFHREF.DESC]\c
+.      nop \m[\\*[pdf:curcol]]\c
+.      nop \X'pdf: markend'\c
 .   \}
 .   \"
 .   \" Clean up the temporary registers and strings, used to

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to