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}
\subsection{Cat}

\cool{}
\cool{}

\subsection{Cat}

\cool{}
\cool{}

\section{Cat}

\cool{}
\cool{}

\stoptext


Best regards.