[latex3-commits] [git/LaTeX3-latex3-hyperref] master: adjust OpMode tests (67ca8b1)

David Carlisle d.p.carlisle at gmail.com
Sun Nov 10 18:52:21 CET 2019


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/67ca8b1c40f317c2f0291e319864e52db759f9e3

>---------------------------------------------------------------

commit 67ca8b1c40f317c2f0291e319864e52db759f9e3
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Nov 10 17:52:21 2019 +0000

    adjust OpMode tests


>---------------------------------------------------------------

67ca8b1c40f317c2f0291e319864e52db759f9e3
 hyperref.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index 5fa0f2e..5f35cbb 100644
--- a/hyperref.dtx
+++ b/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]
@@ -7457,7 +7457,7 @@
         \ifxetex
           \def\Hy at driver{hxetex}%
         \else
-          \ifnum\OpMode=10 %
+          \ifnum\ifvtex\OpMode\else\m at ne\fi=10 %
             \def\Hy at driver{hvtexhtm}%
             \def\MaybeStopEarly{%
               \Hy at Message{Stopped early}%
@@ -7468,10 +7468,10 @@
               \endinput
             }%
           \else
-            \ifnum\OpMode=\@ne
+            \ifnum\ifvtex\OpMode\else\m at ne\fi=\@ne
               \def\Hy at driver{hvtex}%
             \else
-              \ifnum\OpMode=\tw@
+              \ifnum\ifvtex\OpMode\else\m at ne\fi=\tw@
                 \def\Hy at driver{hvtex}%
               \else
                 \ifx\HyOpt at DriverFallback\ltx at empty





More information about the latex3-commits mailing list