\placecontent doesn't place content after \chapter{}
The code below displays the "Contents" chapter header; however, the table of contents is not shown. If I remove the \chapter{Contents}, then the table of contents is displayed. What's wrong? \starttext \chapter{Contents} \placecontent \chapter{One}\input tufte \chapter{Two}\input tufte \chapter{Three}\input tufte \stoptext Thanks, Bart
Bart C. Wise wrote:
The code below displays the "Contents" chapter header; however, the table of contents is not shown. If I remove the \chapter{Contents}, then the table of contents is displayed. What's wrong?
by default you will get a local table of contents (add some section and you will see it)
\starttext \chapter{Contents} \placecontent
\placelist[criterium=text]
\chapter{One}\input tufte \chapter{Two}\input tufte \chapter{Three}\input tufte \stoptext
Thanks, Bart ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Thursday 20 November 2008 03:05:20 pm Hans Hagen wrote:
Bart C. Wise wrote:
The code below displays the "Contents" chapter header; however, the table of contents is not shown. If I remove the \chapter{Contents}, then the table of contents is displayed. What's wrong?
by default you will get a local table of contents (add some section and you will see it)
\starttext \chapter{Contents} \placecontent
\placelist[criterium=text]
I had to do this: \placelist[chapter][criterium=text] Thanks for the hint! Bart
\chapter{One}\input tufte \chapter{Two}\input tufte \chapter{Three}\input tufte \stoptext
Thanks, Bart _________________________________________________________________________ __________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _________________________________________________________________________ __________
participants (2)
-
Bart C. Wise
-
Hans Hagen