[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add dvilualatex to known formats (7614b8a2b)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 20 21:02:05 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/7614b8a2bd6d18c235a07e3869726c2b852b9411

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

commit 7614b8a2bd6d18c235a07e3869726c2b852b9411
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Aug 20 20:02:05 2020 +0100

    Add dvilualatex to known formats


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

7614b8a2bd6d18c235a07e3869726c2b852b9411
 l3kernel/l3sys.dtx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index 6e5168e57..40c5f5556 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -114,7 +114,8 @@
 % \begin{variable}[added = 2020-08-20]{\c_sys_engine_format_str}
 %   The name of the preloaded format for the current \TeX{} run given
 %   as a lower case string: one of
-%   |lualatex|, |pdflatex| (or |latex|), |platex|, |uplatex| or |xelatex|.
+%   |lualatex| (or |dvilualatex|),
+%   |pdflatex| (or |latex|), |platex|, |uplatex| or |xelatex|.
 % \end{variable}
 %
 % \section{Output format}
@@ -411,7 +412,11 @@
     \sys_if_engine_xetex:T  { xe  }
     \sys_if_engine_ptex:T   { p   }
     \sys_if_engine_uptex:T  { up  }
-    \sys_if_engine_luatex:T { lua }
+    \sys_if_engine_luatex:T
+      {
+        \int_compare:nNnT { \tex_pdfoutput:D } = { 0 } { dvi }
+        lua
+      }
     latex
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.