6 Dec
2012
6 Dec
'12
11:27 p.m.
On Thu, 6 Dec 2012, Marco Patzer wrote:
On 2012–12–06 Otared Kavian wrote:
It seems that your command \cmd places again the content…
That's not the case. Check this example:
\usemodule [annotation]
\defineannotation [first] [alternative=command, command=\cmdFirst]
\defineannotation [second] [alternative=command, command=\cmdSecond]
\def\cmdFirst{} \def\cmdSecond {\placeannotationcontent}
Untested: Does \unexpanded\def\cmdSecond ... help?
\starttext \startfirst first %% not printed \stopfirst
\startsecond second %% printed twice \stopsecond \stoptext
Aditya