From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92666 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: chapter numbering Date: Thu, 08 Oct 2015 12:35:57 +0200 Message-ID: <5616470D.7080800@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1037228926==" X-Trace: ger.gmane.org 1444300644 20567 80.91.229.3 (8 Oct 2015 10:37:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2015 10:37:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 08 12:37:12 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zk8ZR-0004y0-LE for gctc-ntg-context-518@m.gmane.org; Thu, 08 Oct 2015 12:37:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF0D3101E8 for ; Thu, 8 Oct 2015 12:37:08 +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 Ty2GRVlY0o9q for ; Thu, 8 Oct 2015 12:37:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 417A010236 for ; Thu, 8 Oct 2015 12:36:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AB9F101E8 for ; Thu, 8 Oct 2015 12:36:28 +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 vEzzzwEExaIK for ; Thu, 8 Oct 2015 12:36:26 +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 92430101FC for ; Thu, 8 Oct 2015 12:36:02 +0200 (CEST) Original-Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t98Aa18X019736 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 8 Oct 2015 12:36:01 +0200 Original-Received: by lbos8 with SMTP id s8so41475677lbo.0 for ; Thu, 08 Oct 2015 03:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=c7rVWYIsZTBhq6Z4l7Sv7XWJIAktXQTeIN3Dy+M3Jas=; b=zhK5QJ+d2ljyuRZx9Brerwyanc2sLDgldQANROnj+K4PBdLOC/5sTf/awcFP9+6Dxu s4ne1Ohp9Dt6TYIHI6aZmNNQZPxn3VjcpJkJOdQUfTUv5O9I89ptyl1wOzEnu9M686nz Wz8D+toifA22PXia4p1QcG365Okt6lh+6iBWWgP0XS6uPhuQuQtA9PvnKaaVXmUeHOzB 1eKM+FuwitrKiC5znk9M0h7qJoZk8d5KbO2o4ViR0RANVUo8LhB6sSulZRAueMSjDd5+ X04ptOmgRoc6GFzD8FAsiSms6p9q7HjryjdAtEG+co87z40sa+FIYxZ0HykjXtsJOpAF 5qCw== X-Received: by 10.25.19.193 with SMTP id 62mr2151909lft.68.1444300561012; Thu, 08 Oct 2015 03:36:01 -0700 (PDT) Original-Received: from keima.localdomain (x2f291aa.dyn.telefonica.de. [2.242.145.170]) by smtp.googlemail.com with ESMTPSA id qr10sm7096070lbb.47.2015.10.08.03.35.59 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Oct 2015 03:36:00 -0700 (PDT) User-Agent: Postbox 4.0.5 (Macintosh/20150923) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::22b; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03PqyA1OO - 5ef63ab2c3b7 - 20151008 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:4010:c04::22b as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:4010:c04::22b; envelope-from=; helo=mail-lb0-x22b.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92666 Archived-At: This is a multi-part message in MIME format. --===============1037228926== Content-Type: multipart/alternative; boundary="------------050605020000020902040104" This is a multi-part message in MIME format. --------------050605020000020902040104 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Meer, Hans van der > 8. Oktober 2015 um 12:13 > The reference manual explains that one can set individual numbers on a > chapter: > \setuphead[subsection][ownnumber=yes] > \subsection{399}{The old number} > > So I tried \setuphead[chapter][ownnumber=yes] but then I am in the > dark how to use this. > The reference manual (september 2013 -- latest?) was of no help > because it does treat \chapter but not yet explains \startchapter. > Neither did the ConTeXt Commands (July 2015 version) offer me I clue. > > I tried \startchapter[number=6] but this doesn't work. > How to? You need \setuphead[chapter][ownnumber=yes] only when you want to use the \chapter command but not when you use \startchapter. \starttext \startchapter[title=Knuth] \input knuth \stopchapter \startchapter[title=Zapf,ownnumber=11] \input zapf \stopchapter \stoptext Wolfgang --------------050605020000020902040104 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
8. Oktober 2015 um 12:13
The reference manual explains that one can set individual numbers on a chapter:
\setuphead[subsection][ownnumber=yes]
\subsection{399}{The old number}

So I tried \setuphead[chapter][ownnumber=yes] but then I am in the dark how to use this.
The reference manual (september 2013 -- latest?) was of no help because it does treat \chapter but not yet explains \startchapter. Neither did the ConTeXt Commands (July 2015 version) offer me I clue.

I tried \startchapter[number=6] but this doesn't work.
How to?
You need \setuphead[chapter][ownnumber=yes] only when you want to use the \chapter command but not when you use \startchapter.

\starttext

\startchapter[title=Knuth]
\input knuth
\stopchapter

\startchapter[title=Zapf,ownnumber=11]
\input zapf
\stopchapter

\stoptext

Wolfgang
--------------050605020000020902040104-- --===============1037228926== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1037228926==--