Closed lemzwerg closed 1 year ago
It seems to be a bug with the plain-TeX backend. If I change the test file macro_nodetreeregister.tex
to
\input nodetree
\NodetreeSetOption[color]{no}
\NodetreeRegisterCallback{preline,line}
register
\NodetreeUnregisterCallback{preline,line,postline}
unregister
\bye
The call to \NodetreeUnregisterCallback
is ignored, too.
Can this issue be closed?
No, it cannot – I don't know enough about callbacks (and luatex implementation details) to work on that. Do you time to have a look?
[2022/12/17 v2.2.1]
Consider this plain-TeX input
which produces the following output on the console.
As you can see, the 'hyphenation' callback is called three times after 'foo-bar', inspite of unregistering it immediately. This looks like a bug.