And so? This has not [mathematical] solution ;-)
Xan.
> The block commands use a buffer to store the content and buffers can’t be
> used in commands.
>
>Wolfgang
___
If your question is of interest to others as well,
Am 30.03.2014 um 19:28 schrieb Xan :
> This:
>
> \defineblock[question]
> \defineblock[answer]
>
> \defineenumeration[question][text={Question}]
> \defineenumeration[answer] [text={Answer}]
>
> \keepblocks[question]
> \hideblocks[answer]
>
>
> \def\mynewcommand{\dosingleempty\doMyNewCommand
This:
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][text={Question}]
\defineenumeration[answer] [text={Answer}]
\keepblocks[question]
\hideblocks[answer]
\def\mynewcommand{\dosingleempty\doMyNewCommand}
\def\doMyNewCommand[#1]#2{%
\iffirstargument
\beginquesti
Hi,
Concerned with the answers to the [that
topic](http://www.ntg.nl/pipermail/ntg-context/2014/077099.html), I was
thinking if I could define a command "Exercise" with a optional argument (the
"Answer").
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][text={Question}