On 3/12/2014 11:06 AM, Wolfgang Schuster wrote: > > Am 12.03.2014 um 15:51 schrieb Lars Huttar <lars_hut...@sil.org > <mailto:lars_hut...@sil.org>>: > >> This gets rid of the error, but it seems to prevent any expansion of the >> content of \CurrentUser, because the page head now literally looks like >> this: > > You can try to print the string in verbatim mode: > > > \def\CurrentUser{\cldcommand{sprint(tex.vrbcatcodes,os.resultof"whoami")}} > > \def\Markname{Compiled \date by \CurrentUser\ \LUATEX +\ConTeXt\ > \contextversion.} >
That did it. Thank you! Lars ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________