summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
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/tex/latex/hyperref/hyperref.sty
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/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty22
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index 58b79003aad..c8c83efdd43 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hyperref}
- [2008/04/22 v6.77t
+ [2008/04/24 v6.77u
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -4047,7 +4047,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
@@ -4064,9 +4064,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}
@@ -4076,6 +4080,18 @@
\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
\DeclareRobustCommand\TextField{%
\@ifnextchar[{\@TextField}{\@TextField[]}%
}