[latex3-commits] [git/LaTeX3-latex3-hyperref] master: adjust vtex guards again (4ee19a4)

David Carlisle d.p.carlisle at gmail.com
Sun Nov 10 22:34:53 CET 2019


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/4ee19a47fb612dc6b18d246ca8a06518b962ba91

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

commit 4ee19a47fb612dc6b18d246ca8a06518b962ba91
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Nov 10 21:34:53 2019 +0000

    adjust vtex guards again


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

4ee19a47fb612dc6b18d246ca8a06518b962ba91
 hyperref.dtx | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index 5f35cbb..0a1965b 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -7415,26 +7415,24 @@
   \ifx\Hy at driver\@empty
   \else
     \def\Hy at temp{hvtexhtm}%
-    \ifvtex
-      \ifnum\OpMode=10 %
-        \ifx\Hy at driver\Hy at temp
-        \else
-          \Hy at WarningNoLine{%
-            Wrong driver `\Hy at driver.def';\MessageBreak
-            VTeX is running in HTML mode.\MessageBreak
-            Forcing driver `\Hy at temp.def'%
-          }%
-          \let\Hy at driver\Hy at temp
-        \fi
+    \ifnum\ifvtex\OpMode\else\m at ne\fi=10 %
+      \ifx\Hy at driver\Hy at temp
       \else
-        \ifx\Hy at driver\Hy at temp
-          \Hy at WarningNoLine{%
-            Wrong driver `\Hy at driver.def';\MessageBreak
-            VTeX is not running in HTML mode.\MessageBreak
-            Using default driver%
-          }%
-          \let\Hy at driver\@empty
-        \fi
+        \Hy at WarningNoLine{%
+          Wrong driver `\Hy at driver.def';\MessageBreak
+          VTeX is running in HTML mode.\MessageBreak
+          Forcing driver `\Hy at temp.def'%
+        }%
+        \let\Hy at driver\Hy at temp
+      \fi
+    \else
+      \ifx\Hy at driver\Hy at temp
+        \Hy at WarningNoLine{%
+          Wrong driver `\Hy at driver.def';\MessageBreak
+          VTeX is not running in HTML mode.\MessageBreak
+          Using default driver%
+        }%
+        \let\Hy at driver\@empty
       \fi
     \fi
   \fi





More information about the latex3-commits mailing list