diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hxetex.def | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 92fcede83d9..f9433a88b27 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2012/08/18 v6.83b % + [2012/08/21 v6.83c % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode @@ -756,6 +756,7 @@ \def\HyField@TheAnnotCount{% \the\HyField@AnnotCount } +\def\Fld@pageobjref{/P @thispage}% \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% \let\Fld@default\ltx@empty @@ -1082,8 +1083,9 @@ }% \global\let\Hy@FormObjects\relax } +\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 @@ -1212,6 +1214,7 @@ \def\PDFForm@Check{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1235,7 +1238,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 @@ -1243,6 +1246,7 @@ \def\PDFForm@Push{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1270,6 +1274,7 @@ \def\PDFForm@List{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Ch% \Fld@flags @@ -1303,6 +1308,7 @@ \def\PDFForm@Radio{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1321,7 +1327,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)% @@ -1337,6 +1343,7 @@ \def\PDFForm@Text{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Tx% \Fld@flags @@ -1372,6 +1379,7 @@ \def\PDFForm@Submit{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1407,6 +1415,7 @@ \def\PDFForm@Reset{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags |