Hans,
> there are user nodes that you can inject
>
> \def\dummynode#1{\directlua{
> local n = node.new("whatsit",node.subtype("user_defined"))
> n.type = 100
> n.value = #1
> node.write(n)
> }}%
>
> foo\dummynode{123}bar
Thanks, this is what I was looking for, but is not node.write
experimental? Or has it come to stay?
Javier