diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-04 10:01:28 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-04 10:01:28 +0100 |
commit | ea8e504bc4e355c65c85bbebf3eec69424b95b28 (patch) | |
tree | 695d03d02266535c55f798972be28208e487293a | |
parent | f277656a211a152f049746415261df011612c521 (diff) | |
download | ekdosis-ea8e504bc4e355c65c85bbebf3eec69424b95b28.tar.gz |
use recommended iftex and \RequireLuaTeX
-rw-r--r-- | ekdosis.dtx | 10 |
1 files 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. | |||
294 | % |.lua| files that accompany \package{ekdosis} for more | 294 | % |.lua| files that accompany \package{ekdosis} for more |
295 | % information. | 295 | % information. |
296 | % \begin{macrocode} | 296 | % \begin{macrocode} |
297 | \RequirePackage{ifluatex} | 297 | \RequirePackage{iftex} |
298 | % \end{macrocode} | 298 | % \end{macrocode} |
299 | % \package{ekdosis} requires {\LuaLaTeX} of course. Issue an error | 299 | % \package{ekdosis} requires {\LuaLaTeX} of course. Issue an error |
300 | % if the document is processed with another engine. | 300 | % if the document is processed with another engine. |
301 | % \begin{macrocode} | 301 | % \begin{macrocode} |
302 | \ifluatex\else | 302 | \RequireLuaTeX |
303 | \PackageError{ekdosis}{lualatex needed}{% | ||
304 | Package `ekdosis' needs LuaTeX.\MessageBreak | ||
305 | So you should use `lualatex' to process your document.\MessageBreak | ||
306 | See documentation of `ekdosis' for further information.}% | ||
307 | \expandafter\expandafter\expandafter\csname endinput\endcsname | ||
308 | \fi | ||
309 | % \end{macrocode} | 303 | % \end{macrocode} |
310 | % Packages that are required by \package{ekdosis}: | 304 | % Packages that are required by \package{ekdosis}: |
311 | % \begin{macrocode} | 305 | % \begin{macrocode} |