2 % test file for latex/2024
3 % \IfFileExists and friends should only require
4 % ##1 not ####1 even if \input@path defined
6 % use this file as a test input file, but stop here
7 \ifx\START\undefined\else\endinput\fi
14 \IfFileExists{rubbish.bad}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
15 \typeout{1 \meaning\a}
16 \IfFileExists{tlb2024.lvt}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
17 \typeout{2 \meaning\a}
18 \InputIfFileExists{rubbish.bad}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
19 \typeout{3 \meaning\a}
20 \InputIfFileExists{tlb2024.lvt}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
21 \typeout{4 \meaning\a}
25 \IfFileExists{rubbish.bad}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
26 \typeout{5 \meaning\a}
27 \IfFileExists{tlb2024.lvt}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
28 \typeout{6 \meaning\a}
29 \InputIfFileExists{rubbish.bad}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
30 \typeout{7 \meaning\a}
31 \InputIfFileExists{tlb2024.lvt}{\def\a##1{yes: ##1}}{\def\a##1{no: ##1}}
32 \typeout{8 \meaning\a}