diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hxetex.def | 47 |
1 files changed, 35 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 17e45c2aec8..8e2307fc428 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -29,8 +29,9 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2010/09/17 v6.81q + [2010/10/19 v6.81s Hyperref driver for XeTeX] +\Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode \Hy@unicodetrue \ifx\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode @@ -43,8 +44,8 @@ \ifHy@unicode \else \Hy@Warning{% - XeTeX driver only supports `unicode=true'.\MessageBreak - Ignoring option setting `unicode=false'% + XeTeX driver only supports `unicode=true'. Ignoring\MessageBreak + option setting `unicode=false'% }% \Hy@unicodetrue \fi @@ -1051,6 +1052,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 @@ -1058,9 +1070,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 @@ -1113,10 +1125,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 @@ -1147,7 +1170,7 @@ \def\PDFForm@Push{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Btn% \Fld@flags /H/P% @@ -1174,7 +1197,7 @@ \def\PDFForm@List{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Ch% \Fld@flags /Q \Fld@align @@ -1207,7 +1230,7 @@ \def\PDFForm@Radio{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Btn% \Fld@flags /H/P% @@ -1239,7 +1262,7 @@ \def\PDFForm@Text{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Tx% \Fld@flags /Q \Fld@align @@ -1274,7 +1297,7 @@ \def\PDFForm@Submit{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Btn% \Fld@flags /H/P% @@ -1309,7 +1332,7 @@ \def\PDFForm@Reset{% /Subtype/Widget% \Fld@annotflags - /T(\Fld@name)% + \Fld@annotnames /FT/Btn% \Fld@flags /H/P% |