From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38045 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Customising Table of Contents Date: Mon, 17 Dec 2007 13:43:17 +0100 Message-ID: <115224fb0712170443udc8d155u3b0ee839edb888e5@mail.gmail.com> References: <20071217140216.GD23507@apcc21.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197895482 8953 80.91.229.12 (17 Dec 2007 12:44:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 12:44:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 17 13:44:54 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4FL2-0000t2-If for gctc-ntg-context-518@m.gmane.org; Mon, 17 Dec 2007 13:44:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3F1E1FBF9; Mon, 17 Dec 2007 13:44:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24971-02-8; Mon, 17 Dec 2007 13:43:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30C801FBB9; Mon, 17 Dec 2007 13:43:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A0CA1FBB9 for ; Mon, 17 Dec 2007 13:43:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24971-02-7 for ; Mon, 17 Dec 2007 13:43:17 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ronja.ntg.nl (Postfix) with ESMTP id 7342D1FB8C for ; Mon, 17 Dec 2007 13:43:17 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so1549157uge.50 for ; Mon, 17 Dec 2007 04:43:17 -0800 (PST) Original-Received: by 10.67.30.13 with SMTP id h13mr3863580ugj.45.1197895397083; Mon, 17 Dec 2007 04:43:17 -0800 (PST) Original-Received: by 10.66.252.15 with HTTP; Mon, 17 Dec 2007 04:43:17 -0800 (PST) In-Reply-To: <20071217140216.GD23507@apcc21.net> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38045 Archived-At: 2007/12/17, Saji N. Hameed : > Dear All, > > Sorry this may be a trivial issue. The document I am preparing > has two parts - a main one and appendices. In the table of > contents (toc), I want to list chapter names > and section names for the main part. However for the > appendices, I want to list only the chapter names. > > I would appreciate any advice on how to achieve this. > > The toc should look like > > 1. Chapter 1 > 1.1 section 1 > > 2. Chapter 2 > 2.1 section > 2.2 section > > A. Appendix 1 > B. Appendix 2 > C. Appendix 3 > > > Thanks in advance, > saji > > -- > Saji N. Hameed \startsectionblockenvironment[appendix] \setuplist[section][state=stop] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Test} \section{Test} \stopbodymatter \startappendices \chapter{Test} \section{Test} \stopappendices \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________