ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placecontent doesn't place content after \chapter{}
@ 2008-11-20 19:00 Bart C. Wise
  2008-11-20 22:05 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Bart C. Wise @ 2008-11-20 19:00 UTC (permalink / raw)
  To: Context Mailing List

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
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: \placecontent doesn't place content after \chapter{}
  2008-11-20 19:00 \placecontent doesn't place content after \chapter{} Bart C. Wise
@ 2008-11-20 22:05 ` Hans Hagen
  2008-11-20 23:16   ` Bart C. Wise
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-11-20 22:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: \placecontent doesn't place content after \chapter{}
  2008-11-20 22:05 ` Hans Hagen
@ 2008-11-20 23:16   ` Bart C. Wise
  0 siblings, 0 replies; 3+ messages in thread
From: Bart C. Wise @ 2008-11-20 23:16 UTC (permalink / raw)
  To: ntg-context

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

___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-20 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20 19:00 \placecontent doesn't place content after \chapter{} Bart C. Wise
2008-11-20 22:05 ` Hans Hagen
2008-11-20 23:16   ` Bart C. Wise

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).