Hi Wolfgang, Hi Aditya,

Thanks for your attention.
Unfortunately adding 
\keepblocks[question] 
the example I sent before does not work in mkiv, and changing 
location=hanging
to
alternative=hanging
does not help neither…
The error message in mkiv is:
\dostopnormalblock ...meter \c!after \par \egroup 

                                                  

<argument> ...fact that $2\times 5 = 10$. \dostopnormalblock 
                                                  \dostartnormalblock {hint}...
\dodowithpar ...dler \v!construction \endcsname #1
                                                  \csname \??constructionsto…

So I don’t know what to do if one has to use mkiv.

Best regards: OK

On 9 janv. 2014, at 18:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


Am 09.01.2014 um 16:36 schrieb Otared Kavian <otared@gmail.com>:


On 9 janv. 2014, at 15:48, Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:

Hello Otared.
I will throw this one... Thanx.

Once I was using exercise-answer package for LaTeX.
Is there anything like this to use in ConTeXt?

Thanx
Jaroslav Hajtmar

Hello Jaroslav,

I have something like the following which was given to me by Hans a long time ago: unfortunately for some reason this does not work anymore with ConTeXt mkiv, but it is quite fine with mkii:

Add \keepblocks[question].

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