All, How come \resetquestion in this source does not work as advertised in the manual? I also tried \setquestion{0} to no avail. %output=pdf \starttext \setupindenting[medium,yes] \setupwhitespace[medium] \setupcolors[state=start] \defineenumeration[question] \setupenumerations [question] [location=inleft, text={\color[blue]\bgroup}, stopper={.\egroup}] \chapter{First Chapter} \dorecurse{2}{\input tufte\par} \section{First Section} \dorecurse{5}{\input tufte\par} \section{Exercises} \startcolumns[n=2] \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \stopcolumns \section{Answers} \startcolumns[n=2] \dorecurse{5}{\input tufte\par} \stopcolumns \section{Second Section} \dorecurse{5}{\input tufte\par} \section{Exercises} \startcolumns[n=2] \resetquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \stopcolumns \section{Answers} \startcolumns[n=2] \dorecurse{5}{\input tufte\par} \stopcolumns \section{Third Section} \dorecurse{5}{\input tufte\par} \section{Exercises} \startcolumns[n=2] \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \startquestion What is the square root of $\pi$? \stopquestion \stopcolumns \section{Answers} \startcolumns[n=2] \dorecurse{5}{\input tufte\par} \stopcolumns \stoptext
David Arnold wrote:
All,
How come \resetquestion in this source does not work as advertised in the manual?
The implementation has changed, and apparently this definition has slipped our attention. You can use \resetnumber[question] instead. Btw, I think you were looking for \setupenumeration[question][way=bysection,sectionnumber=no] in that other message. Cheers, taco
participants (2)
-
David Arnold
-
Taco Hoekwater