2010/2/19 Yanrui Li <liyanrui...@gmail.com>

> Hi,
>
> Now it seems that we have not allowed to register the callback functions
> since beta 2010.02.18.
>
> For example:
>
> \startluacode
>
> local old_pre_linebreak_filter = callback.find ('pre_linebreak_filter')
>
> local function my_pre_linebreak_filter (head, groupcode)
>     if old_pre_linebreak_filter then
>     old_pre_linebreak_filter (head, groupcode)
>     end
>     print ('This is my pre_linebreak_callback')
>     return true
> end
>
> callback.register ('pre_linebreak_filter', my_pre_linebreak_filter)
>
> \stopluacode
>
> \starttext
>
> This is just a test!
>
> \stoptext
>
> The 'my_pre_linebreak_filter' function can not work again. Is this a bug?
>
> --
> Best regards,
>
> Li Yanrui
>

I see. The 'pre_linebreak_filter' callback function is frozen.

-- 
Best regards,

Li Yanrui
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to