5 Jan
2011
5 Jan
'11
9:11 p.m.
Procházka Lukáš
I'd need to pass a variable to Ctx and to retrieve it inside a compiled document - via Ctx itself and also by Lua.
Hello, % cmd-line: context --arguments=testvar=my-value test \starttext value of testvar: \env{testvar} with lua: \ctxlua{tex.print(document.arguments.arguments)} \stoptext There is perhaps a nicer solution in lua. Peter -- Contact information: http://pmrb.free.fr/contact/