[NTG-context] How to reset a new processor ?

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Aug 8 13:27:31 CEST 2016


> Fabrice Couvreur <mailto:fabrice1.couvreur at gmail.com>
> 8. August 2016 um 13:11
> Hi Wolfgang,
> In fact, I have a project "Lesson" with components chapter 1, chapter 
> 2, ...
> If I add \setupenumeration [] [way=bysubsection] to each component 
> that does not work.
\defineenumeration[exercise][text=Exercise ]
\setupenumeration [exercise][way=bysection]

\starttext

\dorecurse{5}
{\expanded{\chapter{Chapter \recurselevel}}
  \dorecurse{3}
    {\expanded{\section{Section \recurselevel}}
     \dorecurse{3}
       {\startexercise
        \input ward
        \stopexercise}}}

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160808/05208042/attachment.html>


More information about the ntg-context mailing list