diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx b/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx index 3249409e976..8346c60f7ce 100644 --- a/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx +++ b/Master/texmf-dist/source/latex/tudscr/tudscr-manual.dtx @@ -1,10 +1,10 @@ -% \CheckSum{4450} +% \CheckSum{4457} % \iffalse meta-comment % % TUD-Script -- Corporate Design of Technische Universität Dresden % ---------------------------------------------------------------------------- % -% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019 +% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020 % % ---------------------------------------------------------------------------- % @@ -69,12 +69,12 @@ %</dtx|package&identify> %<*dtx> \documentclass[english,ngerman,xindy]{tudscrdoc} -\ifpdftex{ +\iftutex + \usepackage{fontspec} +\else \usepackage[T1]{fontenc} \usepackage[ngerman=ngerman-x-latest]{hyphsubst} -}{ - \usepackage{fontspec} -} +\fi \usepackage{babel} \usepackage{tudscrfonts} \KOMAoptions{parskip=half-} @@ -4941,10 +4941,14 @@ % \changes{v2.06}{2019/06/21}{neu}^^A % Für das verschachtelte Aufrufen von \app{pdflatex} bzw. \app{lualatex}. % \begin{macrocode} -\newcommand*\tud@latex@ext{} -\ifpdftex% - {\def\tud@latex@ext{pdflatex\space}}% - {\def\tud@latex@ext{lualatex\space}}% +\newcommand*\tud@latex@ext{pdflatex\space} +\iftutex + \ifxetex + \renewcommand*\tud@latex@ext{xelatex\space} + \else + \renewcommand*\tud@latex@ext{lualatex\space} + \fi +\fi % \end{macrocode} % \end{macro}^^A \tud@latex@ext % \begin{macro}{\Tutorial} @@ -5575,12 +5579,12 @@ \if@tempswa% \begin{filecontents*}{\tud@tut@temp-standalone.tex} \documentclass[english,ngerman]{tudscrreprt} -\ifpdftex{ +\iftutex + \usepackage{fontspec} +\else \usepackage[T1]{fontenc} \usepackage[ngerman=ngerman-x-latest]{hyphsubst} -}{ - \usepackage{fontspec} -} +\fi \usepackage{babel} \usepackage{tudscrsupervisor} \usepackage{isodate} |