LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

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

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

Print Reply
Subject:
From:
Phelype Oleinik <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 28 Jul 2023 12:04:28 -0300
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
Hi Thierry,

On Fri, Jul 28, 2023 at 11:59 AM Joseph Wright
<[log in to unmask]> wrote:
>
> Older LaTeX used \openin + \ifeof to test for file existence; we now use
> \(pdf)filesize, which is expandable and reports "0" for a non-existent
> file. Both methods should find "foo.tex" from "foo" in the same way.

A wild guess:  maybe your implementation of |\pdffilesize| doesn't try
to guess the extension as |\input| does, thus the difference you are
seeing.  Because as others have already said, |\input{docstrip}| works
in both older and newer (web2c-based) LaTeX.

Sorry if this isn't useful:  can't run any code right now.

Best,
Phelype

ATOM RSS1 RSS2