[luatex] Spurious omega
Paul Isambert
zappathustra at free.fr
Sat Dec 18 23:16:12 CET 2010
A spurious uppercase omega generally signals an LF character that has
found its way to TeX typesetting processes. TeX normally removes such a
character when processing a line, but in your case I suppose it is added
by Lua itself when interpreting your multi-line string. What I don't
understand is why it hasn't been added before "xxx" too, i.e. at the end
of the first line.
I don't know if it is a bug or expected behavior, though. The only
solutions for the moment is either to avoid multi-line strings or to set
\catcode`\^^J=10 beforehand (so LF is normalized to a space character).
I don't know if the latter solution might be dangerous elsewhere (I
don't think so).
Best,
Paul
Le 18/12/2010 22:38, Andreas Matthias a écrit :
> I have a tex-file `test.tex':
>
> \directlua{require 'foo'}
> \bye
>
>
> And a lua-file `foo.lua':
>
> tex.print(
> [[
> xxx
> ]])
>
>
> I expected the output to be `xxx'. However, it is followed
> by a spurious uppercase omega. What's happening here?
>
>
> Ciao
> Andreas
>
More information about the luatex
mailing list