Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
FloatAdmin FloatAdmin is offline
external usenet poster
 
Posts: 2
Default multiple indexes in one document

I have a document that lists information in a table. This information has to
be split into two indexes in separate parts of the same document. Trick is
that one index will need to contain all of the information and the other just
certain pieces.

I created the main index and it is fine, however I do not know how to double
mark entries for use in the second index.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default multiple indexes in one document

There are two separate mechanisms for this, and you can use one or the
other. (I would discourage trying to use both at the same time.)

If all the items for the second index are together in one part of the table,
and that part doesn't contain any items that don't belong in that index,
then you can use the bookmark mechanism. Insert a bookmark that includes
only the part that goes into the second index. For example, let's say you
name the bookmark Select (although you can use any valid bookmark name).
Then when you insert the INDEX field for the second index, include the
switch

\b Select

in the field's code. That index will show only items whose XE fields are
within the bookmark.

The other mechanism doesn't need a bookmark, and the entries don't all have
to be together in one part of the table, but you do have to insert a
separate set of XE fields for the entries that will appear in the second
index. Each of these additional XE fields must contain an \f switch and an
identifier. For example, in addition to the existing marked entry { XE "some
text" } for the first index, an entry for the second index could look like

{ XE "some text" \f "B" }

where "B" is the identifier. That same identifier must be put into an \f
switch in the INDEX field for the second index,

{ INDEX \f "B" }

(By default, the all-inclusive first index acts like it has the switch \f
"I".)

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

FloatAdmin wrote:
I have a document that lists information in a table. This
information has to be split into two indexes in separate parts of the
same document. Trick is that one index will need to contain all of
the information and the other just certain pieces.

I created the main index and it is fine, however I do not know how to
double mark entries for use in the second index.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default multiple indexes in one document

There are two separate mechanisms for this, and you can use one or the
other. (I would discourage trying to use both at the same time.)

If all the items for the second index are together in one part of the table,
and that part doesn't contain any items that don't belong in that index,
then you can use the bookmark mechanism. Insert a bookmark that includes
only the part that goes into the second index. For example, let's say you
name the bookmark Select (although you can use any valid bookmark name).
Then when you insert the INDEX field for the second index, include the
switch

\b Select

in the field's code. That index will show only items whose XE fields are
within the bookmark.

The other mechanism doesn't need a bookmark, and the entries don't all have
to be together in one part of the table, but you do have to insert a
separate set of XE fields for the entries that will appear in the second
index. Each of these additional XE fields must contain an \f switch and an
identifier. For example, in addition to the existing marked entry { XE "some
text" } for the first index, an entry for the second index could look like

{ XE "some text" \f "B" }

where "B" is the identifier. That same identifier must be put into an \f
switch in the INDEX field for the second index,

{ INDEX \f "B" }

(By default, the all-inclusive first index acts like it has the switch \f
"I".)

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

FloatAdmin wrote:
I have a document that lists information in a table. This
information has to be split into two indexes in separate parts of the
same document. Trick is that one index will need to contain all of
the information and the other just certain pieces.

I created the main index and it is fine, however I do not know how to
double mark entries for use in the second index.



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default multiple indexes in one document

Index entries within a Word document are XE fields. You can make use of the
\f switch to accomplish what you want (a "selective" index).

Show hidden text to display the XE (index entry) fields. Add \f "b" (the
character within the quotation marks can be anything that you choose) to the
field codes for the entries corresponding to your second, smaller index.
Create a new INDEX field using the code { INDEX \f "b" }; such an index will
only include the entries including \f "b". When you are done, update the
INDEX field.

To add field codes manually, use Ctrl+F9; Word inserts field delimiters,
{ }, and you can then type in the field code directly. To see all field
codes, display hidden text and also press Alt+F9. To update fields in the
selection, use F9.

--
Stefan Blom
Microsoft Word MVP



"FloatAdmin" wrote in message
...
I have a document that lists information in a table. This information has
to
be split into two indexes in separate parts of the same document. Trick
is
that one index will need to contain all of the information and the other
just
certain pieces.

I created the main index and it is fine, however I do not know how to
double
mark entries for use in the second index.




  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default multiple indexes in one document

Index entries within a Word document are XE fields. You can make use of the
\f switch to accomplish what you want (a "selective" index).

Show hidden text to display the XE (index entry) fields. Add \f "b" (the
character within the quotation marks can be anything that you choose) to the
field codes for the entries corresponding to your second, smaller index.
Create a new INDEX field using the code { INDEX \f "b" }; such an index will
only include the entries including \f "b". When you are done, update the
INDEX field.

To add field codes manually, use Ctrl+F9; Word inserts field delimiters,
{ }, and you can then type in the field code directly. To see all field
codes, display hidden text and also press Alt+F9. To update fields in the
selection, use F9.

--
Stefan Blom
Microsoft Word MVP



"FloatAdmin" wrote in message
...
I have a document that lists information in a table. This information has
to
be split into two indexes in separate parts of the same document. Trick
is
that one index will need to contain all of the information and the other
just
certain pieces.

I created the main index and it is fine, however I do not know how to
double
mark entries for use in the second index.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating multiple indexes in a document (subject, authors, etc) Bryn Olew Microsoft Word Help 10 August 30th 06 04:07 AM
multiple indexes Mme_Huguier Microsoft Word Help 2 April 9th 06 12:18 AM
multiple indexes in one document Barb Microsoft Word Help 1 February 23rd 06 09:18 PM
Multiple indexes in same doc Clair_Maranatha Tables 2 April 12th 05 01:02 AM
Multiple Indexes Raffi Bearmant Formatting Long Documents 3 December 30th 04 07:15 PM


All times are GMT +1. The time now is 09:33 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"