From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99093 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Increment the section counter Date: Tue, 12 Sep 2017 23:37:24 +0200 Message-ID: References: <59B82082.4020208@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2322460666891759827==" X-Trace: blaine.gmane.org 1505252296 15777 195.159.176.226 (12 Sep 2017 21:38:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2017 21:38:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 12 23:38:11 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 1drssT-00033D-Kr for gctc-ntg-context-518@m.gmane.org; Tue, 12 Sep 2017 23:37:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B1AAD886F5; Tue, 12 Sep 2017 23:37:40 +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 DTIp0TZoRirO; Tue, 12 Sep 2017 23:37:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 777EA886FA; Tue, 12 Sep 2017 23:37:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 58E42886FA for ; Tue, 12 Sep 2017 23:37:38 +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 vtY4bdN13cPH for ; Tue, 12 Sep 2017 23:37:36 +0200 (CEST) Original-Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 95187886F5 for ; Tue, 12 Sep 2017 23:37:26 +0200 (CEST) Original-Received: by mail-wm0-f49.google.com with SMTP id g206so575081wme.0 for ; Tue, 12 Sep 2017 14:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7qCSkeIF9jvvqv7wWqUOc5gg9iv0k3cMy4yDqF5H1oc=; b=uZScB21Kmvgjc91NkdiKsxjCgMb8QzCPsrEG3GpMPXhDXUQklgwc+iCfDQrw5tnC1s Prw0rGnLTd21eJSppcdXe6fH7BTk3VozzCt+bP2RqCcupf1BPFNR8iFvzKSp2QSSyefg uEBG5chAb4pERpQOwg2ya4AfjfRXSYEAxX3Jjke2AOeaUbAQbl6qIJAiy5QDWeVFf33k ikElMi2IV9C2eGVdxVDbFn2+4FkOMh4jnORn+Sr3QiCWNysA/Y79N48gvpQkGvte25Sf IXMokCbxubLmwyvhfrL56LIGHSGf0f/kGxYPl1JydRUtlbcygBcu1/LAO7o4KwBMIaOF DBCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7qCSkeIF9jvvqv7wWqUOc5gg9iv0k3cMy4yDqF5H1oc=; b=cKwb6mDlSUfuI4lUemw46/jC8Rk5d05f3Yewq/0tlUpd4RfDu0P99t7723YcnW0X7V p5e7ea6HUGdtneK1MvqhMU7NzWE8/RJUklZ3kOFk1pYGfSmAdVCvvIFTaMHJHxCIsRns 0Rx3B14aWFZuhESc+K51MN6SBat1AWBfZKbXMzcsOJE8sk6O87mHw+dcmc/oD8OmzIDH huSN5iIxSOQCExkwjlFjZcNYoNf5bLwxfeeNxgCCa4dMjZL2ZZ+bnzgYzgdZbv2pjU8g 7AkELFXeUZbbk9QLtr6PL2B44HKwmZie+E5hF70SV3XS+Cvnv6rmAWrz5GmmtKYnbGI2 5Zgg== X-Gm-Message-State: AHPjjUhyvNUmaWKjqrXzbVK59cTRU8bq8qBauJ44GPJ+OXbAlcuv7wqU YyDWqMwHzRpUGMw7sd+WT+4No7b0AZ3hsoSluKb4qQ== X-Google-Smtp-Source: ADKCNb5/n+8tcZ+FAWDfUU3PqZGoQmvD6C9L4gxtjy1UB/ey6hamrLjlgSxfD85Bf2WonZz6Os/nP6EbUNbJMNp/2rg= X-Received: by 10.80.180.17 with SMTP id b17mr13401565edh.130.1505252245545; Tue, 12 Sep 2017 14:37:25 -0700 (PDT) Original-Received: by 10.80.165.77 with HTTP; Tue, 12 Sep 2017 14:37:24 -0700 (PDT) In-Reply-To: <59B82082.4020208@gmail.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:99093 Archived-At: --===============2322460666891759827== Content-Type: multipart/alternative; boundary="94eb2c1b530e64a5f4055904d999" --94eb2c1b530e64a5f4055904d999 Content-Type: text/plain; charset="UTF-8" Hi, Thank you Wolgang for your solution Thanks also to Rik Fabrice 2017-09-12 19:59 GMT+02:00 Wolfgang Schuster : > You can enable manual numbering > > > \setuphead[section][ownnumber=yes] > > \starttext > > \section{3}{Section 1} > > \section{5}{Section 1} > > \section{6}{Section 1} > > \stoptext > > > or use a custom conversion > > > \defineconversion[drunk][3,5,6] > > \setuphead[section][conversion=drunk] > > \starttext > > \dorecurse{3}{\expanded{\section{Section \recurselevel}}} > > \stoptext > > > Wolfgang > > Fabrice Couvreur > 12. September 2017 um 17:06 > 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 > ____________________________________________________________ > _______________________ > > > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > --94eb2c1b530e64a5f4055904d999 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Thank you Wolgang for your solution
Thanks also to Rik
Fabrice

2017-09-12 19:59= GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>= ;:
You can=20 enable manual numbering


\setuphead[section][ownnumber=3Dyes]

\starttext

\section{3}{Section 1}

\section{5}{Section 1}

\section{6}{Section 1}

\stoptext


or use a custom conversion


\defineconversion[drunk][3,5,6]

\setuphead[section][conversion=3Ddrunk]

\starttext

\dorecurse{3}{\expanded{\section{Section \recurselevel}}}

\stoptext


Wolfgang

12.=20 September 2017 um 17:06
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=20 the Wiki!

maillist : ntg-conte= xt@ntg.nl /=20 http://www.ntg.nl/m= ailman/listinfo/ntg-context
webpage :=20 http://www.pragma-ade.nl / http://context.aanhet.net
archive :=20 https://bitbucke= t.org/phg/context-mirror/commits/
wiki :=20 http://contextgarden.net
_________= _________________________________________________________________= _________


_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1b530e64a5f4055904d999-- --===============2322460666891759827== 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 --===============2322460666891759827==--