Hi Marco, It seems that your command \cmd places again the content… Why do you want that command? This works fine:
\usemodule [annotation] \defineannotation [myannotation] \starttext \startmyannotation foo \input knuth.tex \stopmyannotation \stoptext Best regards: OK On 6 déc. 2012, at 21:24, Marco Patzer <[email protected]> wrote: > In the following example the content of the annotation is printed > twice. Bug? > > \usemodule [annotation] > > \defineannotation > [myannotation] > [alternative=command, > command=\cmd] > > \def\cmd > {\placeannotationcontent} > > \starttext > \startmyannotation > foo > \stopmyannotation > \stoptext > > > Marco > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : [email protected] / 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
