Skip to main content
Participant
May 22, 2021
Question

InDesign indexing help

  • May 22, 2021
  • 1 reply
  • 667 views

Hi everyone,

On https://community.adobe.com/t5/indesign/help-with-indexing/ I read "When searching for occurrences of the selected text, InDesign considers only whole words, and searches are case-sensitive. For example, if cheetah is selected, cheetahs and Cheetah will not be indexed."

For the Index I am trying to build I need to find a way to index the words Cheetah, cheetah, Cheetahs and cheetahs on one reference only – cheetah –, so that when consulting this reference – cheetah – readers can find the numbers of the pages in which the four words – Cheetah, cheetah, Cheetahs and cheetahs – occur.

Is there any simple way to do this?

I am working with InDesign 16.2.1

 

Thank you very much for your help,

João

This topic has been closed for replies.

1 reply

Community Expert
May 24, 2021

Hey - let me know if this is of any help

https://creativepro.com/files/kahrel/indesign/lists_indexes.html

 

 

João5E8DAuthor
Participant
May 25, 2021

Thank you very much, Eugene,

It looks very promissing.

I will run some tests – I never used scripts before – and I will get back to you later.

 

 

FRIdNGE
May 25, 2021

Grep Find/Replace:

 

Find: [cC]heetahs?

Replace by: cheetah

 

… But only if you have this Script:

 

 

What does this Script do with the regex mentionel above: it absolutely doesn't replace the 4 cases indicated by "cheetah"! it simply creates for each found a "cheetah" index entry! E.g., if it finds the word "Cheetahs", it creates an index entry "cheetah"!

Of course, just 1 click!  😉

 

(^/)  The Jedi