From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68856 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: No chapter prefixes in section numbers Date: Thu, 2 Jun 2011 05:28:02 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306985313 26447 80.91.229.12 (2 Jun 2011 03:28:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2011 03:28:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 02 05:28:29 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 1QRya9-0000uN-Mc for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jun 2011 05:28:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3E02CAD46; Thu, 2 Jun 2011 05:28: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 O-6aLicsKIkI; Thu, 2 Jun 2011 05:28:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E87DCAD36; Thu, 2 Jun 2011 05:28:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF7F5CAD36 for ; Thu, 2 Jun 2011 05:28:19 +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 axVId58Ar8K2 for ; Thu, 2 Jun 2011 05:28:08 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 968E4CAD34 for ; Thu, 2 Jun 2011 05:28:08 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p523S7CS026732 for ; Thu, 2 Jun 2011 05:28:08 +0200 Original-Received: by bwz17 with SMTP id 17so953755bwz.14 for ; Wed, 01 Jun 2011 20:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=rz7JyDeFUY62OY1dbjW5jQC6SnZOWUktIg8Oym1xYpI=; b=L5RUfALA64V9IUbWm7g6lkw0H+4SVGP1KJlTSEt5M7VyRSjG+JSDE6eH4etXYYQhyD suAk0LwWlKPA5TXNtSpYNzzM5M9fDirYFCEFm/EH4pbVtNMmLJX9RbZS/ZL1ZsNz3COQ h0v2WbeSx/YYyVlBKXf3XfxeTLK7rfhX6lXUY= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=UPSCqwxRCXDkEZP2pYBTpaiQey52de/82hTpOIcLvmcxw6KcuQSYhOYMqh0ZrWnOH2 KP33ZoMXOUvqxgvBv9cw00pAKjQnSVgOItwxRQ2vtO2K4GWcdNZInnrQbkZbb7YkIqU4 LTwr0Ao3BcusCTP86Ue9mirazPxB4qqQWd/pc= Original-Received: by 10.204.19.20 with SMTP id y20mr202063bka.170.1306985287149; Wed, 01 Jun 2011 20:28:07 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EFF8F.dip.t-dialin.net [91.14.255.143]) by mx.google.com with ESMTPS id z1sm124153bka.20.2011.06.01.20.28.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 20:28:05 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 05EOPs7Dg - 1a2a07cec494 - 20110602 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:68856 Archived-At: Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: > Hi, > > I do not want chapter number to be prefixed in section and subsection numbers. Thus, > > \starttext > \chapter{One} > \section{Two} > \subsection{Three} > \stoptext > > should give: > > 1 One > 1 Two > 1.1 Three > > How to achieve that? I tried > > \setuphead[section][prefixset=none] > > but to no affect. \setuphead[section] [sectionsegments=section] \setuphead[subsection][sectionsegments=section:subsection] Prefixes are used from commands which show the section numbers in front of their own number, e.g. floats or enumerations. 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 ___________________________________________________________________________________