Re: [NTG-context] Numbering sections
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
participants (1)
-
"H. Özoguz"