Dear Knights, I seem to remember there was a way to do this, but I can't find it. This is what i want: Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 3 Chapter Three 4 Chapter Four But what I always get is, obviously Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 1 Chapter Three 2 Chapter Four What is the correct setting for part and chapter to get the chapter no. to ignore the part no.? The relevant parameters seem to be \setuphead[part][placehead=yes, incrementnumber=no, number=no, continue=no, ownnumber=no] \setuphead[chapter][continue=yes, header=empty, %ownnumber=yes] Of course there is the workaround: \setupheadnumber[chapter][2] But I'd like to know if there is an automated way. Any advice appreciated, and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
Am 08.11.2011 um 22:45 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Dear Knights,
I seem to remember there was a way to do this, but I can't find it. This is what i want:
Part Foo
1 Chapter One
2 Chapter Two
Part Foo Moo
3 Chapter Three
4 Chapter Four
But what I always get is, obviously
Part Foo
1 Chapter One
2 Chapter Two
Part Foo Moo
1 Chapter Three
2 Chapter Four
What is the correct setting for part and chapter to get the chapter no. to ignore the part no.? The relevant parameters seem to be
\setuphead[part][placehead=yes, incrementnumber=no, number=no, continue=no, ownnumber=no]
\setuphead[chapter][continue=yes, header=empty, %ownnumber=yes]
Of course there is the workaround:
\setupheadnumber[chapter][2]
But I'd like to know if there is an automated way.
\definestructureresetset[continue][0,0][1] \setuphead[sectionresetset=continue] %\setuphead[sectionresetset=continue,sectionsegments=chapter:*] \starttext \part{Foo} \chapter{One} \chapter{Two} \par{Moo} \chapter{Three} \chapter{Four} \stoptext Wolfgang
On Tue, 08 Nov 2011 22:24:17 -0700, Wolfgang Schuster
\definestructureresetset[continue][0,0][1] \setuphead[sectionresetset=continue]
Both esoteric and fascinating! Thanks!! Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
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? ========================== \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 Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
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
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? ========================== \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 Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (2)
-
Idris Samawi Hamid ادريس سماوي حامد
-
Wolfgang Schuster