<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Wolfgang,<span id="result_box" class="" lang="en"><br><span>In fact,</span> <span>I have a project</span> <span>"</span><span>Lesson</span><span>"</span> <span>with</span> <span>components</span> <span>chapter 1</span><span>,</span> <span>chapter 2</span><span>,</span> <span>...</span><br><span>If I add</span> <span>\</span><span>setupenumeration</span> <span>[] [</span><span>way=</span><span>bysubsection</span><span></span><span>]</span> <span>to each component</span> <span>that does not work</span>.<br></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en">Fabrice<span></span></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-08 12:30 GMT+02:00 Wolfgang Schuster <span dir="ltr"><<a href="mailto:schuster.wolfgang@gmail.com" target="_blank">schuster.wolfgang@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000">
<blockquote style="border:0px none" type="cite">
  <div style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:1px solid #edeef0;padding-top:5px">   <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
        <a href="mailto:fabrice1.couvreur@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Fabrice Couvreur</a></div>   <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right">     <font color="#9FA2A5"><span style="padding-left:6px">8. 
August 2016 um 12:27</span></font></div>    </div></div><div><div class="h5">
  <div style="color:#888888;margin-left:24px;margin-right:24px"><div dir="ltr"><div style="font-family:verdana,sans-serif" class="gmail_default"><span lang="en"><span>Hi,<br>I use</span> <span>a 
counter for each</span> <span>"</span><span>Exercises"</span> <span>section</span>
 <span>of each chapter</span> <span>(</span><span>Wolfgang</span> <span>thank
 you</span><span> !).</span><br><span>How to</span> <span>reset the 
counter to</span> <span>1 for each</span> <span>section ?</span><br><span>thank
 you,</span><br><span>Fabrice<br><br><br></span></span>\defineprocessor[ACPROCESSOR][<wbr>command=\EXFRAME]<br>\defineconversionset[<wbr>ACCONVERSION][][ACPROCESSOR-><wbr>n]<br></div></div><br>
  </div>
</div></div></blockquote>
\setupenumeration[...][way=<wbr>bysection] % way=bychapter etc.<span class="HOEnZb"><font color="#888888"><br>
<br>
Wolfgang<br>
<br>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_______________________<br>
If your question is of interest to others as well, please add an entry to the Wiki!<br>
<br>
maillist : <a href="mailto:ntg-context@ntg.nl">ntg-context@ntg.nl</a> / <a href="http://www.ntg.nl/mailman/listinfo/ntg-context" rel="noreferrer" target="_blank">http://www.ntg.nl/mailman/<wbr>listinfo/ntg-context</a><br>
webpage  : <a href="http://www.pragma-ade.nl" rel="noreferrer" target="_blank">http://www.pragma-ade.nl</a> / <a href="http://tex.aanhet.net" rel="noreferrer" target="_blank">http://tex.aanhet.net</a><br>
archive  : <a href="http://foundry.supelec.fr/projects/contextrev/" rel="noreferrer" target="_blank">http://foundry.supelec.fr/<wbr>projects/contextrev/</a><br>
wiki     : <a href="http://contextgarden.net" rel="noreferrer" target="_blank">http://contextgarden.net</a><br>
______________________________<wbr>______________________________<wbr>_______________________<br></blockquote></div><br></div>