While LaTeX provides the ability to automatically number tables, this
functionality is not readily available with console, HTML, or Word output. By
keep track of the number of (captioned) tables, we can mimic the behavior of
LaTeX tables to provide (mostly) consistent table numbering between formats. The
table numbering is stored in the
1 2 3 4 5
The value at which to set the pixie counter.
The value to add to the current pixie count. Defaults to 1.
The pixie count is stored in the options and may also be accessed using
get_pixie_count returns the current value of the counter.
set_pixie_count sets the value to the user-specification.
increment_pixie_count increments the pixie count, usually by 1. This is called
print.dust any time a
dust object has a caption.
The concept for these functions is loosely based on a hook meant to work with
knitr to automatically number tables.