[NTG-context] Structure of titles in MkIV

Alan BRASLAU alan.braslau at cea.fr
Wed Oct 15 09:45:51 CEST 2014


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 at 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 at 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 at cea.fr


More information about the ntg-context mailing list