Difference between revisions of "Command/setupnumbering"

From ConTeXt wiki
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
Line 40: Line 40:
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Numbers|setupnumbering]]
 
[[Category:Numbers|setupnumbering]]

Revision as of 01:31, 18 March 2012

\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-Mailinglist/Forum

All issues with: