summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def43
1 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
index c6e3d230f61..7f31d5eb32f 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
@@ -29,8 +29,9 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pdfmark.def}
- [2010/09/17 v6.81q
+ [2010/10/19 v6.81s
Hyperref definitions for pdfmark specials]
+\Hy@VersionCheck{pdfmark.def}
\begingroup
\@ifundefined{headerps@out}{}{%
\toks@\expandafter{\Hy@FirstPageHook}%
@@ -1246,6 +1247,17 @@
\Hy@escapeform{}%
\fi
\def\PDFForm@Name{%
+ \PDFForm@@Name\Fld@name
+ \ifx\Fld@altname\relax
+ \else
+ \PDFForm@@Name\Fld@altname
+ \fi
+ \ifx\Fld@mappingname\relax
+ \else
+ \PDFForm@@Name\Fld@mappingname
+ \fi
+}
+\def\PDFForm@@Name#1{%
\begingroup
\ifnum\Hy@pdfversion<5 % implementation note 117, PDF spec 1.7
\ifHy@unicode
@@ -1253,9 +1265,9 @@
\fi
\fi
\HyPsd@XeTeXBigCharstrue
- \pdfstringdef\Hy@gtemp\Fld@name
+ \pdfstringdef\Hy@gtemp#1%
\endgroup
- \let\Fld@name\Hy@gtemp
+ \let#1\Hy@gtemp
}
\def\Fld@@additionalactions{%
\ifx\Fld@keystroke@code\@empty
@@ -1308,10 +1320,21 @@
\fi
\fi
}
+\def\Fld@annotnames{%
+ /T(\Fld@name)%
+ \ifx\Fld@altname\relax
+ \else
+ /TU(\Fld@altname)%
+ \fi
+ \ifx\Fld@mappingname\relax
+ \else
+ /TM(\Fld@mappingname)%
+ \fi
+}
\def\PDFForm@Check{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/Q \Fld@align
@@ -1342,7 +1365,7 @@
\def\PDFForm@Push{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1369,7 +1392,7 @@
\def\PDFForm@List{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Ch%
\Fld@flags
/Q \Fld@align
@@ -1402,7 +1425,7 @@
\def\PDFForm@Radio{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1434,7 +1457,7 @@
\def\PDFForm@Text{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Tx%
\Fld@flags
/Q \Fld@align
@@ -1469,7 +1492,7 @@
\def\PDFForm@Submit{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1504,7 +1527,7 @@
\def\PDFForm@Reset{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%