25 Nov
2010
25 Nov
'10
10:03 a.m.
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=Lemma,prefix=yes,prefixsegments=section,counter=theorems]
\newcounter has nothing to do with enumeration counter the counter key expects the name from another enumeration, e.g. „thm“ \defineenumeration[thm][text=Theorem,prefix=yes,prefixsegments=section] \defineenumeration[lem][text=Lemma, prefix=yes,prefixsegments=section,counter=thm] Wolfgang