[latex3-commits] [latex3/latex2e] develop: Use expl3 file-exists test (#1063) (2e22d728)
github at latex-project.org
github at latex-project.org
Wed May 17 18:25:42 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/2e22d72860d00f30886237b3baa94d58de4b855b
>---------------------------------------------------------------
commit 2e22d72860d00f30886237b3baa94d58de4b855b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed May 17 17:25:42 2023 +0100
Use expl3 file-exists test (#1063)
>---------------------------------------------------------------
2e22d72860d00f30886237b3baa94d58de4b855b
base/changes.txt | 5 ++
base/doc/ltnews37.tex | 8 +++
base/ltfiles.dtx | 66 +++++++++++++++++-----
base/testfiles-lthooks/lthooks-rollback-args.tlg | 7 ++-
base/testfiles/github-0479-often.luatex.tlg | 7 ++-
base/testfiles/github-0479-often.tlg | 7 ++-
base/testfiles/github-0479-often.xetex.tlg | 7 ++-
.../tlb-latexrelease-rollback-003-often.luatex.tlg | 14 +++--
.../tlb-latexrelease-rollback-003-often.tlg | 14 +++--
.../tlb-latexrelease-rollback-003-often.xetex.tlg | 14 +++--
...tlb-latexrelease-rollback-2020-10-01.luatex.tlg | 7 ++-
.../tlb-latexrelease-rollback-2020-10-01.tlg | 7 ++-
.../tlb-latexrelease-rollback-2020-10-01.xetex.tlg | 7 ++-
...tlb-latexrelease-rollback-2021-06-01.luatex.tlg | 7 ++-
.../tlb-latexrelease-rollback-2021-06-01.tlg | 7 ++-
.../tlb-latexrelease-rollback-2021-06-01.xetex.tlg | 7 ++-
...tlb-latexrelease-rollback-2021-11-15.luatex.tlg | 7 ++-
.../tlb-latexrelease-rollback-2021-11-15.tlg | 7 ++-
.../tlb-latexrelease-rollback-2021-11-15.xetex.tlg | 7 ++-
...tlb-latexrelease-rollback-2022-06-01.luatex.tlg | 7 ++-
.../tlb-latexrelease-rollback-2022-06-01.tlg | 7 ++-
.../tlb-latexrelease-rollback-2022-06-01.xetex.tlg | 7 ++-
...tlb-latexrelease-rollback-2022-11-01.luatex.tlg | 7 ++-
.../tlb-latexrelease-rollback-2022-11-01.tlg | 7 ++-
.../tlb-latexrelease-rollback-2022-11-01.xetex.tlg | 7 ++-
base/testfiles/tlb-rollback-004-often.luatex.tlg | 7 ++-
base/testfiles/tlb-rollback-004-often.tlg | 7 ++-
base/testfiles/tlb-rollback-004-often.xetex.tlg | 7 ++-
base/testfiles/tlb-rollback-005.luatex.tlg | 7 ++-
base/testfiles/tlb-rollback-005.tlg | 7 ++-
base/testfiles/tlb-rollback-005.xetex.tlg | 7 ++-
31 files changed, 190 insertions(+), 106 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index d0a5b02c..52f53f9a 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -17,6 +17,11 @@ are not part of the distribution.
Add guidance on creating commands to use at start of
tabular cells
+2023-05-15 Joseph Wright <Joseph.Wright at latex-project.org>
+
+ * lffiles.dtx:
+ Use expl3-based file-existence test
+
2023-05-13 David Carlisle <David.Carlisle at latex-project.org>
* ltmath.dtx: Add \ignorespaces to \eqno (gh/1059)
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index f327cade..e2a2ab45 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -388,6 +388,14 @@ but \emph{after} the \cs{@bsphack} command has done its spacing magic and it is
\section{Code improvements}
+\subsection{Performance in checking file existence}
+
+The additon of hooks, etc., to file operations had a side-effect in that
+multiple checks were made that the file existed. In larger documents using
+lots of files, these filesystem operations caused non-trivial performance
+impact. We now cache the existence of files, such that these repeated filesystem
+calls are avoided.
+
\subsection{\pkg{doc}: Handle \texttt{\textbackslash\textvisiblespace} correctly in the index}
Due to some problems in the code it wasn't possible to prevent
diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index 04256529..3bac7ea0 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfiles.dtx}
- [2023/01/05 v1.2s LaTeX Kernel (File Handling)]
+ [2023/05/17 v1.2t LaTeX Kernel (File Handling)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfiles.dtx}
@@ -1202,6 +1202,9 @@
% \changes{v1.0t}{1995/05/25}{(CAR) added \cs{long}}
% \changes{v1.2d}{2019/10/26}{quote on openin}
% \changes{v1.2k}{2021/03/12}{Allow unbalanced conditionals (gh/530)}
+% \changes{v1.2t}{2023/05/15}{Use \pkg{expl3} file existence test}
+% \begin{macro}{\IfFileExists@}
+% \changes{v1.2t}{2023/05/15}{Macro added}
% Argument |#1| is |\@curr at file| so catcode 12 string with no quotes.
%
% The original definition picked up arguments |#2| and |#3| in a
@@ -1211,23 +1214,35 @@
% \cs{secondoftwo}. However, that changes how |#| is interpreted
% and so we can't do that nowaways without invalidating a lot of
% code. Therefore the somewhat curious construction near the end.
+%
+% Earlier versions used |\openin| here, but this led to two
+% code paths, one in \pkg{expl3} and one here. To avoid that,
+% and as the \pkg{expl3} approach works by expansion, we use
+% that here. As we need the file name to include the path,
+% the actual \pkg{expl3} function used is not the file existence
+% test!
% \begin{macrocode}
%</2ekernel>
%<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2021/06/01}%
-%<latexrelease> {\IfFileExists@}{manage unbalanced conditionals}
+%<latexrelease>\IncludeInRelease{2023/05/01}%
+%<latexrelease> {\IfFileExists@}{IfFileExists}
\long\def \IfFileExists@#1#2#3{%
- \openin\@inputcheck"#1" %
- \ifeof\@inputcheck
- \ifx\input at path\@undefined
- \let\reserved at a\@secondoftwo
+ \edef\@filef at und{\IfFileExists@@{#1}}%
+% \end{macrocode}
+% The \pkg{expl3} function regards an empty argument as nothing at all,
+% but the \LaTeXe{} convention is that this is equal to the special
+% \texttt{.tex} file.
+% \begin{macrocode}
+ \ifx\@filef at und\@empty
+ \if\relax\detokenize{#1}\relax
+ \let\reserved at a\@firstoftwo
+ \def\@filef at und{".tex" }%
\else
- \def\reserved at a{\@iffileonpath{#1}}%
+ \let\reserved at a\@secondoftwo
\fi
\else
- \closein\@inputcheck
- \edef\@filef at und{"#1" }%
\let\reserved at a\@firstoftwo
+ \edef\@filef at und{"\@filef at und" }%
\fi
% \end{macrocode}
% This is just there so that any |#| inside |#2| or |#3| needs
@@ -1236,10 +1251,35 @@
\expandafter\def\expandafter\reserved at a
\expandafter{\reserved at a{#2}{#3}}%
\reserved at a}
+\ExplSyntaxOn
+\cs_new_eq:NN \IfFileExists@@ \file_full_name:n
+\ExplSyntaxOff
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2021/06/01}%
+%<latexrelease> {\IfFileExists@}{IfFileExists}
+%<latexrelease>
+%<latexrelease>\long\def \IfFileExists@#1#2#3{%
+%<latexrelease> \openin\@inputcheck"#1" %
+%<latexrelease> \ifeof\@inputcheck
+%<latexrelease> \ifx\input at path\@undefined
+%<latexrelease> \let\reserved at a\@secondoftwo
+%<latexrelease> \else
+%<latexrelease> \def\reserved at a{\@iffileonpath{#1}}%
+%<latexrelease> \fi
+%<latexrelease> \else
+%<latexrelease> \closein\@inputcheck
+%<latexrelease> \edef\@filef at und{"#1" }%
+%<latexrelease> \let\reserved at a\@firstoftwo
+%<latexrelease> \fi
+%<latexrelease> \expandafter\def\expandafter\reserved at a
+%<latexrelease> \expandafter{\reserved at a{#2}{#3}}%
+%<latexrelease>\reserved at a}
+%<latexrelease>\let\IfFileExists@@\@undefined
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>
%<latexrelease>\IncludeInRelease{2019/10/01}%
-%<latexrelease> {\IfFileExists@}{manage unbalanced conditionals}
+%<latexrelease> {\IfFileExists@}{IfFileExists}
%<latexrelease>
%<latexrelease>\long\def \IfFileExists@#1#2#3{%
%<latexrelease> \openin\@inputcheck"#1" %
@@ -1257,7 +1297,7 @@
%<latexrelease> \reserved at a}
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease> {\IfFileExists@}{manage unbalanced conditionals}
+%<latexrelease> {\IfFileExists@}{IfFileExists}
%<latexrelease>
%<latexrelease>\let\IfFileExists@\@undefined
%<latexrelease>
@@ -1266,7 +1306,7 @@
%<*2ekernel>
% \end{macrocode}
% \end{macro}
-%
+% \end{macro}
%
%
%
diff --git a/base/testfiles-lthooks/lthooks-rollback-args.tlg b/base/testfiles-lthooks/lthooks-rollback-args.tlg
index df4efed4..e5c16318 100644
--- a/base/testfiles-lthooks/lthooks-rollback-args.tlg
+++ b/base/testfiles-lthooks/lthooks-rollback-args.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 2cb64151..c3270508 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -302,9 +302,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 71fa59da..0a85b5a0 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 3a619edb..a532a879 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 16aab082..f1047122 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -278,9 +278,10 @@ Skipping: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Spaces in file names and hooks on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Skipping: [....-..-..] Don't lose the file name on input line ....
@@ -1020,9 +1021,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index ce94cd08..84d42efb 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -272,9 +272,10 @@ Skipping: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Spaces in file names and hooks on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Skipping: [....-..-..] Don't lose the file name on input line ....
@@ -1004,9 +1005,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index 8e77a812..f85c1896 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -272,9 +272,10 @@ Skipping: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Spaces in file names and hooks on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
Skipping: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Skipping: [....-..-..] Don't lose the file name on input line ....
@@ -1013,9 +1014,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
index bb0c1a31..a0b4d3fc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -302,9 +302,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
index cbb9d188..190fd854 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
index d1be8bfe..78c27ddc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
index 8c3d6aa8..e58a6c5e 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -303,9 +303,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
index 10fe7c1a..82f36275 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
index 6059170c..3e57434c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
index 98503349..766cbb17 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -303,9 +303,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
index a8d26dce..862eb94a 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
index 49c6ccd2..9cbb67bc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -292,9 +292,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
index f05f1ef9..8df315d3 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -304,9 +304,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
index e788b118..40cc36e9 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -293,9 +293,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
index ce62f636..88b78a76 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -293,9 +293,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
index a8ebc97e..7d0736b6 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
@@ -304,9 +304,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
index 4ec6a9a5..0d8682a6 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -293,9 +293,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
index 25c958b5..0d0b92e5 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
@@ -293,9 +293,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 472babc2..c8ece3f1 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -303,9 +303,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index ba880b2c..1d630eef 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -292,9 +292,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index 3d072fb4..0ebecaeb 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -292,9 +292,10 @@ Applying: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index ca944df8..ca082989 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -306,9 +306,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index 1bcc72bd..f0baab95 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -296,9 +296,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index d1042fb5..b97f9cf4 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -296,9 +296,10 @@ Already applied: [....-..-..] Spaces in file names and hooks on input line ....
Applying: [....-..-..] Quote file names on input line ....
LaTeX Info: Redefining \IfFileExists on input line ....
Already applied: [....-..-..] Quote file names on input line ....
-Skipping: [....-..-..] manage unbalanced conditionals on input line ....
-Applying: [....-..-..] manage unbalanced conditionals on input line ....
-Already applied: [....-..-..] manage unbalanced conditionals on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Skipping: [....-..-..] IfFileExists on input line ....
+Applying: [....-..-..] IfFileExists on input line ....
+Already applied: [....-..-..] IfFileExists on input line ....
Applying: [....-..-..] Quote file names on input line ....
Already applied: [....-..-..] Quote file names on input line ....
Applying: [....-..-..] Don't lose the file name on input line ....
More information about the latex3-commits
mailing list.