* chapter please ignore part
@ 2011-11-08 21:45 Idris Samawi Hamid ادريس سماوي حامد
2011-11-09 5:24 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-08 21:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chapter please ignore part
2011-11-08 21:45 chapter please ignore part Idris Samawi Hamid ادريس سماوي حامد
@ 2011-11-09 5:24 ` Wolfgang Schuster
2011-11-10 3:59 ` Idris Samawi Hamid ادريس سماوي حامد
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-11-09 5:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chapter please ignore part
2011-11-09 5:24 ` Wolfgang Schuster
@ 2011-11-10 3:59 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
2 siblings, 0 replies; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-10 3:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 08 Nov 2011 22:24:17 -0700, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> \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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* \definestructureresetset
2011-11-09 5:24 ` Wolfgang Schuster
2011-11-10 3:59 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2011-11-10 13:59 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 14:44 ` \definestructureresetset Wolfgang Schuster
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
2 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-10 13:59 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \definestructureresetset
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
@ 2011-11-10 14:44 ` Wolfgang Schuster
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-11-10 14:44 UTC (permalink / raw)
To: Idris Samawi Hamid ادريس
سماوي حامد
Cc: mailing list for ConTeXt users, Hans Hagen
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* \definestructureresetset
2011-11-09 5:24 ` Wolfgang Schuster
2011-11-10 3:59 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
@ 2011-11-10 13:59 ` Idris Samawi Hamid ادريس سماوي حامد
2 siblings, 0 replies; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-10 13:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-10 14:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 21:45 chapter please ignore part Idris Samawi Hamid ادريس سماوي حامد
2011-11-09 5:24 ` Wolfgang Schuster
2011-11-10 3:59 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
2011-11-10 14:44 ` \definestructureresetset Wolfgang Schuster
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).