Hi all,

How do I reset an enumeration with my own header?

See the example below.
The build-in section works and my own header fails.

Tia,

Bernard


% MKIV beta
% MTXrun | current version: 2009.08.07 11:22
% linux-32

\definehead[Mysection][section]

\setuphead[Mysection]
  [after=\nowhitespace\hairline]

\defineenumeration[example]
  [way=bysection]

\starttext

\dorecurse {3} {
  \Mysection{Mysection \recurselevel}
  \dorecurse {3} {\startexample \recurselevel \stopexample}} 
\page

\dorecurse {3} {
  \section{Section \recurselevel}
  \dorecurse {3} {\startexample \recurselevel \stopexample}} 

\stoptext
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to