On Thu, 1 Jun 2006, Hans Hagen wrote:
Aditya Mahajan wrote:
This is interesting. I have a couple of questions.
On Sun, 28 May 2006, Hans Hagen wrote:
This should get you started ... please wikify this:
\setupitemgroup[itemize][1][a,random,packed]
\startsetups examn:make [snipped] \stopsetups
\startsetups examn:ok \doifmode {answers} { \inleft{\symbol[star]} } \ignorespaces \stopsetups
For some reason, ignorespaces is ignored. The output is shifted left by one space. Is this because of some grouping issue.
\starttext
\startbuffer[examn]
\startitemize \startitem first \stopitem \startitem \setups[examn:ok] second \stopitem \startitem third \stopitem \startitem fourth \stopitem \stopitemize [snipped] \stopbuffer
Any particular reason for using \startitem ... \stopitem instead of \item? I could not notice any difference between the two. Is it just a matter of taste?
well, you don't have the 'random' option in your version; we need the start/stop then because we need to collect the items first
Oops, was testing with the wrong setup. Thanks for the explaination. Aditya