From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69795 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: How to get the chapter number Date: Wed, 6 Jul 2011 11:19:18 +0200 Message-ID: References: <20110706090406.GE20248@rae.vm.bytemark.co.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0539753075==" X-Trace: dough.gmane.org 1309943975 10430 80.91.229.12 (6 Jul 2011 09:19:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 09:19:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 06 11:19:30 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 1QeOGY-0007Xu-BC for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jul 2011 11:19:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94D51CADFB; Wed, 6 Jul 2011 11:19:29 +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 z+6sYFSgMCrs; Wed, 6 Jul 2011 11:19:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B035CADE7; Wed, 6 Jul 2011 11:19:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8B987CADE7 for ; Wed, 6 Jul 2011 11:19: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 KjqdUZy3GBhN for ; Wed, 6 Jul 2011 11:19:22 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 2FE8FCADE4 for ; Wed, 6 Jul 2011 11:19:22 +0200 (CEST) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p669JIvi006252 for ; Wed, 6 Jul 2011 11:19:21 +0200 Original-Received: by eyd9 with SMTP id 9so3623056eyd.14 for ; Wed, 06 Jul 2011 02:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YtIO8d7UrO4FGI7WGH8aDCYppVQQfj420cb3RnmbpiM=; b=IP7lT/6TljaSsgJIPy2/g50gxH7LPg0f8tkHOzuPsR2Oy3Oiwl0Mllh46yFw64CmRg pc7RPIPGH5ZylXz12B70ZTFqW1lt50GpKEIaBB6ccA69vZ3D0KjNDFiIXagQwOSCeV4O SV9cqBANsv2ZHztR4NLu1+3okUP57PJ9RH7Tk= Original-Received: by 10.14.28.202 with SMTP id g50mr1390994eea.224.1309943958159; Wed, 06 Jul 2011 02:19:18 -0700 (PDT) Original-Received: by 10.14.22.75 with HTTP; Wed, 6 Jul 2011 02:19:18 -0700 (PDT) In-Reply-To: <20110706090406.GE20248@rae.vm.bytemark.co.uk> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0bF4xjiMV - 86880972e821 - 20110706 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:69795 Archived-At: --===============0539753075== Content-Type: multipart/alternative; boundary=bcaec52be70f4d436c04a7631837 --bcaec52be70f4d436c04a7631837 Content-Type: text/plain; charset=ISO-8859-1 2011/7/6 Pontus Lurcock > On Wed 06 Jul 2011, Cecil Westerhof wrote: > > > What I mean. I have something like: > > > > \chapter{General description} > > . > > . > > This is explained in chapters 7 to 12. > > . > > . > > \chapter{another} > > . > > . > > \chapter{first explaining} % this is (now) chapter 7 > > . > > . > > \chapter{last explaining} % this is (now) chapter 12 > > > > When chapters are added, moved or removed. The chapter numbers in the > above > > sentence have to be changed manually. As a real programmer I am lazy and > > want the computer do it for me. :-D > > See http://wiki.contextgarden.net/References . > Works, thanks. -- Cecil Westerhof --bcaec52be70f4d436c04a7631837 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/7/6 Pontus Lurcock <pont@talvi.net>
On Wed 06 Jul 2011, Cecil Westerhof wrote:

> What I mean. I have something like:
>
> \chapter{General description}
> .
> .
> This is explained in chapters 7 to 12.
> .
> .
> \chapter{another}
> .
> .
> \chapter{first explaining} =A0% this is (now) chapter 7
> =A0.
> .
> \chapter{last explaining} % this is (now) chapter 12
>
> When chapters are added, moved or removed. The chapter numbers in the = above
> sentence have to be changed manually. As a real programmer I am lazy a= nd
> want the computer do it for me. :-D

See http://wiki.contextgarden.net/References .
<= br>Works, thanks.

--
Cecil Westerhof --bcaec52be70f4d436c04a7631837-- --===============0539753075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0539753075==--