diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2022-06-18 18:21:10 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2022-06-18 18:21:10 +0000 |
commit | b7926a9649df6cfbf84fc0064bd097d8196b9116 (patch) | |
tree | 24994aa9eee12dcc708fb535e54e79bed956351d /Build/source/texk/web2c/cwebdir/cwebmac.tex | |
parent | 484e897d35d1a89e3b3a8044993e5a7de2e7e985 (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/source/texk/web2c/cwebdir/cwebmac.tex')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cwebmac.tex | 4 |
1 files changed, 2 insertions, 2 deletions
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 |