Am 02.01.2011 um 02:04 schrieb Fulvio Satta:
I have a problem with Lua and the # operator.
If I execute the following code I receive an error.
\def\luacode%
{\startluacode
local t = {1, 2, 3}
tex.print(#t)
\stopluacode}
\starttext
\luacode
\stoptext
ConTeXt give me the
Il domenica 02 gennaio 2011 02:04:46 Fulvio Satta ha scritto:
I have a problem with Lua and the # operator.
If I execute the following code I receive an error.
\def\luacode%
{\startluacode
local t = {1, 2, 3}
tex.print(#t)
\stopluacode}
\starttext
\luacode
\stoptext
I have a problem with Lua and the # operator.
If I execute the following code I receive an error.
\def\luacode%
{\startluacode
local t = {1, 2, 3}
tex.print(#t)
\stopluacode}
\starttext
\luacode
\stoptext
ConTeXt give me the message:
! Illegal parameter number in definition of