ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* inserting toc
@ 2005-05-02 11:32 Frank Grieshaber
  2005-05-08 20:51 ` h h extern
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Grieshaber @ 2005-05-02 11:32 UTC (permalink / raw)


Hello,
I want to insert a table of contents but all I get is the following 
error message in the created pdf-file:

[part,chapter,section,subsection,subsubsection not found/processed]

According to the mp-cb-en.pdf page 51/52 documentation I included the 
following lines to the setup area:

\definelist[chapter]
\setuplist
	[chapter]
	[before=\blank,
	after=\blank,
	style=bold]
\definelist[section]
\setuplist
	[section]
	[alternative=d]
\definecombinedlist
	[contents]
	[chapter,section]
	[level=subsection]


and \placecontent after the \starttext and in front of the first 
\chapter. What am I doing wrong here?

Frank

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inserting toc
  2005-05-02 11:32 inserting toc Frank Grieshaber
@ 2005-05-08 20:51 ` h h extern
  0 siblings, 0 replies; 2+ messages in thread
From: h h extern @ 2005-05-08 20:51 UTC (permalink / raw)


Frank Grieshaber wrote:
> Hello,
> I want to insert a table of contents but all I get is the following 
> error message in the created pdf-file:
> 
> [part,chapter,section,subsection,subsubsection not found/processed]
> 
> According to the mp-cb-en.pdf page 51/52 documentation I included the 
> following lines to the setup area:
> 
> \definelist[chapter]
> \setuplist
>     [chapter]
>     [before=\blank,
>     after=\blank,
>     style=bold]
> \definelist[section]
> \setuplist
>     [section]
>     [alternative=d]
> \definecombinedlist
>     [contents]
>     [chapter,section]
>     [level=subsection]
> 
> 
> and \placecontent after the \starttext and in front of the first 
> \chapter. What am I doing wrong here?

by default tocs are local, so add:

criterium=all (ot text or chapter or ...)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-08 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02 11:32 inserting toc Frank Grieshaber
2005-05-08 20:51 ` h h extern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).