diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3sys.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3sys.dtx | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/macros/latex/contrib/l3kernel/l3sys.dtx b/macros/latex/contrib/l3kernel/l3sys.dtx index c476e67e23..06ef4cd731 100644 --- a/macros/latex/contrib/l3kernel/l3sys.dtx +++ b/macros/latex/contrib/l3kernel/l3sys.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2019-10-11} +% \date{Released 2019-10-14} % % \maketitle % @@ -812,9 +812,28 @@ % % \subsubsection{Configurations} % -% If there is a class option set, and recognised, we pick it up: these -% will over-ride anything set automatically but will themsevles be -% over-written if there is a package option. +% \begin{variable}{\g_@@_backend_tl} +% As the backend has to be checked and possibly adjusted, the approach here +% is to create a variable and use that in a one-shot to set a constant. +% \begin{macrocode} +\tl_new:N \g_@@_backend_tl +\@@_finalise:n + { + \tl_gset:Nx \g_@@_backend_tl + { + \sys_if_engine_xetex:TF + { xdvipdfmx } + { + \sys_if_output_pdf:TF + { pdfmode } + { dvips } + } + } + } +% \end{macrocode} +% If there is a class option set, and recognised, we pick it up: these +% will over-ride anything set automatically but will themsevles be +% over-written if there is a package option. % \begin{macrocode} \@@_finalise:n { @@ -843,26 +862,6 @@ } } % \end{macrocode} -% -% \begin{variable}{\g_@@_backend_tl} -% As the backend has to be checked and possibly adjusted, the approach here -% is to create a variable and use that in a one-shot to set a constant. -% \begin{macrocode} -\tl_new:N \g_@@_backend_tl -\@@_finalise:n - { - \tl_gset:Nx \g_@@_backend_tl - { - \sys_if_engine_xetex:TF - { xdvipdfmx } - { - \sys_if_output_pdf:TF - { pdfmode } - { dvips } - } - } - } -% \end{macrocode} % \end{variable} % % \begin{macrocode} |