[luatex] \openin does not find files with no extension

Harald Hanche-Olsen harald.hanche-olsen at ntnu.no
Mon Jul 29 18:19:25 CEST 2019

From: Hans Hagen (mailto:j.hagen at xs4all.nl)
Date: 29 July 2019 at 17:40:22

> but afaik it doesn't remove a suffix first so if an engine explicitly  
> adds one (we no longer do now in the openin case but pdftex does) one  
> cannot open a file without suffix  

Perhaps pdftex did so in the past, but it doesn't now,
unless I misunderstand what you're saying:

⬥ cat bar.tex
  \message{No foo!}
  \read\foo to \bar
⬥ cat foo
\message{This is foo (no extension)}
⬥ pdftex bar
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./bar.tex This is foo (no extension) )
No pages of output.
Transcript written on bar.log.

– Harald

More information about the luatex mailing list