Re: [NTG-context] Sectioning and structure

2015-09-07 Thread Wolfgang Schuster

Fabrice Couvreur 
7. September 2015 15:59
Hi,
I'm about to write a book using a structure. The desire is to get this 
like contents of the table of contents :
You can’t put parts in chapters but it’s possible to change the labels 
for them, i.e. you can show “Chapter ” for parts and “Part 
 for chapters.


Wolfgang
___
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
___

[NTG-context] Sectioning and structure

2015-09-07 Thread Fabrice Couvreur
Hi,
I'm about to write a book using a structure. The desire is to get this like
contents of the table of contents :

Chapter 1 Title

  Part 1  Title

   1.
   2.


  Part 2  Title

   1.
   2.

  Part 3  Title

   1.
   2.


Chapter 2 Title

  Part 1 Title

  1.
  2.


  Part 2 Title

  1.
  2.

Part 3 Title

  1.
  2.

##
lesson.tex


\project manual

\startproduct lesson

\startfrontmatter
  \component   titlepage
  \component   contents
\stopfrontmatter

\startbodymatter
  \component  chapter-1
  \component  chapter-2
\stopbodymatter

\stopproduct



chapter-1.tex

\startcomponent chapter-1

  \component activities-1
  \component synthesis-1
  \component training-1

\stopcomponent

#

Thanks,
Fabrice
___
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
___