Chapter functions

Docly provided helper functions to create chapter counters working on multiple levels.

Chi­nit(name)

Creates a counter variable with specified name. Note that any variable with this name will be overwritten in the current scope.

Chs­tep(name)

Increments (steps) the counter variable with the specified name by one.

Ch­des­tep(name)

Steps backwards on a counter.

Ch­pus­h(name)

Adds an extra level to the counter.

Ch­pop(name)

Steps down one level on the counter (for multi level counters).