[luatex] Help with kpse_init=false needed

Patrick Gundlach patrick at gundla.ch
Tue Jun 23 10:57:40 CEST 2009


> Taco Hoekwater wrote:

> This means that besides all the finders, you also need to add the
> open callback for (at least) regular input files:
>
>
> callback.register('open_read_file',
>   function(asked_name)
>      texio.write_nl("hello from open_read_file\n")
>      local tab = { }
>      tab.file = io.open(asked_name)
>      tab.reader = function (t)
>                      local f = t.file
>                      return f:read('*l')
>                   end
>      return tab
>   end
> )

Thanks, Taco! It seems that for pdf mode I have to write/register the
read_..._file callbacks as well. Is this on purpose? 

Patrick


More information about the luatex mailing list