I’m playing with the nice exam style file and I’ve got some questions related to it.
I search a way to reset the counter of the questions for each new section and/or subsections automatically.
I’ve read in the doc how to reset for example an item counter inside an enumerate environment with:
<assign|item-nr|0>
.
But for the exam style file I’ve got difficulties to find the counter on which to act.
I’ve looked in the std-edu.ts
file and try to modify for example the short-arabic
macro <assign|short-arabic|<macro|nr|nr>>
by brutally putting it to 1 for each new subsection and of course the counter is not incremented anymore
So I’ve got basically 2 questions:
- how to find the name of the counters to act on ?
- how to do this automatically for each new subsection for example ?
Any help will be of course welcome.