Thanks Wolfgang!

I wikified your answer, adding a line in «Counters».
I also slightly changed the page layout (replacing code examples with links to the command pages).

Damien


My MWE:

\startbuffer
\startsection[title={foo}]
    \input ward
\stopsection
\startsection[title={bar}]
    \input knuth
\stopsection
\stopbuffer

\starttext
\dorecurse{2}{
    % how can I reset chapter number?

\setupheadnumber[section][0]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to