![](https://secure.gravatar.com/avatar/2259586bbe3f45ed8564afe9bd7a8439.jpg?s=120&d=mm&r=g)
8 Apr
2010
8 Apr
'10
6:30 p.m.
2010/4/9 Wolfgang Werners-Lucchini
Hallo,
I tried the following
-------------------------------------- \starttext \startluacode local OldPreLB
function MyPreLB(head,gc) texio.write_nl("########### Here I am!") OldPreLB(head,gc) end
OldPreLB = callback.find('pre_linebreak_filter') callback.register('pre_linebreak_filter',MyPreLB) \stopluacode
Test \stoptext --------------------------------------
but MyPreLB() is not called. What I am doing wrong here?
Hi Wolfgang, see http://www.ntg.nl/pipermail/ntg-context/2010/047018.html -- Best regards, Li Yanrui (李延瑞)