chore: Use iftex instead of legacy packages.

pull/30/head
Holger Dell 2021-09-19 18:16:58 +02:00 committed by Bastian Rieck
parent b775b301fe
commit 9d03d52037
1 changed files with 5 additions and 11 deletions

View File

@ -15,19 +15,13 @@
toc=bibliography,
toc=index,]{scrbook}
\RequirePackage{ifpdf}
\RequirePackage{ifxetex}
\RequirePackage{ifluatex}
\newif\ifxetexorluatex
\RequirePackage{iftex}
\newif\ifxetexorluatex\xetexorluatexfalse
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\ifluatex
\xetexorluatextrue
\fi
\ifxetexorluatex