8 Dec
2006
8 Dec
'06
11:09 a.m.
Javier Bezos wrote:
which just wraps every letter inside \dolua{ }. However, the letters are silently ignored (but "print" prints it in the console, so lua is working). I presume the problem is "tex.print" is like a line in the tex file, while ocp's are applied after expansion, so when \dolua is executed it's too late and the line is sent to nowhere.
That is roughly what happens, yes. I have to look into this at some point, because silently disappearing output is a bit unfriendly, but the precise interaction between otp processing and input states is not the easiest bit of TeX to comprehend, so it may take a while. Best, Taco