From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: \definestructureresetset
Date: Thu, 10 Nov 2011 06:59:05 -0700 [thread overview]
Message-ID: <op.v4qg4rsppw6hmh@ishamid-pc> (raw)
In-Reply-To: <5E179CFD-0F74-4453-8988-9B15B19F9F52@googlemail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-10 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2011-11-10 14:44 ` \definestructureresetset Wolfgang Schuster
2011-11-10 13:59 ` \definestructureresetset Idris Samawi Hamid ادريس سماوي حامد
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.v4qg4rsppw6hmh@ishamid-pc \
--to=ishamid@colostate.edu \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).