LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Mailing list for the LaTeX3 project <[log in to unmask]>
Fri, 28 Jul 2023 15:14:31 +0100
Mailing list for the LaTeX3 project <[log in to unmask]>
David Carlisle <[log in to unmask]>
text/plain; charset=UTF-8; format=flowed
text/plain (91 lines)
On 28/07/2023 15:03, LARONDE Thierry wrote:
> On Fri, Jul 28, 2023 at 12:57:44PM +0100, Joseph Wright wrote:
>> On 28/07/2023 12:28, LARONDE Thierry wrote:
>>> Hello,
>>> 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.
> To be more specific, somewhere between 2022-11-01 and today (CTAN
> 2023-06-30).
> As a remainder: I'm the developer of kerTeX (a distribution) and of
> Prote (a change file to add LaTeX needed primitives to TeX + e-TeX). So
> the glue code is the kerTeX one; and the engine is the Prote one.
> So there is a stack of things:
> 1) Glue added by the distribution (TeXLive doesn't implement the same
> thing as kerTeX);
> 2) The engine: here it is Prote;
> 3) LaTeX (and different behavior with different versions).
> When dumping the LaTeX macro package (today's version on CTAN), LaTeX
> running on the Prote engine, the \input is not the primitive but a
> wrapper.

\input in latex has always been such a wrapper even back as far as the 1980s

> Now:
> ---8<---
> $ echo '\input{docstrip}' | latex
> This is Prote, Version kerTeX C 3.141592653-2.6-1.0.0
> entering extended mode
> entering prote mode
> LaTeX2e <2023-06-01> patch level 1
> L3 programming layer <2023-06-30>
> *
> ! LaTeX Error: File `docstrip.tex' not found.

That would seem to be an engine feature, not a latex issue. The expected
behaviour is

$ echo '\input{docstrip}' | latex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023)
(preloaded format=latex)
  restricted \write18 enabled.
**entering extended mode
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-06-30>

LaTeX will (eventually) ask the primitive input to input docstrip and it
is expected that that primitive will input docstrip.tex if docstrip is
not found.

In particular you see exactly the same behaviour in texlive tex with no
latex macros

$ echo '\input{docstrip}' | tex
This is TeX, Version 3.141592653 (TeX Live 2023) (preloaded format=tex)



The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: 30 St. Giles, Oxford, OX1 3LE, United Kingdom. Please see our 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 Exchange Online (EOP)