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