ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mkiv structure
Date: Wed, 08 Jul 2009 12:10:22 +0200	[thread overview]
Message-ID: <4A54708E.8050000@wxs.nl> (raw)
In-Reply-To: <F9C38668-F50A-4375-9BD3-9F0624862390@gmail.com>

Hi Wolfgang

>> Alan BRASLAU wrote:
>>
>>> In my understanding, \part serves to delimit
>>> logical sections of related chapters, not volumes.
>>> Maybe I am wrong in this interpretation;
>>> maybe \part is to be used to delimit volumes.
>>> Nevertheless, it should be relatively simple
>>> for the basic user to be able to select the desired behavior
>>> without having to acquire an understanding of the inner workings
>>> such as prefixsets and sectionsegments.
>>
>> there will be presets but i had no time yet to make them
> 
> Can you give a example how to continue chapter numbering over parts, I 
> tried
> a few settings with \definestructureresetset but I wasn't very successful.

i redid that bit of code so we now have

\definestructureresetset[default][0,1,1,0][1]

% normally we use the shared default so there is no need to configure
% all levels (confusing anyway)
%
% \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

(this example resets only chapter and section)

(only in the experimental version on the ftp)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2009-07-08 10:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15  8:02 Hans Hagen
2009-07-02 18:34 ` Alan BRASLAU
2009-07-02 21:25   ` Hans Hagen
2009-07-03  8:12     ` Alan BRASLAU
2009-07-03 14:04       ` Hans Hagen
2009-07-05  9:32         ` Wolfgang Schuster
2009-07-08  8:28           ` Hans Hagen
2009-07-08 10:10           ` Hans Hagen [this message]
2009-07-05 22:20         ` Alan BRASLAU
2009-07-06 11:44           ` Hans Hagen
2009-07-09  7:38       ` Hans Hagen
2009-07-09  7:59         ` Alan BRASLAU
2009-07-09 12:27           ` Wolfgang Schuster
2009-07-09 12:39             ` Hans Hagen
2009-07-02 19:17 ` references (mainlanguage) Alan BRASLAU
2009-07-02 21:07   ` Willi Egger
2009-07-03  7:07     ` Alan BRASLAU
2009-07-02 21:22   ` Hans Hagen

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=4A54708E.8050000@wxs.nl \
    --to=pragma@wxs.nl \
    --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).