texlive[63636] Build/source/texk/web2c/cwebdir: [CWEB] Fix \pdfURL

commits+ascherer at tug.org commits+ascherer at tug.org
Sat Jun 18 20:21:11 CEST 2022


Revision: 63636
          http://tug.org/svn/texlive?view=revision&revision=63636
Author:   ascherer
Date:     2022-06-18 20:21:10 +0200 (Sat, 18 Jun 2022)
Log Message:
-----------
[CWEB] Fix \pdfURL for 'valid' PDF output.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-06-17 23:49:00 UTC (rev 63635)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-06-18 18:21:10 UTC (rev 63636)
@@ -1,3 +1,7 @@
+2022-06-18  Andreas Scherer  <https://ascherer.github.io>
+
+	* cwebmac.tex: Fix \pdfURL for 'valid' output.
+
 2022-06-17  Andreas Scherer  <https://ascherer.github.io>
 
 	* Makefile: New target for CTAN packaging.

Modified: trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex	2022-06-17 23:49:00 UTC (rev 63635)
+++ trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex	2022-06-18 18:21:10 UTC (rev 63636)
@@ -295,12 +295,12 @@
 \fi % End of common macros
 
 \def\pdfURL#1#2{\ifpdftex\pdfannotlink height \theheight depth \thedepth
-  attr {/Border [0 0 0]} user { /Type /Action /Subtype /Link /A
+  attr {/Border [0 0 0]} user { /Type /Annot /Subtype /Link /A
       << /S /URI /URI (#2) >>}\Blue #1\Black \pdfendlink % changed in 3.69
   \else \ifpdf{\setbox0=\hbox{\special{pdf: bc [ \pdflinkcolor ]}{#1}%
     \special{pdf: ec}}\special{pdf: ann width \thewidth height \theheight
       depth \thedepth << /Border [0 0 0]
-      /Type /Action /Subtype /Link /A << /S /URI /URI (#2) >> >>}\box0\relax}%
+      /Type /Annot /Subtype /Link /A << /S /URI /URI (#2) >> >>}\box0\relax}%
   \else #1 ({\tt#2})\fi\fi}
 {\catcode`\~=12 \gdef\TILDE/{~}} % ~ in a URL
 {\catcode`\_=12 \gdef\UNDER/{_}} % _ in a URL



More information about the tex-live-commits mailing list.