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)

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

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 one the counter (for multi level counters).