Am 10.11.2011 um 14:59 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Dear gang,
I'm looking at strc*.mkiv trying to understand
\definestructureresetset[default][0,0,1,0][1]
etc.
The first argument would appear to control the continued-coupling between a higher and lower section. If 0, the lower section does not reset; if 1, the immediately lower section resets when the higher section increments up.
What is the second argument [1] for?
It’s the default argument for all section levels which are not listed in the second argument, e.g. \subsubsection and below To list all three argument we have: 1. “IDENTIFIER” or “SECTIONBLOCK:IDENTIFIER” 2. explicit values 3. default values
========================== \definestructureresetset[default][0,0,1,0][1] % this will not reset parts and subsections \setuphead[part][sectionresetset=default] \starttext \placelist[chapter,section,subsection][criterium=all,width=3cm] \part{first} \chapter{alpha} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{beta} \part{second} \chapter{gamma} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{delta} \stoptext ==========================
In this example -- from strc-def.mkiv with a small edit:
What is the diff between
\setuphead[part][sectionresetset=default]
and
\setuphead[part][sectionresetset=continue]
etc. Any clarifications appreciated and
“default” and “continue” are just names for a resetset but it’s a convention that nearly all default sets have also the name “default” Wolfgang