![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
12 Mar
2014
12 Mar
'14
8:05 a.m.
Am 12.03.2014 um 15:00 schrieb Lars Huttar
Hello, I've got a running page head like this in my document:
\def\CurrentUser{\cldcontext{os.resultof"whoami"}}
\def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion }
and later:
\setlayer[cropmark][preset=lefttop,x=3cm,y=-1.5\lineheight]{\Markname}
But when I run this, I get a UCS error that seems to indicate that the *result* of \CurrentUser ("waxhaw\huttar") is getting parsed as a command sequence.
When you want to pass a backslash to Lua you have to use \letterbackslash. Wolfgang