Am 18.04.10 19:42, schrieb Tom:
http://wiki.contextgarden.net/Category:Reference/en includes no references
for \completecontent or \placecontent. "Context the Manual" discusses the
commands a bit but does not define them. Given that \completecontent is
listed in group 2 of the Top Ten Context commands that a beginner might
focus his or her attention on in the introduction to "Context the Manual,"
one might expect a bit more documentation of the command.

I have two problems related to the table of contents that I can't resolve
from my understanding of the documentation:
- http://wiki.contextgarden.net/Reference/en/definecombinedlist
- http://wiki.contextgarden.net/Reference/en/completecombinedlist
- http://wiki.contextgarden.net/Reference/en/setupcombinedlist
1. The table of contents is printed out of order in the PDF. It seems that
\completecontent must appear before the preface or foreword if they are to
be listed in the TOC. However, the Chicago Manual of Style calls for them to
be placed before the TOC in the book.
\completecontent[criterium=all]
2. The introduction is placed in the frontmatter because placing it in the
bodymatter causes it to be treated as chapter 1. This location results in
the introduction having the same first page header as front matter. That
means that the introduction cannot be given a "fancy" first page similar to
the numbered chapters without giving it to the TOC, etc.
\definehead[mycontenttitle][chapter]

\setuphead[mycontenttitle][number=no,...] % fancy setup for the toc header

...

\starttext

\mycontenttitle{Content} % the header for the toc

\placecontent % place the toc *without* a header

...

\stoptext

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
___________________________________________________________________________________

Reply via email to