[luatex] Cannot register callback in \everymath

Hans Hagen j.hagen at xs4all.nl
Fri Apr 20 09:13:38 CEST 2018

On 4/19/2018 11:49 PM, Henri Menke wrote:
> Dear list,
> It seems as if callbacks are not registered if I'm doing it inside \everymath.
> The idea is to have a callback in "process_input_buffer", which only acts in
> math mode.  To have that semi-automatically, I wanted to register it in
> \everymath and deregister after math mode using \aftergroup.  However, the
> callback is simply ignored in that constellation.  MWE is below.
that callback grabs lines so you need parse lines


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

More information about the luatex mailing list