diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 7bad5553465..946a08ace4c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2007/01/17 v6.75n + [2007/01/18 v6.75o Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -1567,6 +1567,11 @@ \def\XR@ext{pdf}% \Hy@breaklinkstrue } +\define@key{Hyp}{xetex}[true]{% + \def\Hy@driver{hdvipdfm}% + \def\XR@ext{pdf}% + \Hy@breaklinkstrue +} \define@key{Hyp}{pdfmark}[true]{% \def\Hy@driver{hdvips}% \def\Hy@raisedlink{}% @@ -2338,7 +2343,12 @@ \expandafter\ifx\csname pdfoutput\endcsname\relax \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname OpMode\endcsname\relax - \let\Hy@driver\Hy@defaultdriver + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname XeTeXversion\endcsname\relax + \let\Hy@driver\Hy@defaultdriver + \else + \def\Hy@driver{hdvipdfm}% + \fi \else \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtex}% @@ -2416,6 +2426,7 @@ \Hy@DisableOption{textures} \Hy@DisableOption{latex2html} \Hy@DisableOption{ps2pdf} +\Hy@DisableOption{xetex} \def\WriteBookmarks{0} \def\@bookmarkopenstatus#1{% \ifHy@bookmarksopen |