[luatex] open_read_file plays badly with -recorder

Manuel Pégourié-Gonnard mpg at elzevir.fr
Wed Sep 15 15:36:18 CEST 2010


Hi,

Using luatex 0.60.1, processing the following file with the -recorder option
shows no trace of story.tex in the .fls file.

\directlua{
  assert(callback.register('open_read_file',
    function (file)
      local fh = assert(io.open(file))
      return {
        reader = function () return fh:read()  end,
        close  = function () return fh:close() end,
      }
    end))}
\input story.tex
\bye

Am I doing anything wrong? Is this behaviour intented?

Thanks,
Manuel.


More information about the luatex mailing list