[NTG-context] \placecontent doesn't place content after \chapter{}

Bart C. Wise bntgcontext at wiseguysweb.com
Fri Nov 21 00:16:56 CET 2008


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 at 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
> > _________________________________________________________________________
> >__________



More information about the ntg-context mailing list