On 3/28/2022 1:32 PM, Jérôme LAURENS wrote:
I do not really understand what is the relation with macro packages and _ 
because it is just raw luatex.
depends. i've seen it being an active character; anyway,

    \directlua{
        tex.set_synctex_tag(99)
        print(tex.get_synctex_tag())
        tex.set_synctex_tag(199)
        print(tex.get_synctex_tag())
    }

does what it is supposed to do: sets the tag of the current input and reports the tag of the current input and every \directlua pushed the stack so after such a call that state is gone

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to