At 14:27 06/08/2003 +0200, you wrote:
Suppose I create this document:

\starttext
\completecontent
\chapter{One}
\input tufte
\chapter{Two}
\input douglas
\stoptext

I get a document with a content list and two chaqpters. Now I want to do the same in a project. I take the example from the manual and do this:


%%
%% This is the file book.tex
%%
\startproduct book
\project teoade

\startfrontmatter
 \completecontent
\stopfrontmatter

\startbodymatter
 \component chapters/chapter1
 \component chapters/chapter2
\stopbodymatter

\startbackmatter
 \completeindex
\stopbackmatter
\stopproduct

I get the chapters allright, but the list of contents and the index are empty. Why?

because they are produced on a per section basis depending on where you call for them (for instance, in a chapter you can say \placelist[section] and get a locat toc)


\completecontent[way=bytext]

gives you a document one

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to