diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hxetex.def | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 9cfd9275464..639db802921 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/09/27 v6.83g % + [2012/10/13 v6.83j % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode @@ -757,6 +757,13 @@ \the\HyField@AnnotCount } \def\Fld@pageobjref{/P @thispage}% +\def\HyField@AddToFields#1{% + \@pdfm@mark{put @afields @#1\HyField@TheAnnotCount}% + \ifx\Fld@calculate@code\ltx@empty + \else + \@pdfm@mark{put @corder @#1\HyField@TheAnnotCount}% + \fi +} \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% \let\Fld@default\ltx@empty @@ -790,7 +797,7 @@ }% }% \unhbox\pdfm@box - \@pdfm@mark{put @afields @text\HyField@TheAnnotCount}% + \HyField@AddToFields{text}% % record in @afields array \endgroup } @@ -893,9 +900,7 @@ }% \unhcopy\pdfm@box\space% deliberate space between radio buttons \ifnum\Fld@listcount=1 % - \@pdfm@mark{% - put @afields @radio\HyField@TheAnnotCount - }% + \HyField@AddToFields{radio}% \fi }% } @@ -914,7 +919,7 @@ <<\PDFForm@List>>% }% \unhbox\pdfm@box - \@pdfm@mark{put @afields @list\HyField@TheAnnotCount}% + \HyField@AddToFields{list}% } \def\@PushButton[#1]#2{% parameters, label \def\Fld@name{#2}% @@ -946,7 +951,7 @@ }% }% \unhbox\pdfm@box - \@pdfm@mark{put @afields @push\HyField@TheAnnotCount}% + \HyField@AddToFields{push}% \fi \endgroup } @@ -970,7 +975,7 @@ <<\PDFForm@Submit>>% }% \unhbox\pdfm@box% - \@pdfm@mark{put @afields @submit\HyField@TheAnnotCount}% + \HyField@AddToFields{submit}% \endgroup } \def\@Reset[#1]#2{% @@ -998,7 +1003,7 @@ <<\PDFForm@Reset>>% }% \unhbox\pdfm@box - \@pdfm@mark{put @afields @reset\HyField@TheAnnotCount}% + \HyField@AddToFields{reset}% \fi \endgroup } @@ -1027,7 +1032,7 @@ <<\PDFForm@Check>>% }% \unhbox\pdfm@box - \@pdfm@mark{put @afields @check\HyField@TheAnnotCount}% + \HyField@AddToFields{check}% }% \endgroup } |