summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-23 22:38:37 +0000
committerKarl Berry <karl@freefriends.org>2012-08-23 22:38:37 +0000
commitc74d9648abb6877ccf4c69fdd39bb8d3763574bf (patch)
treeddd4dd23684c44aa6a843a8e94264bc974b63e46 /Master/texmf-dist/tex/latex/hyperref/pdfmark.def
parentf6dd9957662159e2371ea2a289201795b36f6e87 (diff)
hyperref (23aug12)
git-svn-id: svn://tug.org/texlive/trunk@27508 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def17
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
index f0b61b70793..3af2216a9ea 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
@@ -29,7 +29,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pdfmark.def}
- [2012/08/18 v6.83b %
+ [2012/08/21 v6.83c %
Hyperref definitions for pdfmark specials]
\Hy@VersionCheck{pdfmark.def}
\begingroup
@@ -1022,6 +1022,7 @@
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum
\Hy@Message{Sorry, pdfmark drivers do not support FORM gauges}%
}
+\edef\Fld@pageobjref{/P\string{ThisPage\string}}
\def\@TextField[#1]#2{% parameters, label
\def\Fld@name{#2}%
\let\Fld@default\ltx@empty
@@ -1230,8 +1231,9 @@
}%
\endgroup
}
+\providecommand*{\Fld@pageobjref}{}
\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfescapestring\endcsname\relax
+\expandafter\ifx\csname pdf@escapestring\endcsname\relax
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1360,6 +1362,7 @@
\def\PDFForm@Check{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1383,7 +1386,7 @@
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf%
\ifx\Fld@color\@empty\else\space\Fld@color\fi)%
/H/P%
- \ifFld@checked /V/Yes\else /V/Off\fi
+ \ifFld@checked /V/Yes/AS/Yes\else /V/Off/AS/Off\fi
\Fld@additionalactions
}
\ifHy@pdfa
@@ -1391,6 +1394,7 @@
\def\PDFForm@Push{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1418,6 +1422,7 @@
\def\PDFForm@List{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Ch%
\Fld@flags
@@ -1451,6 +1456,7 @@
\def\PDFForm@Radio{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1469,7 +1475,7 @@
\else
/BG[\Fld@bcolor]%
\fi
- /CA(\Fld@radiosymbol)%
+ /CA(\Hy@escapestring{\Fld@radiosymbol})%
>>%
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf%
\ifx\Fld@color\@empty\else\space\Fld@color\fi)%
@@ -1485,6 +1491,7 @@
\def\PDFForm@Text{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Tx%
\Fld@flags
@@ -1520,6 +1527,7 @@
\def\PDFForm@Submit{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1555,6 +1563,7 @@
\def\PDFForm@Reset{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags