diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 5fa0f2e6089..0a1965bfd7f 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -49,7 +49,7 @@ %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} %<psdextra>\ProvidesFile{psdextra.def} -%<!none> [2019/11/06 v7.00b % +%<!none> [2019/11/10 v7.00c % %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -7415,26 +7415,24 @@ \ifx\Hy@driver\@empty \else \def\Hy@temp{hvtexhtm}% - \ifvtex - \ifnum\OpMode=10 % - \ifx\Hy@driver\Hy@temp - \else - \Hy@WarningNoLine{% - Wrong driver `\Hy@driver.def';\MessageBreak - VTeX is running in HTML mode.\MessageBreak - Forcing driver `\Hy@temp.def'% - }% - \let\Hy@driver\Hy@temp - \fi + \ifnum\ifvtex\OpMode\else\m@ne\fi=10 % + \ifx\Hy@driver\Hy@temp \else - \ifx\Hy@driver\Hy@temp - \Hy@WarningNoLine{% - Wrong driver `\Hy@driver.def';\MessageBreak - VTeX is not running in HTML mode.\MessageBreak - Using default driver% - }% - \let\Hy@driver\@empty - \fi + \Hy@WarningNoLine{% + Wrong driver `\Hy@driver.def';\MessageBreak + VTeX is running in HTML mode.\MessageBreak + Forcing driver `\Hy@temp.def'% + }% + \let\Hy@driver\Hy@temp + \fi + \else + \ifx\Hy@driver\Hy@temp + \Hy@WarningNoLine{% + Wrong driver `\Hy@driver.def';\MessageBreak + VTeX is not running in HTML mode.\MessageBreak + Using default driver% + }% + \let\Hy@driver\@empty \fi \fi \fi @@ -7457,7 +7455,7 @@ \ifxetex \def\Hy@driver{hxetex}% \else - \ifnum\OpMode=10 % + \ifnum\ifvtex\OpMode\else\m@ne\fi=10 % \def\Hy@driver{hvtexhtm}% \def\MaybeStopEarly{% \Hy@Message{Stopped early}% @@ -7468,10 +7466,10 @@ \endinput }% \else - \ifnum\OpMode=\@ne + \ifnum\ifvtex\OpMode\else\m@ne\fi=\@ne \def\Hy@driver{hvtex}% \else - \ifnum\OpMode=\tw@ + \ifnum\ifvtex\OpMode\else\m@ne\fi=\tw@ \def\Hy@driver{hvtex}% \else \ifx\HyOpt@DriverFallback\ltx@empty |