Command/setupcounter

From Wiki
Jump to navigation Jump to search


\setupcounter

Summary

The command \setupcounter is used to configure a counter.

Settings

\setupcounter[...,...][...=...,...]
[...,...]name
startnumber
numbernumber
countername
methodpage
statestart stop
waybypage byblock bytext byhead bysection
prefixyes no
prefixseparatorsetname
prefixconversionname
prefixconversionsetname
prefixstartercommand processor->command
prefixstoppercommand processor->command
prefixsetname
prefixsegmentsnumber number:number number:* number:all section section:section section:* section:all current
numberorderreverse
numberseparatorsetname
numberconversionname
numberconversionsetname
numberstartercommand processor->command
numberstoppercommand processor->command
numbersegmentsnumber number:number number:* number:all
typefirst previous next last number
criteriumstrict positive all
prefixconnectorcommand processor->command

OptionExplanation
way
where should the counting start/reset?
bypage every page
bytext no reset, whole document
bysection i.e. bychapter etc.
numberconversion
see conversion options at \convertnumber

Description

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: