From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47458 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TOC question Date: Mon, 16 Feb 2009 23:28:33 +0100 Message-ID: <9761F817-5E76-4039-A5E5-7A4395F05BB7@gmail.com> References: <326847810902161022l635ee3fja3b535dbdc163c86@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234823494 28807 80.91.229.12 (16 Feb 2009 22:31:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2009 22:31:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 16 23:32:48 2009 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 1LZC16-0008MO-TW for gctc-ntg-context-518@m.gmane.org; Mon, 16 Feb 2009 23:32:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80D231FB30; Mon, 16 Feb 2009 23:31:22 +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 30320-05-7; Mon, 16 Feb 2009 23:30:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 549141FA41; Mon, 16 Feb 2009 23:30:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C9BB41FA2B for ; Mon, 16 Feb 2009 23:30:00 +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 30320-05-6 for ; Mon, 16 Feb 2009 23:29:19 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 98FE01FA41 for ; Mon, 16 Feb 2009 23:29:18 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1GMTHEV004415 for ; Mon, 16 Feb 2009 23:29:17 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so332622fga.8 for ; Mon, 16 Feb 2009 14:29:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=2w0WiAkGN0Ccve/r0Lj/i4ryLekOTELXfnbYFrV1Nro=; b=G5ssI05oJCXfcfOSPxIAtG9+ldm4F3QgEzfgNgme0N+y5SEsCSRBxT1aMr/m7bYvg/ LmQViddvjkgB+qU5cthnjv5Rx61uTBViRfEA1MCv/3KcYWCFsnJATpOqd87KHKxbeEL/ 0rubGp365CUD+Q1n6ua9UjUf2PTzTgKNqVa2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=qLPYgnpCvbKqsHtsHryvkvaSd3Fufq+bSSlUhZq/caVNizJmBmMOmkLOYU0WnyKOQX Ap31hdSFhyWpefuydL7cLxRtWOxzY2LxIL6yhja0r9OGprIblOZ8AECMHPtjTF+8wTBx uTXWu0zUh94poY1gVOCpPsxJSzxniK/xHIUg8= Original-Received: by 10.86.59.18 with SMTP id h18mr1749388fga.5.1234823357204; Mon, 16 Feb 2009 14:29:17 -0800 (PST) Original-Received: from ?10.40.35.171? (8.121.113.82.net.de.o2.com [82.113.121.8]) by mx.google.com with ESMTPS id d4sm4027129fga.38.2009.02.16.14.29.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Feb 2009 14:29:16 -0800 (PST) In-Reply-To: <326847810902161022l635ee3fja3b535dbdc163c86@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.155; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 180858212 - 880c5c58a3cc X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:47458 Archived-At: Am 16.02.2009 um 19:22 schrieb Alan Stone: > How do you get the chapter number in front of the chapter heading in > the TOC, > in the following example with \setuphead[chapter][number=no] ? > > \setuphead[chapter][% > % number=yes] > number=no] With "number=no" the current section is no longer written to the utility file and there is no way to get it in the toc. What you can do is to enable section numbering but remove it from the output. \setuphead [chapter] [numbercommand=\gobbleoneargument, distance=0pt] 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 ___________________________________________________________________________________