summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-04-28 16:09:54 +0000
committerKarl Berry <karl@freefriends.org>2008-04-28 16:09:54 +0000
commite9a299c8f4aa81e112221ac58d8c584a7cd50d83 (patch)
treefab11d7b06760ed2d3e9f9b5eae333e54ab40f2b /Master/texmf-dist/source
parente5615a2fb1c70d2bd499ace74eb9fd86ba956e5c (diff)
hyperref update (25apr08)
git-svn-id: svn://tug.org/texlive/trunk@7705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx27
1 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 34f7b252451..2358cabc4cd 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -39,7 +39,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2008/04/22 v6.77t
+%<!none> [2008/04/24 v6.77u
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -116,7 +116,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{22885}
+% \CheckSum{22898}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -6817,7 +6817,7 @@
\ifHy@pdfa
\define@key{Field}{#2}{%
\PackageError{hyperref}{%
- PDF/A: Additional action #2 is prohibited%
+ PDF/A: Additional action `#2' is prohibited%
}\@ehc
}%
\else
@@ -6834,9 +6834,13 @@
\Hy@temp{onblur}
\Hy@temp{onenter}
\Hy@temp{onexit}
+\def\Hy@temp#1{%
+ \define@key{Field}{#1}{%
+ \Field@addtoks{#1}{##1}%
+ }%
+}
\Hy@temp{onselect}
\Hy@temp{onchange}
-\Hy@temp{onclick}
\Hy@temp{ondblclick}
\Hy@temp{onmousedown}
\Hy@temp{onmouseup}
@@ -6846,7 +6850,20 @@
\Hy@temp{onkeypress}
\Hy@temp{onkeydown}
\Hy@temp{onkeyup}
-%
+\ifHy@pdfa
+ \define@key{Field}{onclick}{%
+ \PackageError{hyperref}{%
+ PDF/A: Action `#2' is prohibited%
+ }\@ehc
+ }%
+\else
+ \define@key{Field}{onclick}{%
+ \def\Fld@onclick{#1}%
+ \Field@addtoks{onclick}{#1}%
+ }%
+\fi
+% \end{macrocode}
+% \begin{macrocode}
\DeclareRobustCommand\TextField{%
\@ifnextchar[{\@TextField}{\@TextField[]}%
}