Copy link to clipboard
Copied
Hi, I have several key words to add to an index. These key words appear on every single page of the document. That's an unavoidable issue. However, can I filter in some way so that the H3 headers with these key words are the only instances to appear in the Index?
Script updated (together with what was on the to-do list):
https://creativepro.com/files/kahrel/indesign/index_from_wordlist.html
Copy link to clipboard
Copied
Hi,
So, I misspoke. I should have said "Reference" instead of "Topic" in regards to the Index element. Of course, if that is a better solution....
Copy link to clipboard
Copied
This script:
https://creativepro.com/files/kahrel/indesign/index_from_wordlist.html
takes a word list and adds index markers at the occurrences of those words. The script uses several filters, one of which is paragraph style.
Copy link to clipboard
Copied
Thank you Peter!!!
Alison
Copy link to clipboard
Copied
Ok, I think my best course of action is also fairly tedious—create entries with these key words defined as limited to the "current page".
So, for example a color style that is identified as being "Lead-bearing" in H3 Paragraph Style appears in the Index, and the "lead-bearing" that is referenced in the Body Paragraph Style of a "Sulfur-bearing" color style does not.
Copy link to clipboard
Copied
Not sure I understand what you mean here. If you're looking for an answer, could you explain some more?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It's still not really clear what your section headings H3 and H4 are and what you want to do with them, but I think what you're after is this:
1. If a key word is in a section heading (H1, H2, H3, . . .) then use the to-next-use-of-style page-reference type.
2. Otherwise use current page.
Is that correct?
Copy link to clipboard
Copied
Yes, I think so!
Alison
Copy link to clipboard
Copied
Script updated (together with what was on the to-do list):
https://creativepro.com/files/kahrel/indesign/index_from_wordlist.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now