ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: "Michał Goliński" <golinski@amu.edu.pl>
Cc: ntg-context@ntg.nl
Subject: Re: Structure of titles in MkIV
Date: Wed, 15 Oct 2014 09:45:51 +0200	[thread overview]
Message-ID: <20141015094551.45948002@iram-ha-003840.extra.cea.fr> (raw)
In-Reply-To: <20141015094219.40277bde@iram-ha-003840.extra.cea.fr>

Quoting from the thread "Adaptive section structuring" of September
2012:

> %\definesectionlevels[default][section,subsection,subsubsection]
> \definesectionlevels[mine][title,subject,subsubject]
> 
> \starttext
> 
> \startsectionlevel [title=Alpha]
>   \startsectionlevel [title=Beta]
>     \startsectionlevel [title=Gamma]
>     \stopsectionlevel
>   \stopsectionlevel
> \stopsectionlevel
> 
> \startsectionlevel [mine] [title=One]
>   \startsectionlevel [mine] [title=Two]
>     \startsectionlevel [mine] [title=Three]
>     \stopsectionlevel
>   \stopsectionlevel
> \stopsectionlevel
> 
> \stoptext
> 
> Wolfgang

Alan



On Wed, 15 Oct 2014 09:42:19 +0200
Alan BRASLAU <alan.braslau@cea.fr> wrote:

> Hello,
> 
> Structure (sectioning) is a question of hierarchical level, there is
> nothing special about the names "part" or "chapter" except setups that
> reflect common usage.
> 
> I place Prologue and Epilogue at the "part" level. Better yet, I
> situate them in "frontmatter" and "backmatter". Maybe my use is
> incorrect but this is how I understand things.
> 
> There is a mechanism for automatic section level which is very nice.
> Hans describes this in: "levels-001.tex and levels-002.tex in the test
> suite to see how to use relative sectioning."
> 
> Alan
> 
> 
> On Tue, 14 Oct 2014 13:49:36 +0200
> Michał Goliński <golinski@amu.edu.pl> wrote:
> 
> > Given a file:
> > 
> > \setupinteraction[state=start]
> > \placebookmarks[part,chapter][part,chapter]
> > 
> > \starttext
> > 
> > \startchapter[title=Prologue, number=no]
> > \input knuth
> > \stopchapter
> > 
> > \startpart[title={Part A}]
> >    \startchapter[title=One]
> >    \input knuth
> >    \stopchapter
> > \stoppart
> > 
> > \startchapter[title=Epilogue]
> > \input knuth
> > \stopchapter
> > 
> > \stoptext
> > 
> > I would expect to have the logical structure of titles as follows:
> > 
> > + Prologue
> > + Part A
> > - + One
> > + Epilogue
> > 
> > i.e., "Epilogue" should be at the highest level, as "Prologue" is.
> > Context gives me an Epilogue that is a child of "Part A".
> > 
> > Is it possible to have the chapter "Epilogue" not be a child of
> > "Part A"?
> > 
> > Best regards
> > Michał Goliński
> 



-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau@cea.fr
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2014-10-15  7:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 11:49 Michał Goliński
2014-10-15  7:42 ` Alan BRASLAU
2014-10-15  7:45   ` Alan BRASLAU [this message]
2014-10-15 12:25   ` Keith Schultz
2014-10-15 14:10     ` Alan BRASLAU
2014-10-16  9:32       ` Keith J. Schultz
2014-10-16 11:25         ` Hans Hagen
2014-10-16 13:34           ` Keith Schultz
2014-10-17  9:13         ` Alan BRASLAU
2014-10-18 11:57     ` Michał Goliński
2014-10-19 15:03       ` Alan BRASLAU

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=20141015094551.45948002@iram-ha-003840.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=golinski@amu.edu.pl \
    --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).