From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Resetting enumeration numbers
Date: Thu, 4 Apr 2013 17:14:25 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.02.1304041713220.26849@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <36B71FF9-BFE3-472C-82A1-96EB4E955A01@boede.nl>
On Thu, 4 Apr 2013, Willi Egger wrote:
> Hi all,
>
> I have a document, wherein reside chapters and sections. I have an
> enumeration defined which is used in the sections. What I would like to
> achieve is, to reset the numbering at the beginning of each section. How
> is this done?
\defineenumeration defines a number with the same name, so you can use
\setupnumber to modify the behavior of the number.
\defineenumeration[whatever]
\setupnumber[whatever][way=bysection]
Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2013-04-04 21:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 20:01 Willi Egger
2013-04-04 20:45 ` Matthias Weber
2013-04-04 21:12 ` Hans Hagen
2013-04-04 21:18 ` Aditya Mahajan
2013-04-04 21:50 ` Hans Hagen
2013-04-04 21:13 ` Hans Hagen
2013-04-05 9:31 ` Otared Kavian
2013-04-05 12:48 ` Wolfgang Schuster
2013-04-05 13:07 ` Otared Kavian
2013-04-05 14:08 ` Willi Egger
2013-04-05 14:13 ` Willi Egger
2013-04-04 21:14 ` Aditya Mahajan [this message]
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=alpine.LNX.2.02.1304041713220.26849@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).