I am using CC 2019 on Windows 10 to export a multi-chapter book to ePub 3.0.
The book contains several images. My goal is to place each image and its caption in the body of the book so that they appear after one paragraph and before the next. I expect this behavior in print and when exported to epub.
Each image has a static caption created with “Group Caption with Image” checked. I grouped each image and its caption to simplify placing them in the document. Each caption has a paragraph style of “image-caption”. Each image-and-caption has the same object style, which sets the anchor properties to above line.
I also created a ToC for the figures. Its only entry is the “image-caption” style. In print and interactive pdf, everything works fine.
When exported to ePub, clicking on an entry in the Table of Figures does not take me to the actual figure. Cracking open the epub reveals that no anchor exists where the figure-caption object is placed.
What must I do so that the Table of Figures links will work in epub? (i.e. – how to get InDesign to have a ToC anchor for each image-caption object?