Re: "new" \input vs. primitive behavior

David Carlisle <000006e69eda60e0-dmarc-request-0lvw86wZMd8wwC3q1xGJAzLcMfAFj/UcfwJ6n/[email protected]> Fri, 28 Jul 2023 20:31:53 +0100
Newsgroups gmane.comp.tex.latex.latex3
Organization NAG
Message-ID <[email protected]>
On 28/07/2023 19:48, Phelype Oleinik wrote:
> because the lookup first checks the name as given

actually no.

For extensionless files .tex is looked for first  (so readme is not
accessible if readme.tex is blocking it)


% If this option is set to true, `tex a.b' will look first for a.b.tex
% (within each path element), and then for a.b, i.e., we try standard
% extensions first.  If this is false, we first look for a.b and then
% a.b.tex, i.e., we try the name as-is first.
%
% Both names are always tried; the difference is the order in which they
% are tried.  The setting applies to all searches, not just .tex.
%
% This setting only affects names being looked up which *already* have
% an extension.  A name without an extension (e.g., `tex story') will
% always have an extension added first.
%
% The default is true, because we already avoid adding the standard
% extension(s) in the usual cases.  E.g., babel.sty will only look for
% babel.sty, not babel.sty.tex, regardless of this setting.
try_std_extension_first =3D t



Disclaimer

The Numerical Algorithms Group Ltd is a company registered in England and W=
ales with company number 1249803. The registered office is: 30 St. Giles, O=
xford, OX1 3LE, United Kingdom. Please see our Privacy Notice <https://www.=
nag.com/content/privacy-notice> for information on how we process personal =
data and for details of how to stop or limit communications from us.

This e-mail has been scanned for all viruses and malware by Microsoft Excha=
nge Online (EOP)