Thanks Wolfgang, nearly perfect, what I wanted.
The problem left is here:
\defineexpandable[1]\Previousnumber
{\number\numexpr#1-1\relax}
\defineconversion[previousnumber][\Previousnumber]
\setuphead[section][conversion=previousnumber]
\starttext
\dorecurse{5}{\chapter{Chapter #1}
\section{Section #1}
\section{Section #1}
\section{Section #1}
\section{Section #1}
}
\stoptext
Now I want the section-numbers in each chapter to start with x.1 (never
x.0). But I had to subtract from all section numbers 1, to let the
section numbers begin with 1 in the second chapter (my first chapter is
without numbering and without sections, there this question comes from).
So in the above example everything is fine, besides this "x.0", the
second numbers (indicating the section) should always begin with "1". Is
that possible?
Huseyin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________