Login  Register

Dynamic Figure Indexing

Posted by ellieborden on Oct 28, 2018; 8:18pm
URL: https://discuss.asciidoctor.org/Dynamic-Figure-Indexing-tp6556.html

Is there a way to assign figure numbers dynamically using Asciidoctor?

I indexed them by section so, for example, the third figure in section 6 is captioned Figure 6.03.

The problem is that I currently have these captions hard-coded and if I want to insert a new section, I have to rename all of the figure captions and references within all of the following sections.

Here is my document for reference.