Automate Figure Numbers, Captions, and Lists | JavaScriptSource

Automate Figure Numbers, Captions, and Lists

Roland Toy Apr 4, 2007

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.

Leave a Response

(0 comments)