Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:

 Hello,
 
 I am having difficulties with the use of unnumbered chapters (\title)
 as well as the use of appendices.
 
 http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
 gives a few recipes for the use of unnumbered titles and their inclusion in
 the table of contents. Unfortunately, they do not work!
 
 \definehead [intro] [chapter] \setuphead [intro] [number=no]
 will increment the chapter number, as does 
 \setuphead [title] [incrementnumber=yes,number=no]
 
 trying coupling=no gives missing number errors (in the toc).

Use

  \placelist[chapter,intro,section,…]

to flush a list with your intro heading or extend \completecontent with \intro:

  \definecombinedlist[content][chapter,intro,section,…]

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
___


Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
On Tue, 9 Apr 2013 13:17:06 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:
 
  Hello,
  
  I am having difficulties with the use of unnumbered chapters (\title)
  as well as the use of appendices.
  
  http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
  gives a few recipes for the use of unnumbered titles and their inclusion in
  the table of contents. Unfortunately, they do not work!
  
  \definehead [intro] [chapter] \setuphead [intro] [number=no]
  will increment the chapter number, as does 
  \setuphead [title] [incrementnumber=yes,number=no]
  
  trying coupling=no gives missing number errors (in the toc).  
 
 Use
 
   \placelist[chapter,intro,section,…]
 
 to flush a list with your intro heading or extend \completecontent with 
 \intro:
 
   \definecombinedlist[content][chapter,intro,section,…]


This is *not* the problem.

The use of such unnumbered sections will increment the *chapter* numbers,
even if they do not display numbers themselves (number=no).
Otherwise, they will not create a list and cannot be included in a toc.

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

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 13:57 schrieb Alan BRASLAU alan.bras...@cea.fr:

 On Tue, 9 Apr 2013 13:17:06 +0200
 Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
 
 Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:
 
 Hello,
 
 I am having difficulties with the use of unnumbered chapters (\title)
 as well as the use of appendices.
 
 http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
 gives a few recipes for the use of unnumbered titles and their inclusion in
 the table of contents. Unfortunately, they do not work!
 
 \definehead [intro] [chapter] \setuphead [intro] [number=no]
 will increment the chapter number, as does 
 \setuphead [title] [incrementnumber=yes,number=no]
 
 trying coupling=no gives missing number errors (in the toc).  
 
 Use
 
  \placelist[chapter,intro,section,…]
 
 to flush a list with your intro heading or extend \completecontent with 
 \intro:
 
  \definecombinedlist[content][chapter,intro,section,…]
 
 
 This is *not* the problem.
 
 The use of such unnumbered sections will increment the *chapter* numbers,
 even if they do not display numbers themselves (number=no).
 Otherwise, they will not create a list and cannot be included in a toc.

To include a unnumbered section in the toc you have to add 
“incrementnumber=list”
to \setuphead and *not* “incrementnumber=yes” as you did.

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
___