[NTG-context] post_linebreak_filter in context

Patrick Gundlach patrick at gundla.ch
Fri Feb 25 16:14:52 CET 2011

Hello Hans,

> first put the function in some namespace, like:
> moduledata.mystuff = { }
> moduledata.mystuff.show_hyph = show_hyph
> then register it in the finalizer group (which is the post_linebreak stuff)
> nodes.tasks.appendaction("finalizers","after","moduledata.mystuff.show_hyph")

Works perfectly.

> (before and after are subgroups that can be used by users if needed; of course one never know to what extent it will influence other processes, so "shipouts","after" might be a better choice)

Ok. In this case it works for me but I'l remember that.



More information about the ntg-context mailing list