Command/setupnumbering

From ConTeXt wiki
< Command
Revision as of 01:56, 15 March 2012 by Jannis (talk | contribs) (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")

\setupnumbering

Syntax

\setupnumbering[...,...=...,...]
way bytext bysection
state start stop


Description

In mkii \setupnumbering[way=bysection] causes all numbered items to restart from 1 for each new section and prefix numbers with the section numbering.

In mkiv \setupnumbering does not work, so to get the same effect you need to use \setupcaptions and \setupformulae as follows:

\setupcaptions[way=bysection,prefixsegments=section]
\setupformulae[way=bysection,prefixsegments=section]

Example

See also

Help from ConTeXt-Forum