You have to add a closing ) for tex.print in both Lua calls but you can replace the second version with \cldcontext{os.getenv("USER")}.30. September 2015 um 17:07Dear list,
I have the following sample:
\starttext
\startluacode
tex.print(os.getenv("USER")
\stopluacode
\ctxlua{tex.print(os.getenv("USER")}
\stoptext
How can I escape the quotes in the \ctxlua command?