LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
LARONDE Thierry <[log in to unmask]>
Fri, 28 Jul 2023 13:28:48 +0200
text/plain (48 lines)

Apparently, somewhere between 2022 and 2023, you have changed the way
the LaTeX \input macro, replacing the primitive, is behaving regarding
the extension when brackets are used.

Now, when a tex file specifies:


i.e.: "filename" without a ".tex" extension, the file is searched
"as is" and if not found, the extension is not added. (This is for
example the case in the bbold package, inside the .dtx for inclusion of

If one specifies:

\input filename

the primitive is used, that adds automatically the extension.

And furthermore, the LaTeX Error message specifies the file with the
extension, while it is not what is searched (what is searched is the
file without the extension).

(Note, in Prote, the behavior of the primitive is described in:


Is this indeed the expected behavior? (but this breaks some files.) Or
am I missing something?

Or is this because in TeXLive the glue routine adds the extension (that
is not added by LaTeX proper)? But meaning this works with TeXLive, but
will not work with another implementation?

And this was not the case some months back when the file was searched
first without the extension and then, if not found, with it added.

Thanks for any info.
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C