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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to