[Dev-luatex] lua in ocp's [was Very simple sample?]

Taco Hoekwater taco at elvenkind.com
Fri Dec 8 12:09:27 CET 2006

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

More information about the dev-luatex mailing list