Am 14.10.2010 um 15:24 schrieb Aditya Mahajan:

> On Oct 14, 2010, at 8:31 AM, Bela Mulder <mul...@amolf.nl> wrote:
> 
>> Sorry, for my initial vagueness: I want the exercises in part 5, chapter 3 
>> of the syllabus to come out as:
>> 
>> Exercise 5.3.1  etc.
> 
> Does way=bychapter work? (untested)

You need also „prefix=yes“ but it would have been easier with a minimals 
example which was missing.

\defineenumeration[test][text=Test,prefix=yes,way=bychapter]
\starttext
\dorecurse{3}
  {\part{Part #1}
   \dorecurse{4}
     {\chapter{Chapter ##1}
      \dorecurse{3}
        {\input knuth\par
         \starttest \input ward \stoptest
         \input tufte\par}}}
\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to