[latex3-commits] [git/LaTeX3-latex3-latex2e] LaTeX2020: Avoid unclosed conditional if expl3-loader bails out (347044fb)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Oct 4 00:07:12 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : LaTeX2020
Link : https://github.com/latex3/latex2e/commit/347044fb7f5ab0bb48fa8a4b52f776500f64a34b
>---------------------------------------------------------------
commit 347044fb7f5ab0bb48fa8a4b52f776500f64a34b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 3 23:07:12 2019 +0100
Avoid unclosed conditional if expl3-loader bails out
>---------------------------------------------------------------
347044fb7f5ab0bb48fa8a4b52f776500f64a34b
base/ltexpl.dtx | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/base/ltexpl.dtx b/base/ltexpl.dtx
index 20c55e14..f1aa8273 100644
--- a/base/ltexpl.dtx
+++ b/base/ltexpl.dtx
@@ -64,20 +64,22 @@
% Check for the required primitive/enigne support and the existence of
% a loader.
% \begin{macrocode}
-\ifnum0%
- \ifdefined\pdffilesize 1\fi
- \ifdefined\filesize 1\fi
- \ifdefined\luatexversion\ifnum\luatexversion>109 1\fi\fi
- >0 %
- \IfFileExists{expl3.ltx}{}
- {%
- \message{Skipping expl3-dependent extensions}%
- \endinput
- }%
-\else
- \message{Skipping expl3-dependent extensions}
- \expandafter\endinput
-\fi
+\IfFileExists{expl3.ltx}
+ {%
+ \ifnum0%
+ \ifdefined\pdffilesize 1\fi
+ \ifdefined\filesize 1\fi
+ \ifdefined\luatexversion\ifnum\luatexversion>109 1\fi\fi
+ >0 %
+ \else
+ \message{Skipping expl3-dependent extensions}
+ \expandafter\endinput
+ \fi
+ }
+ {%
+ \message{Skipping expl3-dependent extensions}%
+ \endinput
+ }%
\input{expl3.ltx}
% \end{macrocode}
%
More information about the latex3-commits
mailing list