ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Numbering properties in a chapter
Date: Mon, 23 Jul 2018 17:39:16 +0200	[thread overview]
Message-ID: <5ac3f941-9b54-ee87-aae1-0ca4965b0c05@gmx.es> (raw)
In-Reply-To: <CACyK-eq-w7oMRjy_QmsmZM9gOh=FNUP__LGOJNfq+qae93-AuQ@mail.gmail.com>

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
___________________________________________________________________________________

  reply	other threads:[~2018-07-23 15:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 15:11 Fabrice Couvreur
2018-07-23 15:39 ` Pablo Rodriguez [this message]
2018-07-24  9:04   ` Fabrice Couvreur
2018-07-24 15:09     ` Pablo Rodriguez
2018-07-25  8:46       ` Fabrice Couvreur
2018-07-25 20:54       ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ac3f941-9b54-ee87-aae1-0ca4965b0c05@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).