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
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 : 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 ___________________________________________________________________________________