On 2012–12–07 Wolfgang Schuster wrote: > Commands need to be unexpandable because when you use the “command”. > > This is necessary because I check for a command and this needs > \unexpanded\def to work. > > You can create a unexpandable command with \starttexdefintion by adding > the unexpanded keyword as first argument to the environment. > > \starttexdefinition unexpanded cmd #first #second > \placeannotationcontent > \stoptexdefinition
That does the trick. Thanks Wolfgang! Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________