Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Wolfgang Schuster wrote: > > Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: > >> The following used to work about a month or two ago. >> >> \setupenumerations[way=bysection] >> \newcounter\theorems >> \defineenumeration[thm] >> [text=Theorem,prefix=yes,prefixsegments=section,counter=theorem

Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: > The following used to work about a month or two ago. > > \setupenumerations[way=bysection] > \newcounter\theorems > \defineenumeration[thm] > [text=Theorem,prefix=yes,prefixsegments=section,counter=theorems] > \defineenumeration[lem] > [text=L

[NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Hi! I want to have the following (Theorems and Lemmas share the counter, way=bysection): Section 1. Foo Theorem 1.1 Bar Lemma 1.2 Baz Section 2. Foo Theorem 2.1 Bar Lemma 2.2 Baz The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems \def