groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/02: Use new \X''.


From: Deri James
Subject: [groff] 02/02: Use new \X''.
Date: Fri, 18 Oct 2024 14:30:38 -0400 (EDT)

deri pushed a commit to branch master
in repository groff.

commit da13fecf224f01b78ebe6cfd26dc06c960423f39
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
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  <deri@chuzzlewit.myzen.co.uk>
+
+       Use new \X''.
+
+       * tmac/pdf.tmac: The new \X'' code does no flush, perfect
+       for hotspots. Thanks Branden.
+
+2024-10-18  Deri James  <deri@chuzzlewit.myzen.co.uk>
+
+       Foundries are only a single letter.
+
+       * src/devices/gropdf/gropdf.pl: Look for single letter
+       followed by '-'.
+
 2024-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * 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



reply via email to

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