Automate Figure Numbers, Captions, and Lists
In an HTML document, if a figure is inserted, deleted, or reordered, every figure downstream of the change has to be manually recoded. This script replicates the useful feature of word processing programs that automatically assigns sequential numbers to figures. This script manipulates the DOM to eliminate those headaches. A second script generates a figure list. No extra work is required, just insert images.