[luatex] multiple callbacks
Elie Roux
elie.roux at telecom-bretagne.eu
Sun Jan 4 18:19:33 CET 2009
Elie Roux a écrit :
> I took Hans' example and modified it so that it compiles. I come up
> with a minor Lua problem (see the last comment), and a strange
> problems : it seems that callbacks are called two times... If someone
> better than me in Lua can take a look...
Update : a simple
callback.register("hpack_filter",function(head,...)
texio.write_nl("I am a callback")
return head, true
end,1)
writes two times "I am a callback", which is not the case for
callback.register("post_linebreak_filter",function(h, groupcode, glyphes)
texio.write_nl("I am a callback")
return true
end,1)
that writes it only once, is it normal?
--
Elie
More information about the luatex
mailing list