From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53018 Path: news.gmane.org!not-for-mail From: Joshua Lee Newsgroups: gmane.comp.tex.context Subject: How to reset the chapter number Date: Sat, 19 Sep 2009 18:43:15 +0800 Message-ID: <20090919104315.GA15731@josh-dev.alphanetworks.com> 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 1253357005 16398 80.91.229.12 (19 Sep 2009 10:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 10:43:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 19 12:43:17 2009 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.50) id 1MoxPQ-0008Ah-Nd for gctc-ntg-context-518@m.gmane.org; Sat, 19 Sep 2009 12:43:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82346C9A81; Sat, 19 Sep 2009 12:43:13 +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 poAqRjpFqYaa; Sat, 19 Sep 2009 12:43:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88D6FC9A90; Sat, 19 Sep 2009 12:43:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39665C9A92 for ; Sat, 19 Sep 2009 12:43:03 +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 3znHoSLABGZP for ; Sat, 19 Sep 2009 12:42:57 +0200 (CEST) Original-Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by balder.ntg.nl (Postfix) with ESMTP id B971DC9A81 for ; Sat, 19 Sep 2009 12:42:56 +0200 (CEST) Original-Received: by qyk30 with SMTP id 30so1355696qyk.5 for ; Sat, 19 Sep 2009 03:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=QqB2e3uN1S6ApS49gkejW1P5zpkmwgXg/RPnGlsex+A=; b=q3dWZ2V2NJs9fUgUOYmrl7yFF4LfMF80/LvdWDaGHztcvUypWzHGsa1n04woyPLg6C nlQ20Ar7UKFI2wG6gLzh8gUtlKHrLUlUcSDsCfGpj39IbVsKOcfRCjaDc5cZSM1sdNNN sA8yGLez4QeYfpwON07AWyL59psWV+L4k/Xpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=dUzj2dTHOd9+l6Ewo2iwW1WdCA7b5dkSBSxzMUqWPrzEWAtGb7YYjlU654/hflkB3R gk3H88FwEGu2TABQrvn+R5echvnhYD3YDdQYwZJNwR1bSGI+A8cH5rQJIRliGkzk9bUY CDOWTtAX9Intr3Vz7JnYwFfuWTG4gFYXjp2HQ= Original-Received: by 10.224.58.196 with SMTP id i4mr2158673qah.322.1253356975276; Sat, 19 Sep 2009 03:42:55 -0700 (PDT) Original-Received: from josh-dev ([220.248.45.83]) by mx.google.com with ESMTPS id 7sm1838860qwb.50.2009.09.19.03.42.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Sep 2009 03:42:54 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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:53018 Archived-At: Hi Guys, Here's a little example, \setupcolors[state=start] \starttext \completecontent \part{First Part} \chapter{First Chapter} \chapter{Second Chapter} \part{Second Part} \chapter{Third Chapter} \chapter{Chapter 4} \stoptext I would like to show the chapter number 1,2,3,4.. instead of 1.1,1.2,2.1,2.2 .. how to do it? Thanks. Best regards, Joshua ___________________________________________________________________________________ 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 ___________________________________________________________________________________