[NTG-context] Counter resetting

2013-11-05 Thread Géry Ogam
You can use “way=byhead” to reset the counter with each section. Wolfgang It does not work (with ConTeXt ver: 2012.05.30): \defineenumeration[cool][text=Cool, way=byhead] \starttext \section{Cat} \subsection{Cat} \cool{} \cool{} \subsection{Cat} \cool{} \cool{} \section{Cat} \cool{}

[NTG-context] Counter resetting

2013-11-04 Thread Géry Ogam
Hello, How to reset a counter bysection and bysubsection at the same time? The following example does not work. Hans, could you had the support of lists for the 'way' argument please? E.g.: \defineenumeration[cool][text=Cool, way={bysection, bysubsection}] \starttext \section{Cat}

Re: [NTG-context] Counter resetting

2013-11-04 Thread Wolfgang Schuster
Am 05.11.2013 um 01:41 schrieb Géry Ogam maggy...@gmail.com: Hello, How to reset a counter bysection and bysubsection at the same time? The following example does not work. Hans, could you had the support of lists for the 'way' argument please? You can use “way=byhead” to reset the