7 Dec
2012
7 Dec
'12
6:38 a.m.
Am 06.12.2012 um 21:24 schrieb 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}
The argument for the command keys has to be a macro with two parameters, the first parameters contains the formatted header and the second argument the formatted content of the environment. You have to change your definition of \cmd to \define[2]\cmd{#2} or \define[2]\cmd{\placeannotationcontent} Wolfgang