I'm working on a complex book in which everything on the pages is styled.
I've been asked to tag the vocabulary terms in the text, so that the correct page number shows up in the index.
I've been asked to tag the folios as well, for the table of contents.
The folios are a paragraph style.
The vocabulary terms are styled with a character style.
How do I do this?
Any help much appreciated.
InDesign's built-in Table of Contents function picks up text based on paragraph styles. I'm not sure you really men, though, that you want to pick up the folios, if you are using the term as I understand it, to mean the page numbers. You really want to pick up the various headings used to identify the topics or titles. ID will supply the page numbers.
As for the indexing, there may be a script that can find text with a particular character style assigned and add it to an index (you should ask over in the scripting forum: InDesign Scripting) but you should also read the Help on Indexes and learn more about how they operate.