: Make an index where "cat" also refers to "cats" I'm trying to make an index with page references. I want the word "cat" to be in the index and point to all the pages where the word "cat"
I'm trying to make an index with page references. I want the word "cat" to be in the index and point to all the pages where the word "cat" is. So far so good. But I also want the same word "cat" to point to pages with the word "cats". I know you can make a cross reference, but as far is I know, I would get in my index:
Cat 2, 3, 7
Cats see Cat
I want the index to show:
Cat 2, 3, 4, 7
where page 7 only contains te word "cats", not "cat".
How do I do this?
More posts by @Holmes874
1 Comments
Sorted by latest first Latest Oldest Best
Marc Autret's IndexMatic is still the king of the hill for InDesign indexing:
To index singular and plural forms—or other variants—under the same heading, the best way is to extend the original words to regular expressions. Here is the most common example, including the letter 's' at the end of the word:
/cats?/ => cat
which can be also expressed:
/(cat)s?/ =>
So, when you have several items based on the same plural transformation, you can easily factorize the keys as follows:
/(cat|dog|snake)s?/ =>
Of course, you have to deal with a number of special cases:
/stor(y|ies)/ => story
/wom(a|e)n/ => woman
/person|people/ => person
etc.
(Extracted from the IndexMatic 2 FAQ.) There's a free trial that you can download.
Peter Kahrel's superb "independent index" script builds an index from a text list of words, entirely bypassing InDesign's index feature.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.