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:
LARONDE Thierry <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 28 Jul 2023 19:25:54 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
On Fri, Jul 28, 2023 at 05:56:29PM +0100, Joseph Wright wrote:
> 
> Note that in order to do file testing by expansion (which we want for
> various expl3 functions), we *have* to avoid \openin and that realistically
> means \(pdf)filesize is the best option.

Why in this case not having requested a \filefind primitive, with an
argument specifying a required extension (an empty string if to be
taken as is), and using the return value with other primitives (size,
moddate, md5, dump) doing no search and no extension (very "primitive"
primitives)?
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

ATOM RSS1 RSS2