luatex problem with file with umlauts on windows 10

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Sat Apr 25 16:06:56 CEST 2020


Just to confirm that the problem lies with the filename and not with the code, I amended the original as follows :

> \directlua
>
>     {
>
>          function myfilesize (name)
>
>              local file = kpse.find_file (name, "tex", true)
>
>              print ("\string \n FILE: ",file)
>
>              if file then
>
>                  print ("SIZE: ", lfs.attributes (file, "size"))
>
>                  print ("isfile ", lfs.isfile (file))
>
>              end
>
>          end
>
>     }
>
>
> \input {gruesse}
> \input {grüße}
>
>
> \directlua {myfilesize ("gruesse.tex")}
>
> \directlua {myfilesize ("grüße.tex")}
>
>
> \bye
>

 From this version, the output is :

> This is LuaTeX, Version 1.12.0 (TeX Live 2020/W32TeX)
>
> restricted system commands enabled.
>
> (./untitled-1.tex (./gruesse.tex) (./grüße.tex)
>
> FILE: ./gruesse.tex
>
> SIZE: 11
>
> isfile true
>
>
> FILE: ./grüße.tex
>
> SIZE: nil cannot obtain information from file './grüße.tex':
> No such file or directory 2 isfile false
>
> [1{c:/TeX/Live/2020/TeX-MF/Var/fonts/map/pdftex/updmap/pdftex.map}])
>
> (see the transcript file for additional information)
>
> <c:/TeX/Live/2020/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
>
> Output written on untitled-1.pdf (1 page, 11792 bytes).
>
>
> SyncTeX written on untitled-1.synctex.gz.
>
> Transcript written on untitled-1.log.
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20200425/e32b8fdc/attachment.html>


More information about the tex-live mailing list.