diff options
author | Karl Berry <karl@freefriends.org> | 2012-08-23 22:38:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-08-23 22:38:37 +0000 |
commit | c74d9648abb6877ccf4c69fdd39bb8d3763574bf (patch) | |
tree | ddd4dd23684c44aa6a843a8e94264bc974b63e46 /Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | |
parent | f6dd9957662159e2371ea2a289201795b36f6e87 (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/hdvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index ed9dc0194bd..ed8ea53d910 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2012/08/18 v6.83b % + [2012/08/21 v6.83c % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} @@ -694,6 +694,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 @@ -1020,8 +1021,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 @@ -1150,6 +1152,7 @@ \def\PDFForm@Check{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1173,7 +1176,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 @@ -1181,6 +1184,7 @@ \def\PDFForm@Push{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1208,6 +1212,7 @@ \def\PDFForm@List{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Ch% \Fld@flags @@ -1241,6 +1246,7 @@ \def\PDFForm@Radio{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1259,7 +1265,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)% @@ -1275,6 +1281,7 @@ \def\PDFForm@Text{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Tx% \Fld@flags @@ -1310,6 +1317,7 @@ \def\PDFForm@Submit{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags @@ -1345,6 +1353,7 @@ \def\PDFForm@Reset{% /Subtype/Widget% \Fld@annotflags + \Fld@pageobjref \Fld@annotnames /FT/Btn% \Fld@flags |