Tables of contents aren’t the only InDesign feature to extract content based on the styles applied to it. Text variables can be a convenient way to repeat or reference text that uses a paragraph or character style. Much of what you see along the tops of pages in the print edition of this book uses text variables to remind you of which chapter you’re reading (at the top of left-hand pages) and which topic (on right-hand pages).
Variables can also be a way to insert document data, like date and time of the most recent edit or output. And they can be used to extract and render metadata from placed images for captions. As in so much, there is good news and bad with this feature.
When using the Book feature (discussed ...