From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70295 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Only show section numbering for \chapter? Date: Tue, 26 Jul 2011 22:29:40 +0200 Message-ID: References: <20110726154831.GA2796@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311712202 24019 80.91.229.12 (26 Jul 2011 20:30:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 20:30:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 22:29:58 2011 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 1QloGJ-0000GI-US for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2011 22:29:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17959CAE82; Tue, 26 Jul 2011 22:29:55 +0200 (CEST) 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 fTAVyULXAwae; Tue, 26 Jul 2011 22:29:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0E42CAE7A; Tue, 26 Jul 2011 22:29:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B151CAE7A for ; Tue, 26 Jul 2011 22:29:51 +0200 (CEST) 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 d4ggXAfMorFc for ; Tue, 26 Jul 2011 22:29:49 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 8F63ACAE74 for ; Tue, 26 Jul 2011 22:29:49 +0200 (CEST) Original-Received: from mail-ey0-f173.google.com (mail-ey0-f173.google.com [209.85.215.173]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6QKTmNW013158 for ; Tue, 26 Jul 2011 22:29:49 +0200 Original-Received: by eyb7 with SMTP id 7so1795042eyb.32 for ; Tue, 26 Jul 2011 13:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=d7gSrnh+02fMoE5V/Mfllzr3r952n/QdNgsZSvhx8NQ=; b=dVCjGv5GOWgWCM9MOosqGprpOtuB8JE5bMQ0axOdZ+8vlM8cZpOqt91UeYxmzd5rJZ +K8wJuUkNIzhyhcnQJ9MjC/J3/MO976rQZKGbyCTTGKCcS6dD0zkZvHYR0aEbwzg5bLw XVoWU38CttDPD96DNjbPpJGtnGUX/bH1JQuzA= Original-Received: by 10.213.106.20 with SMTP id v20mr1062615ebo.51.1311712188452; Tue, 26 Jul 2011 13:29:48 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482C5D7.dip.t-dialin.net [84.130.197.215]) by mx.google.com with ESMTPS id 74sm611182eet.39.2011.07.26.13.29.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jul 2011 13:29:47 -0700 (PDT) In-Reply-To: <20110726154831.GA2796@khaled-laptop> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.173; 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: 0rFcItMq7 - a037f1224afc - 20110726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:70295 Archived-At: Am 26.07.2011 um 17:48 schrieb Khaled Hosny: > Hello all, > > I'm trying to only show section numbering for chapter, both in the > section head and content list. I tried several combinations of > number=yes|no, sectionnumber=yes|no but I either get numbering for all > or none. I tried using \title and \subject by they don't show in the > content list. I ended up using hacks like numbercomman=\dummy, and > defining \def\dummy#1{}, but I'm trying to find if there is a cleaner > solution. \setuphead[section,subsection][incrementnumber=list] \setupcombinedlist[content][width=2em] \starttext \completecontent \chapter {Examples} \section {Knuth}\input knuth \subsection{Tufte}\input tufte \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 ___________________________________________________________________________________