* Problem with \completecontent @ 2011-04-13 20:47 Cecil Westerhof 2011-04-14 18:09 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Cecil Westerhof @ 2011-04-13 20:47 UTC (permalink / raw) To: mailing list for ConTeXt users The following works as expected: \starttext \completecontent \chapter{one} \chapter{two} \chapter{three} \chapter{four} \stoptext But when I use the following: \starttext \chapter{one} \completecontent \chapter{two} \chapter{three} \chapter{four} \stoptext Then the contents is empty. What is happening here? -- Cecil Westerhof ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with \completecontent 2011-04-13 20:47 Problem with \completecontent Cecil Westerhof @ 2011-04-14 18:09 ` Wolfgang Schuster 2011-04-15 4:24 ` Cecil Westerhof 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2011-04-14 18:09 UTC (permalink / raw) To: mailing list for ConTeXt users Am 13.04.2011 um 22:47 schrieb Cecil Westerhof: > The following works as expected: > \starttext > > \completecontent > > \chapter{one} > > \chapter{two} > > \chapter{three} > > \chapter{four} > > \stoptext > > But when I use the following: > \starttext > > \chapter{one} > > \completecontent > > \chapter{two} > > \chapter{three} > > \chapter{four} > > \stoptext > > Then the contents is empty. What is happening here? Use \completecontent[criterium=all]. Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with \completecontent 2011-04-14 18:09 ` Wolfgang Schuster @ 2011-04-15 4:24 ` Cecil Westerhof 2011-04-15 11:23 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Cecil Westerhof @ 2011-04-15 4:24 UTC (permalink / raw) To: mailing list for ConTeXt users 2011/4/14 Wolfgang Schuster <schuster.wolfgang@googlemail.com>: >> The following works as expected: >> \starttext >> >> \completecontent >> >> \chapter{one} >> >> \chapter{two} >> >> \chapter{three} >> >> \chapter{four} >> >> \stoptext >> >> But when I use the following: >> \starttext >> >> \chapter{one} >> >> \completecontent >> >> \chapter{two} >> >> \chapter{three} >> >> \chapter{four} >> >> \stoptext >> >> Then the contents is empty. What is happening here? > > Use \completecontent[criterium=all]. Works. Thanks. But why is there a difference between using \completecontent immediately or later in the document. -- Cecil Westerhof ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with \completecontent 2011-04-15 4:24 ` Cecil Westerhof @ 2011-04-15 11:23 ` Wolfgang Schuster 2011-04-15 11:33 ` Cecil Westerhof 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2011-04-15 11:23 UTC (permalink / raw) To: mailing list for ConTeXt users Am 15.04.2011 um 06:24 schrieb Cecil Westerhof: > But why is there a difference between using \completecontent > immediately or later in the document. The TOC is empty when you have \chapter commands before \(complete|place)content, to flush the entries you have to use now “criterium=all”, for a TOC at the end of the document you can also use “criterium=previous”. Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with \completecontent 2011-04-15 11:23 ` Wolfgang Schuster @ 2011-04-15 11:33 ` Cecil Westerhof 0 siblings, 0 replies; 5+ messages in thread From: Cecil Westerhof @ 2011-04-15 11:33 UTC (permalink / raw) To: mailing list for ConTeXt users 2011/4/15 Wolfgang Schuster <schuster.wolfgang@googlemail.com>: > > Am 15.04.2011 um 06:24 schrieb Cecil Westerhof: > >> But why is there a difference between using \completecontent >> immediately or later in the document. > > The TOC is empty when you have \chapter commands before > \(complete|place)content, to flush the entries you have > to use now “criterium=all”, for a TOC at the end of > the document you can also use “criterium=previous”. Thanks. I put it on the wiki. -- Cecil Westerhof ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-04-15 11:33 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-04-13 20:47 Problem with \completecontent Cecil Westerhof 2011-04-14 18:09 ` Wolfgang Schuster 2011-04-15 4:24 ` Cecil Westerhof 2011-04-15 11:23 ` Wolfgang Schuster 2011-04-15 11:33 ` Cecil Westerhof
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).