On 11/17/2010 06:34 PM, Manuel Pégourié-Gonnard wrote:

Nope. But, afaiu, this variable is only a path, not a set of path for searching.
[...]

But you can perfectly do

kpse.set_program_name(arg[0])
require('luatexbase.mcb')

in your startup script and then use luatexbase to register your function in the
callback. (I think you need to explicitly initialise kpse in the startup script
if you want it to be used by require(),

Yes, all that is correct. And it sounds like a good solution.

Best wishes,
Taco

Reply via email to