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
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
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