From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70296 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Only show section numbering for \chapter? Date: Tue, 26 Jul 2011 22:40:02 +0200 Message-ID: <20110726204002.GA15857@khaled-laptop> References: <20110726154831.GA2796@khaled-laptop> 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: dough.gmane.org 1311712829 28102 80.91.229.12 (26 Jul 2011 20:40:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 20:40:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 22:40:25 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 1QloQS-0004fv-Q0 for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2011 22:40:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4020ACAE82; Tue, 26 Jul 2011 22:40:24 +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 cvwpygRBLkNn; Tue, 26 Jul 2011 22:40:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 438F3CAE7A; Tue, 26 Jul 2011 22:40:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28F00CAE7A for ; Tue, 26 Jul 2011 22:40:20 +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 4iI2sl3R2wBq for ; Tue, 26 Jul 2011 22:40:09 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 35B8ACAE74 for ; Tue, 26 Jul 2011 22:40:09 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6QKe8P6001479 for ; Tue, 26 Jul 2011 22:40:08 +0200 Original-Received: by wyg36 with SMTP id 36so676136wyg.14 for ; Tue, 26 Jul 2011 13:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5qGS+mC+mGcWOmgZl3GobVu1koICyJmUP9sbIGZTilA=; b=B9/HujH6gVBKSNz1jTDtfKwj66NqzMZ+joetzDUB+190kwnOcX5bI+vGUzpIApgpuH c0wLRkQdI6/2iKnHko5TYkao3H18nBEAuLIE2vEFIF8dgqUPRfIH8wyVYRmcoVtVblRR cILCkeQo7LFLGhfMTe86uvtE3dVqCXQ+83/yg= Original-Received: by 10.227.135.9 with SMTP id l9mr5308331wbt.34.1311712808387; Tue, 26 Jul 2011 13:40:08 -0700 (PDT) Original-Received: from localhost ([41.176.171.31]) by mx.google.com with ESMTPS id fp3sm740002wbb.47.2011.07.26.13.40.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jul 2011 13:40:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; 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: 0cFcIE8FW - f3a0da90cf91 - 20110726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:70296 Archived-At: On Tue, Jul 26, 2011 at 10:29:40PM +0200, Wolfgang Schuster wrote: > > 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 Thanks Wolfgang! Regards, Khaled -- Khaled Hosny Egyptian Arab ___________________________________________________________________________________ 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 ___________________________________________________________________________________