From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99091 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Increment the section counter Date: Tue, 12 Sep 2017 12:55:32 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4835989394404765536==" X-Trace: blaine.gmane.org 1505235402 31272 195.159.176.226 (12 Sep 2017 16:56:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2017 16:56:42 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 12 18:56:35 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1droTu-0006VP-5G for gctc-ntg-context-518@m.gmane.org; Tue, 12 Sep 2017 18:56:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E70F68870A; Tue, 12 Sep 2017 18:55:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QGoYDgb90DZ7; Tue, 12 Sep 2017 18:55:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id EBA7D886FF; Tue, 12 Sep 2017 18:55:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EA678886FF for ; Tue, 12 Sep 2017 18:55:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aDIvltmoLv7T for ; Tue, 12 Sep 2017 18:55:47 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EE793886FE for ; Tue, 12 Sep 2017 18:55:36 +0200 (CEST) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id BE0201182B for ; Tue, 12 Sep 2017 12:55:35 -0400 (EDT) In-Reply-To: Content-Language: en-US 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:99091 Archived-At: This is a multi-part message in MIME format. --===============4835989394404765536== Content-Type: multipart/alternative; boundary="------------3430FE4E12838DC55FA55628" Content-Language: en-US This is a multi-part message in MIME format. --------------3430FE4E12838DC55FA55628 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 2017-09-12 11:06, Fabrice Couvreur wrote: > Hello, > The number of the sections is 1 2 3 ... > How to make it 3 5 6 ... ? > Thank you > Fabrice > > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ There are at least two ways. You can create two hidden sections before your first section, effectively adding two to the section number, or you can explicitly set the section number, which allows increments and decrements. See Pablo’s reply to a similar query at https://www.mail-archive.com/ntg-context@ntg.nl/msg78173.html, and see the relevant wiki pages at setupheadnumber and definehead . -- Rik --------------3430FE4E12838DC55FA55628 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 2017-09-12 11:06, Fabrice Couvreur wrote:
Hello,
The number of the sections is 1 2 3 ...
How to make it 3 5 6 ... ?
Thank you
Fabrice


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

There are at least two ways.

You can create two hidden sections before your first section, effectively adding two to the section number, or you can explicitly set the section number, which allows increments and decrements.

See Pablo’s reply to a similar query at https://www.mail-archive.com/ntg-context@ntg.nl/msg78173.html, and see the relevant wiki pages at setupheadnumber and definehead.

--
Rik

--------------3430FE4E12838DC55FA55628-- --===============4835989394404765536== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4835989394404765536==--