summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def25
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
index 33acd18eea1..0e2f52683aa 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/09/27 v6.83g %
+ [2012/10/13 v6.83j %
Hyperref driver for dvipdfm]
\Hy@VersionCheck{hdvipdfm.def}
\def\Hy@PutCatalog#1{\@pdfm@mark{docview <<#1>>}}
@@ -695,6 +695,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
@@ -728,7 +735,7 @@
}%
}%
\unhbox\pdfm@box
- \@pdfm@mark{put @afields @text\HyField@TheAnnotCount}%
+ \HyField@AddToFields{text}%
% record in @afields array
\endgroup
}
@@ -831,9 +838,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
}%
}
@@ -852,7 +857,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}%
@@ -884,7 +889,7 @@
}%
}%
\unhbox\pdfm@box
- \@pdfm@mark{put @afields @push\HyField@TheAnnotCount}%
+ \HyField@AddToFields{push}%
\fi
\endgroup
}
@@ -908,7 +913,7 @@
<<\PDFForm@Submit>>%
}%
\unhbox\pdfm@box%
- \@pdfm@mark{put @afields @submit\HyField@TheAnnotCount}%
+ \HyField@AddToFields{submit}%
\endgroup
}
\def\@Reset[#1]#2{%
@@ -936,7 +941,7 @@
<<\PDFForm@Reset>>%
}%
\unhbox\pdfm@box
- \@pdfm@mark{put @afields @reset\HyField@TheAnnotCount}%
+ \HyField@AddToFields{reset}%
\fi
\endgroup
}
@@ -965,7 +970,7 @@
<<\PDFForm@Check>>%
}%
\unhbox\pdfm@box
- \@pdfm@mark{put @afields @check\HyField@TheAnnotCount}%
+ \HyField@AddToFields{check}%
}%
\endgroup
}