Hi,

Paul Isambert wrote:
If the line

     pdf.print("\string\n")

is in a Lua file, there shouldn’t be any “\string” at all, which is useful only
with \directlua; here this results in the unexisting character “\s”
followed by “tring\n”.

It was in a Lua file. I got rid of the \string, now everything works. Thanks for the hint.

So the code was wrong from the beginning, however you didn’t notice
the error because in Lua 5.1 “\s” is not an invalid sequence, whereas
it is in Lua 5.2.

Good to know …

cheers
Arno

Reply via email to