diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hxetex.def | 52 |
1 files changed, 38 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 396ded8546c..fc8ae2e6cea 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -24,14 +24,15 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2009/12/15 v6.79p + [2009/12/16 v6.79u Hyperref driver for XeTeX] \HyPsd@LoadUnicode \Hy@unicodetrue -\ifx\HyPsd@pdfencoding\HyPsd@pdfencoding@auto +\ifx\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode \else - \let\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode + \let\HyPsd@pdfencoding\HyPsd@pdfencoding@auto \fi +\HyPsd@LoadStringEnc \define@key{Hyp}{unicode}[true]{% \Hy@boolkey{unicode}{#1}% \ifHy@unicode @@ -239,7 +240,9 @@ \def\x{XYZ @xpos @ypos null}% \else \@onelevel@sanitize\@pdfview - \Hy@Warning{Unknown value `\@pdfview' for pdfview}% + \Hy@Warning{% + Unknown value `\@pdfview' for pdfview% + }% \def\x{XYZ @xpos @ypos null}% \fi \fi @@ -402,7 +405,9 @@ \let\Hy@testname\Hy@undefinedname \else \Hy@pstringdef\Hy@testname{% - \expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% + \expandafter\HyperDestNameFilter\expandafter{% + \Hy@testname + }% }% \fi \@pdfm@mark{% @@ -757,7 +762,9 @@ } \def\@@Radio#1{% \Fld@listcount=0 % - \setbox\pdfm@box=\hbox{\MakeRadioField{\Fld@width}{\Fld@height}}% + \setbox\pdfm@box=\hbox{% + \MakeRadioField{\Fld@width}{\Fld@height}% + }% \@for\@curropt:=#1\do{% \expandafter\Fld@checkequals\@curropt==\\% \Hy@StepCount\Fld@listcount @@ -768,7 +775,11 @@ \HyField@AdvanceAnnotCount \fi \@pdfm@mark{% - ann \ifnum\Fld@listcount=1 @radio\HyField@TheAnnotCount\space\fi + ann % + \ifnum\Fld@listcount=1 % + @radio\HyField@TheAnnotCount% + \space + \fi \dvipdfm@setdim <<% \PDFForm@Radio @@ -777,14 +788,18 @@ }% \unhcopy\pdfm@box\space% deliberate space between radio buttons \ifnum\Fld@listcount=1 % - \@pdfm@mark{put @afields @radio\HyField@TheAnnotCount}% + \@pdfm@mark{% + put @afields @radio\HyField@TheAnnotCount + }% \fi }% } \newcount\Fld@listcount \def\@@Listbox#1{% \HyField@PDFChoices{#1}% - \setbox\pdfm@box=\hbox{\MakeChoiceField{\Fld@width}{\Fld@height}}% + \setbox\pdfm@box=\hbox{% + \MakeChoiceField{\Fld@width}{\Fld@height}% + }% \leavevmode \Hy@escapeform\PDFForm@List \HyField@AdvanceAnnotCount @@ -898,7 +913,9 @@ \PDFForm@Name \HyField@FlagsCheckBox \ifFld@hidden\def\Fld@width{1sp}\fi - \setbox\pdfm@box=\hbox{\MakeCheckField{\Fld@width}{\Fld@height}}% + \setbox\pdfm@box=\hbox{% + \MakeCheckField{\Fld@width}{\Fld@height}% + }% \HyField@AdvanceAnnotCount \LayoutCheckField{#2}{% \Hy@escapeform\PDFForm@Check @@ -989,7 +1006,8 @@ \def\Hy@@escapeform#1\Hy@escapestring#2#3\@nil{% \ifx\\#3\\% \else - \expandafter\Hy@pstringdef\csname Hy@esc@\string#2\endcsname{#2}% + \expandafter + \Hy@pstringdef\csname Hy@esc@\string#2\endcsname{#2}% \Hy@ReturnAfterFi{% \Hy@@escapeform#3\@nil }% @@ -1373,8 +1391,12 @@ \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% \hyper@anchorstart{#3.#1}\hyper@anchorend } -\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}} -\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}} +\def\BOOKMARK{% + \@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}% +} +\def\@BOOKMARK[#1]{% + \@ifnextchar[{\@@BOOKMARK[{#1}]}{\@@BOOKMARK[{#1}][-]}% +} \RequirePackage{rerunfilecheck}[2009/12/10] \def\Hy@OutlineRerunCheck{% \RerunFileCheck{\jobname.out}{% @@ -1388,7 +1410,9 @@ \begingroup \escapechar=`\\% \let\escapechar\@gobble % - \def\@@BOOKMARK[##1][##2]##3##4##5{\calc@bm@number{##5}}% + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \calc@bm@number{##5}% + }% \InputIfFileExists{\jobname.out}{}{}% \ifx\WriteBookmarks\relax \global\let\WriteBookmarks\relax |