On Thu, 9 Jan 2014, Otared Kavian wrote:
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar
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:
(Untested): Change location=hanging to alternative=hanging.
%%% begin question-hint-answer.tex \defineblock[question] \defineblock[hint] \defineblock[answer]
\defineenumeration[question][location=hanging,text={Question},stopper={.}] \defineenumeration[hint][location=hanging,text={Hint for question},stopper={.}] \defineenumeration[answer][location=hanging,text={Answer to question},stopper={.}]
Aditya