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?

Wolfgang
___________________________________________________________________________________
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