From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: section numbers
Date: Mon, 19 Oct 2009 18:17:15 +0200 [thread overview]
Message-ID: <200910191817.15103.alan.braslau@cea.fr> (raw)
In-Reply-To: <EC4ADF18-D5F7-47AA-BCD9-900D9A3F8E3F@uni-bonn.de>
Hello,
I did not understand that this be the answer to the question,
but, of course, I cannot contradict he who posted the question
in the beginning. However, I understood that Thomas still wanted
chapters to be numbered, but that sections be numbered independently.
In my case, I have been struggling to have parts numbered
(I, II, III, IV) and to have chapters numbered independently
(1, 2, 3, 4, ...), such as:
Part I
Chapter 1
Chapter 2
Part II
Chapter 3
Chapter 4
Part III
Chapter 5
For this, I have
\setuplabeltext[chapter=Chapter ] % By default, blank when using \part
\doifmodeelse{mkiv}{
\setupstructureheads[sectionsegments=2:100]
\setupstructurehead[part][resetnumber=no,placehead=yes]
}{ % mkii
\setuplist[chapter,section,subsection,subsubsection][partnumber=no]
}
but this is not quite right (works fine in mkii):
- the parts are not numbered
- the chapters are numbered 1, 2, 1, 2, 1, ...
I have not yet figured this out (another problem kept me from
using mkiv on this problem, resolved only recently).
Alan
On Monday 19 October 2009 16:28:10 Thomas A. Schmitz wrote:
> On Oct 19, 2009, at 4:10 PM, Wolfgang Schuster wrote:
> > \setuphead
> > [section]
> > [sectionsegments=3:100] % show only the numbers for level 3
> > (=section) till 100 (subsubsub...section)
> >
> > Wolfgang
>
> Thank you Wolfgang, that does it! At the risk of sounding like a
> crybaby: would one of the two people who have understood how the new
> structure code works please add some documentation somewhere? Just
> imagine what would happen if Hans and Wolfgang were struck by
> lightning on the same day :-)
>
> Thanks, and all best
>
> Thomas
___________________________________________________________________________________
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:[~2009-10-19 16:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 12:49 Thomas A. Schmitz
2009-10-19 14:10 ` Wolfgang Schuster
2009-10-19 14:28 ` Thomas A. Schmitz
2009-10-19 14:34 ` luigi scarso
2009-10-19 16:17 ` Alan BRASLAU [this message]
2009-10-19 23:47 ` Joshua Lee
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=200910191817.15103.alan.braslau@cea.fr \
--to=alan.braslau@cea.fr \
--cc=ntg-context@ntg.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).