Unnumbered chapters (title), numbered appendices
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). Furthermore, placing chapters into \frontmatter and \backmatter might not always be a solution. In a document structured in *parts*, one might want to have an introduction (and other "front matter") as well as conclusions (and other "back matter"). One needs a means of switching section blocks, for example, without resetting everything. Maybe this can become an option in \startfrontmatter [reset=no] \startappendices [reset=no] \startbackmatter [reset=no] for example, or else: \setupsectionblock [appendix] [resetnumber=no] % number=yes|no Another route could be through the use of the *mysterious* structureresetset \definestructureresetset [default] [0,0] [1] % do not reset parts and chapters \setuphead [part,chapter] [sectionresetset=default] coupled somehow to the section blocks. Alan
Am 09.04.2013 um 12:53 schrieb Alan BRASLAU
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
On Tue, 9 Apr 2013 13:17:06 +0200
Wolfgang Schuster
Am 09.04.2013 um 12:53 schrieb Alan BRASLAU
: 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
Am 09.04.2013 um 13:57 schrieb Alan BRASLAU
On Tue, 9 Apr 2013 13:17:06 +0200 Wolfgang Schuster
wrote: Am 09.04.2013 um 12:53 schrieb Alan BRASLAU
: 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
participants (2)
-
Alan BRASLAU
-
Wolfgang Schuster