From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57294 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents Date: Sun, 21 Mar 2010 10:37:00 +0100 Message-ID: <4BA5E8BC.5070404@googlemail.com> References: <4BA5E47C.8010203@leliseron.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269164233 4443 80.91.229.12 (21 Mar 2010 09:37:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 09:37:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 21 10:37:09 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 1NtHam-0003e5-OS for gctc-ntg-context-518@m.gmane.org; Sun, 21 Mar 2010 10:37:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 55C50C9CA2; Sun, 21 Mar 2010 10:37:08 +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 52hKmDT5Pq0v; Sun, 21 Mar 2010 10:37:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82A3EC9CA4; Sun, 21 Mar 2010 10:37:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60DA1C9CA4 for ; Sun, 21 Mar 2010 10:37:04 +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 HqpDsvHVkwbr for ; Sun, 21 Mar 2010 10:37:02 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by balder.ntg.nl (Postfix) with ESMTP id 3A77CC9CA2 for ; Sun, 21 Mar 2010 10:37:02 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id 16so220231fgg.2 for ; Sun, 21 Mar 2010 02:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IGkpzvfbYtKn4ohIDjWWREtomUbDBbIxteEKRr0rV4k=; b=ISXhD57Or/GmGLpAeMdxxwcQfEuZS0Evzac+c7vjrVAmtz6QOzzve51UAPMFYy9Jjv /FcxR0u+y4FRv9axvnCJGjRcbki/Nv9VMZ87oKZGZMz+n700KRQ+Z43NyTRLg8d2Suxu KttSnjx4Z1cZ01/LGMBtAOxHzllvtovAbQeIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=hv5OV6I8uzSLzG1TKnKUXAiZM++zDxdmoLGegctef/Ke7kCvWhL5FN4zJWLdmXP4yV tlgHUFD/DGdjsfBiha3Eh7l2Vqqdo5nsspjg5XL7jFfaK+Ddh5edMIkqOC3/FKS41Lpl YJegnk/ZhrAeGYXv9tdjOU0EpGWO0IZsqirKY= Original-Received: by 10.87.62.39 with SMTP id p39mr6972164fgk.9.1269164222013; Sun, 21 Mar 2010 02:37:02 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B297E8C.dip.t-dialin.net [91.41.126.140]) by mx.google.com with ESMTPS id d8sm3251521fga.25.2010.03.21.02.37.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Mar 2010 02:37:01 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 In-Reply-To: <4BA5E47C.8010203@leliseron.org> 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:57294 Archived-At: 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=section] \starttext \chapter{One} \section{One.One} \mysection{One.Two} \completecontent[criterium=all] \stoptext Mark 4: \definehead[mysection][section] \starttext \chapter{One} \section{One.One} \mysection{One.Two} \title{Contents} \placelist[chapter,section,mysection][criterium=all] \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 ___________________________________________________________________________________