From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101337 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Numbering properties in a chapter Date: Tue, 24 Jul 2018 11:04:14 +0200 Message-ID: References: <5ac3f941-9b54-ee87-aae1-0ca4965b0c05@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2652975862521801632==" X-Trace: blaine.gmane.org 1532422996 2345 195.159.176.226 (24 Jul 2018 09:03:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2018 09:03:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 24 11:03:12 2018 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 1fhtDr-0000VD-I3 for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jul 2018 11:03:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4DC6C46B3F; Tue, 24 Jul 2018 11:04:33 +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 K7tddhInsd58; Tue, 24 Jul 2018 11:04:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id ED5E346B03; Tue, 24 Jul 2018 11:04:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BB8EE46B03 for ; Tue, 24 Jul 2018 11:04:26 +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 FhCv5XXlskZe for ; Tue, 24 Jul 2018 11:04:25 +0200 (CEST) Original-Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 827FE46B02 for ; Tue, 24 Jul 2018 11:04:15 +0200 (CEST) Original-Received: by mail-wr1-f52.google.com with SMTP id t13-v6so3306579wrv.12 for ; Tue, 24 Jul 2018 02:04:15 -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=vzEW1G3WVEziYcFN427WQxW/dtHbRVBSRG8s8Rnosdw=; b=im75leM4ykh5GHLmot0nW1NX7BGOvel7A6cvUOqm2SoPSAsSdEd7j1pqtzf40arBcg 03hNucf/RSMjeNf4u+/VBRFJrU+cTSLbQqQ4E/Sc0d2akQi2UaH73GkJHOc4faqrP4lf mnZjuFPxjYDxDtRc78oHv6OJMgvbaBIAZTRjU6ys3I7W/cHCJlC6dNDwUUTIk1BuRSuT 9MKHXmhuLs/6GxcxiyjVkUsCITLExoXCCUk68WDjdu3JlZVLgInUf2gROTj60skhjKy1 Zmbu39hlYOZSKivJwS7SA6VvdBAAauPN5i/alvlvPDRUCu4azyxZtGF+x5ZGzMJlAqGZ Z6zg== 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=vzEW1G3WVEziYcFN427WQxW/dtHbRVBSRG8s8Rnosdw=; b=aM+s8vKaOS/5NSExEnvxf4bctlaHnZWOs/O4fslTb9sE1L+HzmRV3gbx5RbhcVlh6S ii0CfTY67mQ2wPMYZ2Z9/tD3OqJDOGZN0g0JmOhBN/++MB4KMZJGUlpI+UBNt4sCQp9J PlHrwq54UUqNMTbGJJtvzgwMZXDwinUKyQnso1GWwlubSM0KRicNQoo6gFUm1mHL+Byg 2+MSNORwVMkCELvstOhPpj8eAkpvY1q8pv4pxThbw6FJBhcrNDGoX3kiuPa52zEvJQre Fi4rb025wg/3xp/THwQ2FlOzZa1pQhidzGOMrhftFjBJHQuiABpXB6mf6exVj2rfaXbp p04g== X-Gm-Message-State: AOUpUlFT3KNbOuF63MzjG6GHNd/MRUk6HxQKG/Sfy4qr0SXZrfbWrA4J PiHJMK8t35oBTO5uw7Mkm5I7ocWR56pfzpZEXx2Cs5vO X-Google-Smtp-Source: AAOMgpfXtXURMPLiMm0xgCRjEsCQblz6HHYt19APD+jj/uTzg29cVRlg91KyFFJbsOdvPpwjk/ey0at2C17VHBIBkvg= X-Received: by 2002:a5d:6345:: with SMTP id b5-v6mr10997679wrw.266.1532423054944; Tue, 24 Jul 2018 02:04:14 -0700 (PDT) Original-Received: by 2002:adf:c4a7:0:0:0:0:0 with HTTP; Tue, 24 Jul 2018 02:04:14 -0700 (PDT) In-Reply-To: <5ac3f941-9b54-ee87-aae1-0ca4965b0c05@gmx.es> 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:101337 Archived-At: --===============2652975862521801632== Content-Type: multipart/alternative; boundary="000000000000d5edf40571bb0b8e" --000000000000d5edf40571bb0b8e Content-Type: text/plain; charset="UTF-8" Hi Pablo, Thank you Pablo for your answer that corresponds to what I seek to do. Small question: how to have a point at the end of the numbering that is to say : Property 1.1. Property 1.2. ..... Thanks Fabrice 2018-07-23 17:39 GMT+02:00 Pablo Rodriguez : > On 07/23/2018 05:11 PM, Fabrice Couvreur wrote: > > Hello, > > I would like the numbering of the properties to be like this : > > [...] > > I thought it was enough to use the key way = bychapter > > Hi Fabrice, > > "way=bychapter" resets numbering in each chapter. > > You need this: > > \setupenumerations[ > prefix=yes, > prefixsegments=chapter, > ] > > You need to enable the prefix and say what you want as prefix. > > I hope it helps, > > Pablo > -- > http://www.ousia.tk > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ --000000000000d5edf40571bb0b8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,
Thank you Pablo for your answe= r that corresponds to what I seek to do.
Small question: ho= w to have a point at the end of the numbering that is to say :
Property 1.1.
Property 1.2.
.....
Thanks
Fabrice

2018-07-23 17:39 GMT+02:00 = Pablo Rodriguez <oinos@gmx.es>:
On 07/23/2018 05:11 PM, Fabrice Couvreur wrote:
> Hello,
> I would like the numbering of the properties to be like this :
> [...]
> I thought it was enough to use the key way =3D bychap= ter

Hi Fabrice,

"way=3Dbychapter" resets numbering in each chapter.

You need this:

\setupenumerations[
=C2=A0 =C2=A0 =C2=A0 =C2=A0prefix=3Dyes,
=C2=A0 =C2=A0 =C2=A0 =C2=A0prefixsegments=3Dchapter,
]

You need to enable the prefix and say what you want as prefix.

I hope it helps,

Pablo
--
http:/= /www.ousia.tk
_________________________________________________________________= __________________
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
_________________________________________________________________= __________________

--000000000000d5edf40571bb0b8e-- --===============2652975862521801632== 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 --===============2652975862521801632==--