Skip to content

Commit

Permalink
Adjust name of \IfFileExists rollback structure
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed May 17, 2023
1 parent faac12b commit cc1f80a
Show file tree
Hide file tree
Showing 29 changed files with 129 additions and 163 deletions.
13 changes: 5 additions & 8 deletions base/ltfiles.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfiles.dtx}
[2023/05/15 v1.2t LaTeX Kernel (File Handling)]
[2023/05/17 v1.2t LaTeX Kernel (File Handling)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfiles.dtx}
Expand Down Expand Up @@ -1225,7 +1225,7 @@
%</2ekernel>
%<*2ekernel|latexrelease>
%<latexrelease>\IncludeInRelease{2023/05/01}%
%<latexrelease> {\IfFileExists@}{Cache file status}
%<latexrelease> {\IfFileExists@}{IfFileExists}
\long\def \IfFileExists@#1#2#3{%
\edef\@filef@und{\IfFileExists@@{#1}}%
% \end{macrocode}
Expand Down Expand Up @@ -1257,7 +1257,7 @@
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{2021/06/01}%
%<latexrelease> {\IfFileExists@}{Cache file status}
%<latexrelease> {\IfFileExists@}{IfFileExists}
%<latexrelease>
%<latexrelease>\long\def \IfFileExists@#1#2#3{%
%<latexrelease> \openin\@inputcheck"#1" %
Expand All @@ -1277,12 +1277,9 @@
%<latexrelease>\reserved@a}
%<latexrelease>\let\IfFileExists@@\@undefined
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\IfFileExists@}{Cache file status}
%<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" %
Expand All @@ -1300,7 +1297,7 @@
%<latexrelease> \reserved@a}
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\IfFileExists@}{manage unbalanced conditionals}
%<latexrelease> {\IfFileExists@}{IfFileExists}
%<latexrelease>
%<latexrelease>\let\IfFileExists@\@undefined
%<latexrelease>
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles-lthooks/lthooks-rollback-args.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/github-0479-often.luatex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/github-0479-often.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/github-0479-often.xetex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
18 changes: 8 additions & 10 deletions base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] manage unbalanced conditionals on input line ....
Already applied: [....-..-..] 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 ....
Expand Down Expand Up @@ -1017,11 +1016,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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
18 changes: 8 additions & 10 deletions base/testfiles/tlb-latexrelease-rollback-003-often.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] manage unbalanced conditionals on input line ....
Already applied: [....-..-..] 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 ....
Expand Down Expand Up @@ -1001,11 +1000,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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
18 changes: 8 additions & 10 deletions base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] manage unbalanced conditionals on input line ....
Already applied: [....-..-..] 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 ....
Expand Down Expand Up @@ -1010,11 +1009,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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] 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 ....
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +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 ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] Cache file status 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] Cache file status 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 ....
Expand Down
9 changes: 4 additions & 5 deletions base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +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: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] Cache file status 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 ....
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +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 ....
Skipping: [....-..-..] Cache file status on input line ....
Applying: [....-..-..] Cache file status on input line ....
Already applied: [....-..-..] Cache file status 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 ....
Expand Down

0 comments on commit cc1f80a

Please sign in to comment.