Two indexes in one Word document?

B

Brian Rumary

I am working on a small book which is intended to have *two* indexes at
the end, each of which will list a differeant type of subject.

Is there any way to do this using the index entry marking and
compliation utilities in Word 2002? Or must I do at least one of the
indexes manually?

Brian, England
 
R

Robert M. Franz (RMF)

Brian said:
I am working on a small book which is intended to have *two* indexes at
the end, each of which will list a differeant type of subject.

Is there any way to do this using the index entry marking and
compliation utilities in Word 2002? Or must I do at least one of the
indexes manually?

If you are talking about the concordance file approach, I'm not
positive. But you can mark them with a category switch:

select the word, hit the AutoMark shortcut (it's ALT-SHIFT-X here in my
localized version of Word), and use the third option (bookmark). This
inserts an XE field with an \r switch, and afterwards you can compile an
Index over only the XE fields in the specified category.

HTH
Robert
 
B

Brian Rumary

Robert said:
If you are talking about the concordance file approach, I'm not
positive. But you can mark them with a category switch:

select the word, hit the AutoMark shortcut (it's ALT-SHIFT-X here in my
localized version of Word), and use the third option (bookmark). This
inserts an XE field with an \r switch, and afterwards you can compile an
Index over only the XE fields in the specified category.
According to the Word help file this doesn't work - all it does is specify
a page number as covering a range of pages (e.g. "23-34") rather than a
single number. I should explain that I want two indexes covering the _same_
document, but listing two different types of entries. Word only seems able
to compile a single index per document.

One thought - could I create two indexes by using the "index" utility for
one and the "table of contents" method for the second?
 
G

garfield-n-odie [MVP]

You can have as many indexes as you want in a Word document. You
just need to add a \f switch to your XE and INDEX fields to
specify which index entries go into which index. Quoting from
Word help:

\f "Type"
Defines an entry type. The entry for the field { XE "Selecting
Text" \f "a" } is included only in an index inserted by the field
{ INDEX \f "a" }.

In the above example, you can replace "a" with any word or text
string of your choosing that helps you to identify the subject.
 
B

Brian Rumary

Garfield-n-odie said:
You can have as many indexes as you want in a Word document. You
just need to add a \f switch to your XE and INDEX fields to
specify which index entries go into which index. Quoting from
Word help:

\f "Type"
Defines an entry type. The entry for the field { XE "Selecting
Text" \f "a" } is included only in an index inserted by the field
{ INDEX \f "a" }.

In the above example, you can replace "a" with any word or text
string of your choosing that helps you to identify the subject.
Many thanks - I saw this bit in Word's help file, but didn't appreciate
its meaning. I have given it a quick try and it seems to work.
 
R

Robert M. Franz (RMF)

Sorry, I'm not sure how the "f" got into an "r" in my post (well,
they're pretty near each other on the keyboard, but other than that
....), and Garfield gave you the correct one (and you described the
problem well in your OP).

Greetings
Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top