[luatex] io.lines() and TeXLive 2017

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sat Jun 10 11:03:22 CEST 2017


>  print ("Second Method")

It was simplified as

print ("Second Method")
-- io.input("test.txt")
for line in io.lines("test.txt") do
    print (line)
end

The compatible mode is

print ("Second Method")
io.input("test.txt")
for line in io.saved_lines("test.txt") do
    print (line)
end

However, this does not work, unfortunately, because
of a typo in luatex-core.lua, which is easy
to fix, but maybe too late for TL 17.

Thanks,
Akira



More information about the luatex mailing list