Difference between revisions of "Command/setupnumbering"
< Command
Jump to navigation
Jump to search
m (Text replace - "Reference/en|" to "Commands|") |
m (Text replace - "Reference/en/" to "Command/") |
||
Line 10: | Line 10: | ||
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:way|way]]</td> |
− | <td>[[ | + | <td>[[Command/value:bytext|bytext]] [[Command/value:bysection|bysection]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:state|state]]</td> |
− | <td>[[ | + | <td>[[Command/value:start|start]] [[Command/value:stop|stop]] </td> |
</tr> | </tr> | ||
</table> | </table> |
Revision as of 02:38, 14 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]