Making multiple indexes in one word document

Ü 0 Reputation points
2025-01-16T11:00:08.1366667+00:00

I am writing a historical article and have several problems in indexing,

  1. I need to make indexes for different categories, like an index for people, an index for places etc. For example, let's say my text includes Aristotle and Julius Caesar, as well as Athens and Rome, instead of an index which includes all four, how can I make one index that includes Aristotle and Julius Caesar, and a seperate one that includes Athens and Rome?
  2. Throughout the text, I sometimes use the name Julius Caesar and sometime Caesar only, when I write julius caesar in the index it does not include the sentences which only Caesar is used, if I write caesar in index, then I can't change it to Julius Caesar in the final index, what should I do for the index to refer to both?

Thanks in advance

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
936 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 27,461 Reputation points Microsoft Vendor
    2025-01-17T01:45:20.5466667+00:00

    Hi,

    1. Creating Separate Indexes for Different Categories:
      • First, you need to mark the entries for each category separately. For example, when you mention Aristotle and Julius Caesar, you can mark them as entries for the "People" index. Similarly, mark Athens and Rome for the "Places" index.
      • Use a unique identifier for each category. For instance, you can use "P-" for people and "L-" for places. So, Aristotle would be marked as "P-Aristotle" and Athens as "L-Athens".
      • When generating the index, filter the entries based on these identifiers to create separate indexes for each category.
    2. Handling Different Name Variations:
      • To ensure that both "Julius Caesar" and "Caesar" are included in the index, you can use a cross-reference. Mark "Caesar" as a sub-entry under "Julius Caesar". This way, any mention of "Caesar" will be indexed under "Julius Caesar".
      • In your text, whenever you mention "Caesar", you can mark it with a cross-reference to "Julius Caesar". This will ensure that all instances of "Caesar" are included under the main entry "Julius Caesar" in the final index.

    Here's an example of how you can mark the entries in your text:

    • For "Julius Caesar": \index{Julius Caesar|see{Caesar}}
    • For "Caesar": \index{Caesar|see{Julius Caesar}}
    • For "Aristotle": \index{P-Aristotle}
    • For "Athens": \index{L-Athens}

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

  2. Charles Kenyon 2,956 Reputation points
    2025-01-19T14:26:13.6866667+00:00

    See the documentation on the XE (Index Entry) Field.

    To have separate indexes, you would use the \f switch.

    Resources:

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.