[NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

Henri Menke henrimenke at gmail.com
Fri Mar 1 00:14:03 CET 2019


Dear list,

I just installed TeX Live 2019 pretest and running context --make fails with

    error in callback: ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to call a nil value (upvalue 'isfile')

This can easily be fixed by replacing in luat-cod.lua

    local isfile = lfs.isfile

with

    local isfile = function(file) return lfs.attributes(file,"mode") == "file" end

This should probably be fixed before the release.

Cheers, Henri



More information about the ntg-context mailing list