[luatex] open_read_file plays badly with -recorder

taco taco at elvenkind.com
Wed Sep 15 16:36:31 CEST 2010


Manuel Pégourié-Gonnard wrote:
> 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? 

No.

> Is this behaviour intented?

No, but it was fixed post-0.60.1

Best wishes,
Taco


More information about the luatex mailing list