From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57298 Path: news.gmane.org!not-for-mail From: Alain Delmotte Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents Date: Sun, 21 Mar 2010 11:39:48 +0100 Message-ID: <4BA5F774.2000808@swing.be> References: <4BA5E47C.8010203@leliseron.org> <4BA5E8BC.5070404@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269168008 14592 80.91.229.12 (21 Mar 2010 10:40:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 10:40:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 21 11:40:04 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NtIZf-00059h-7l for gctc-ntg-context-518@m.gmane.org; Sun, 21 Mar 2010 11:40:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 289DDC9C1A; Sun, 21 Mar 2010 11:40:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id P+6pRpinvypi; Sun, 21 Mar 2010 11:39:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E036C9C31; Sun, 21 Mar 2010 11:39:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 765B8C9C44 for ; Sun, 21 Mar 2010 11:39:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SBiTuDUWdK2F for ; Sun, 21 Mar 2010 11:39:45 +0100 (CET) Original-Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by balder.ntg.nl (Postfix) with ESMTP id 8D2B3C9C31 for ; Sun, 21 Mar 2010 11:39:45 +0100 (CET) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBAF+UpUtR8c1v/2dsb2JhbAAH1BSEfQQ Original-Received: from 111.205-241-81.adsl-dyn.isp.belgacom.be (HELO [192.168.1.5]) ([81.241.205.111]) by relay.skynet.be with ESMTP; 21 Mar 2010 11:39:45 +0100 User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: <4BA5E8BC.5070404@googlemail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:57298 Archived-At: Hi! Thanks Mario and Wolfgang. The \placelist command solved both problems. Alain Wolfgang Schuster a =E9crit : > Am 21.03.10 10:18, schrieb Alain Delmotte: >> Hi! >> >> I have two question about table of contents. >> >> 1) is it possible to have the toc at the end of the document. >> I tried to place \placecontent or \completecontent at the end and it = >> didn't work; I only managed to have the toc at the beginning of the = >> document. >> >> 2) If I define my own header (like in ConTeXt an excursion: 5. = >> Headers) and so, for example, replacing \section by \myheader, which = >> has a section level, the table of content is empty! >> >> If the information is in another document, please give me a pointer, = >> thanks! > Mark 2: > > \definehead[mysection][section] > > \setuphead[mysection][coupling=3Dsection] > > \starttext > > \chapter{One} > > \section{One.One} > > \mysection{One.Two} > > \completecontent[criterium=3Dall] > > \stoptext > > Mark 4: > > \definehead[mysection][section] > > \starttext > > \chapter{One} > > \section{One.One} > > \mysection{One.Two} > > \title{Contents} > > \placelist[chapter,section,mysection][criterium=3Dall] > > \stoptext > > 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 > _________________________________________________________________________= __________ = > > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________