[luatex] advices for some multiple callbacks implementations

Elie Roux elie.roux at telecom-bretagne.eu
Sat Feb 7 22:48:23 CET 2009


Hello,

I would need an advice on the way to implement several functions in some 
callbacks, the fundamental question is the following one:

for callbacks dealing with file reading, like the read_xxx_file or 
open_read_file, it seems unlogical to register several callbacks, so in 
the current state the handler for these callbacks only calls the first 
function in the list (the one with highest priority). Does it seem right?

The only case in which it would be logical to register several functions 
in this kind of callbacks is this one: if someone wants to act on a 
particular file, he could register a callback that will be called only 
on this file... But the more I write about this idea the less it seems 
good, what do you think?

Joined is the current state, if you have comments...

Thank you!
-- 
Elie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luamcallbacks.zip
Type: application/zip
Size: 84998 bytes
Desc: not available
Url : http://tug.org/pipermail/luatex/attachments/20090207/ef19b2b0/attachment-0001.zip 


More information about the luatex mailing list