[latex3-commits] [l3svn] 02/09: Update expl3 driver loading for (u)pTeX

noreply at latex-project.org noreply at latex-project.org
Tue Sep 8 18:12:13 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit f635930a61f7ab3ad2e6b4e22ed976309c8dd2e1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Sep 8 09:38:50 2015 +0100

    Update expl3 driver loading for (u)pTeX
---
 l3kernel/expl3.dtx |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index dd34574..e23edda 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -948,7 +948,8 @@
 % are driver-dependent. Options available are
 % \begin{itemize}[font = \texttt]
 %   \item[auto] Let \LaTeX3 determine the correct driver. With DVI output, this
-%     will select the \texttt{dvips} back-end.  This is the standard setting.
+%     will select the \texttt{dvips} back-end for \pdfTeX{} and \LuaTeX{}, and
+%     \texttt{dvipdfmx} for \pTeX{} and \upTeX{}.  This is the standard setting.
 %   \item[latex2e] Use the \pkg{graphics} package to select the driver, rather
 %     than \LaTeX3 code.
 %   \item[dvips] Use the \texttt{dvips} driver.
@@ -1328,7 +1329,15 @@
               {
                 \__expl_if_pdf:TF
                   { pdfmode }
-                  { dvips }
+                  {
+                    \bool_if:nTF
+                      {
+                        \sys_if_engine_pdftex_p: ||
+                        \sys_if_engine_luatex_p:
+                      }
+                      { dvips }
+                      { dvipdfmx }
+                  }
               }
           }
       },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list