summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2022-06-18 18:21:10 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2022-06-18 18:21:10 +0000
commitb7926a9649df6cfbf84fc0064bd097d8196b9116 (patch)
tree24994aa9eee12dcc708fb535e54e79bed956351d /Build
parent484e897d35d1a89e3b3a8044993e5a7de2e7e985 (diff)
[CWEB] Fix \pdfURL for 'valid' PDF output.
git-svn-id: svn://tug.org/texlive/trunk@63636 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/cwebmac.tex4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index aa917572968..0762df0969b 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -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.
diff --git a/Build/source/texk/web2c/cwebdir/cwebmac.tex b/Build/source/texk/web2c/cwebdir/cwebmac.tex
index adf4ec7f07d..bd10a2e4938 100644
--- a/Build/source/texk/web2c/cwebdir/cwebmac.tex
+++ b/Build/source/texk/web2c/cwebdir/cwebmac.tex
@@ -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