Difference between revisions of "Command/setupnumbering"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(2 intermediate revisions by the same user not shown)
Line 27: Line 27:
 
causes all numbered items to restart from 1 for each new section <i>and</i> prefix numbers with the section numbering.
 
causes all numbered items to restart from 1 for each new section <i>and</i> prefix numbers with the section numbering.
  
In mkiv <code>\setupnumbering</code> does not work, so to get the same effect you need to use [[cmd:setupcaptions|\setupcaptions]] and [[cmd:setupformulae|\setupformulae]] as follows:
+
In mkiv <code>\setupnumbering</code> does not work, so to get the same effect you need to use {{cmd|setupcaptions}} and {{cmd|setupformulae}} as follows:
  
 
<code>
 
<code>
Line 38: Line 38:
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Numbers|setupnumbering]]
+
[[Category:Command/Numbers|setupnumbering]]

Revision as of 05:30, 23 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: