2015-06-26 23:08 GMT+02:00 Stephan Hennig <[email protected]>: > The Lua script read.lua has Unix line endings (which might be relevant, > but I don't know). ... > texlua read.lua read.lua ... > So this is probably a Windows only issue with LuaTeX. Can anybody > confirm the buggy behaviour on other platforms?
In the days when I still used Windows, just about every text file moved between Windows and Unix gave anomalous results when used with just about any program that relied on reading lines. I have no idea whether this is still so. Could you convert read.lua to readwin.lua (with Windows line endings) and try the various combinations? I.e. texlua read.lua readwin.lua etc. In an ideal world only some of them will fail, and that should be helpful in finding out why it happens.
