[luatex] macro definition inside a callback
Khaled Hosny
khaledhosny at eglug.org
Fri Sep 7 10:44:58 CEST 2012
On Fri, Sep 07, 2012 at 08:03:52AM +0200, Arno Trautmann wrote:
> Hi all,
>
> maybe a somewhat strange question again from me: Is it possible to
> define a macro inside the *_linebreak_filters? I want to use a
> function in the pre_linebreak_filter, and this function should
> define a macro. So the macro should be present with a new definition
> at the beginning of the next paragraph, but only if the previous one
> has been typeset with that function registered, which removes itself
> after running.
Why not use some global variable that can be set/checked as appropriate?
Regards,
Khaled
More information about the luatex
mailing list