summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx b/Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx
index a666c74ef5c..747cd157ff5 100644
--- a/Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx
+++ b/Master/texmf-dist/source/latex/tudscr/tudscr-texindy.dtx
@@ -4,7 +4,7 @@
% 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
%
% ----------------------------------------------------------------------------
%
@@ -58,12 +58,12 @@
%
% \iffalse
\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-}