From ea8e504bc4e355c65c85bbebf3eec69424b95b28 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 4 Nov 2019 10:01:28 +0100 Subject: use recommended iftex and \RequireLuaTeX --- ekdosis.dtx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 4aa9577..71d68d2 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -294,18 +294,12 @@ Running "make install" installs the files in the local TeX tree. % |.lua| files that accompany \package{ekdosis} for more % information. % \begin{macrocode} -\RequirePackage{ifluatex} +\RequirePackage{iftex} % \end{macrocode} % \package{ekdosis} requires {\LuaLaTeX} of course. Issue an error % if the document is processed with another engine. % \begin{macrocode} -\ifluatex\else - \PackageError{ekdosis}{lualatex needed}{% - Package `ekdosis' needs LuaTeX.\MessageBreak - So you should use `lualatex' to process your document.\MessageBreak - See documentation of `ekdosis' for further information.}% - \expandafter\expandafter\expandafter\csname endinput\endcsname -\fi +\RequireLuaTeX % \end{macrocode} % Packages that are required by \package{ekdosis}: % \begin{macrocode} -- cgit v1.2.3