diff options
-rw-r--r-- | arabluatex.dtx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index ed46e8e..df9f986 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -4293,18 +4293,12 @@ | |||
4293 | % functions and tables. Read the |.lua| files that accompany | 4293 | % functions and tables. Read the |.lua| files that accompany |
4294 | % \package{arabluatex} for more information. | 4294 | % \package{arabluatex} for more information. |
4295 | % \begin{macrocode} | 4295 | % \begin{macrocode} |
4296 | \RequirePackage{ifluatex} | 4296 | \RequirePackage{iftex} |
4297 | % \end{macrocode} | 4297 | % \end{macrocode} |
4298 | % \package{arabluatex} requires {\LuaLaTeX} of course. Issue a warning | 4298 | % \package{arabluatex} requires {\LuaLaTeX} of course. Issue a warning |
4299 | % if the document is processed with another engine. | 4299 | % if the document is processed with another engine. |
4300 | % \begin{macrocode} | 4300 | % \begin{macrocode} |
4301 | \ifluatex\else | 4301 | \RequireLuaTeX |
4302 | \PackageError{arabluatex}{lualatex needed}{% | ||
4303 | Package `arabluatex' needs LuaTeX.\MessageBreak | ||
4304 | So you should use `lualatex' to process your document.\MessageBreak | ||
4305 | See documentation of `arabluatex' for further information.}% | ||
4306 | \expandafter\expandafter\expandafter\csname endinput\endcsname | ||
4307 | \fi | ||
4308 | % \end{macrocode} | 4302 | % \end{macrocode} |
4309 | % Declare the global options, and define them: | 4303 | % Declare the global options, and define them: |
4310 | % \begin{macrocode} | 4304 | % \begin{macrocode} |