diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-04 09:58:58 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-04 09:58:58 +0100 |
commit | d4fe4e8acd234bd4d1926a60816b6de3be1af9eb (patch) | |
tree | a94179f37456e459388bc1dbea71d4870813f5b4 | |
parent | e0e904709cc2ba0d581d13aa08b6fba7fdfd9d58 (diff) | |
download | arabluatex-d4fe4e8acd234bd4d1926a60816b6de3be1af9eb.tar.gz |
use recommended iftex and \RequireLuaTeX
-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} |