From 3e613e6a541507042506cbc8cb2035c3707de296 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 14 Jan 2020 21:52:06 +0000
Subject: tudscr (14jan20)

git-svn-id: svn://tug.org/texlive/trunk@53404 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.dtx')

diff --git a/Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.dtx b/Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.dtx
index e6cb0a94e45..1faf4406734 100644
--- a/Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.dtx
+++ b/Master/texmf-dist/source/latex/tudscr/tudscr-pagestyle.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-}
-- 
cgit v1.2.3

