Hi, I'm sure that for lua gurus it is known behavior that user_defined whatsit clears the \lastskip but for me it was a big surprise. little example: aa \vskip11.1pt \showthe\lastskip \directlua{% local x = node.new('whatsit', 'user_defined') x.type=115 x.value="TEXT" node.write(x) }% \showthe\lastskip \bye log:
11.1pt. l.4 \showthe\lastskip
?
0.0pt. l.13 \showthe\lastskip
I just accidentally noticed that I messed up output trying to markup document. I was sure that luatex will step over these whatsits. Is there another way to write user_defined whatsits directly without effecting \lastskip? My goal is to mark text in DVI mode with user_defined whatsits and on the shipout turn them to postscript \special's for accessible pdf Thanks, Linas