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

Ulrike Fischer luatex at nililand.de
Sat Jul 27 19:23:16 CEST 2019


Am Sat, 27 Jul 2019 18:57:30 +0200 schrieb luigi scarso:

 
> We have to decide what to do here:
> \openin\foobar=test-import
> fails in pdftex and luatex
> 

Not for me. pdftex finds a file without extension, luatex not.

\openin0 makefile % makefile exist in the folder
  \ifeof0         % gives: luatex: don't exist; pdftex: exist
   don't exist
  \else
   exist
  \fi
\closein0

\input makefile %input by both engines

\bye

Imho luatex should find the file with \openin0 as it does with
\input.



> \openin\foobar={test-import}
> fails in pdftex but not in luatex

yes, the luatex syntax has been extended here (which is fine). That
pdftex doesn't know this syntax is documented and not a problem. 



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/



More information about the luatex mailing list