17 Jul
2011
17 Jul
'11
12:53 p.m.
Am 17.07.2011 um 14:42 schrieb Jaroslav Hajtmar:
Thanx Wolfgang. But I guess I was wrong to express..
I need to pass parameter '\\macroI' to the function and turn it up a inside luafunction expand to its value.
Not possible.
Ie when \def\macroI{6}
Then I need when I make in your example \ctxlua{test("\\macroI")} get the result : "The argument “6” is a positive number" and not result "The argument “6” is a string."
That’s odd because for me \ctxlua{test("\macroI")} results in The argument “6” is a positive number. and \ctxlua{test("\\macroI")} in The argument “6” is a string. Wolfgang