Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
I am working on the manuscript of a book where I need to create 2 separate
indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Yes, there is a better way. Look at the Help topics for the XE and INDEX
fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Thank you Suzanne. I was hoping you would reply.
I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
I don't know any way to do what you're attempting (generate an index based
on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#5
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Thank you.
I decided it is simpler for me to just do as I must have in the first edition, copy and paste removing the #. Thanks for the suggestions. Jeff Suzanne S. Barnhill wrote: I don't know any way to do what you're attempting (generate an index based on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#6
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
With hidden text displayed, a wildcard search for
(XE ")#(*") replace with \1\2 ^092f should do the trick -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Suzanne S. Barnhill wrote: I don't know any way to do what you're attempting (generate an index based on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#7
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Thanks, Graham, though I think Jeff has already gone in a different
direction. Also note, Jeff, that you'd need to add your identifier after the f in the replace text. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Graham Mayor" wrote in message ... With hidden text displayed, a wildcard search for (XE ")#(*") replace with \1\2 ^092f should do the trick -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Suzanne S. Barnhill wrote: I don't know any way to do what you're attempting (generate an index based on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#8
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Thank you.
Jeff Graham Mayor wrote: With hidden text displayed, a wildcard search for (XE ")#(*") replace with \1\2 ^092f should do the trick Suzanne S. Barnhill wrote: I don't know any way to do what you're attempting (generate an index based on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
#9
Posted to microsoft.public.word.newusers
|
|||
|
|||
2 indexes in same document
Thank you both. Actually, for what it is worth, my "homemade" method worked
very easily and rapidly. Sorry to have wasted your time. Jeff Suzanne S. Barnhill wrote: Thanks, Graham, though I think Jeff has already gone in a different direction. Also note, Jeff, that you'd need to add your identifier after the f in the replace text. "Graham Mayor" wrote in message ... With hidden text displayed, a wildcard search for (XE ")#(*") replace with \1\2 ^092f should do the trick -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Suzanne S. Barnhill wrote: I don't know any way to do what you're attempting (generate an index based on just the # entries), but there may be a workaround. You display the XE fields by displaying Hidden text. It may well be possible, using wild cards, to search for text preceded by #, remove the #, and add an \f switch to the end. See http://www.gmayor.com/replace_using_wildcards.htm and hope that Graham Mayor will weigh in here and give you the exact strings you need for the job! wrote in message ... Thank you Suzanne. I was hoping you would reply. I forgot to mention I am using Word 2002. Help me understand. In my case with all these hundreds of names already marked for indexing with a # before the name, can I now use the switches to generate an index for just the entries that are preceded (identified?) by the #? The only way I found to "reveal" the field code of my present index code is by trying to edit the index field and then it appears to be INDEX \c "3" \z "1033" Is this modifiable to generate a name index using the way I now have it marked (#) for index entry? It would not really be practical to re-mark all these entries again. Jeff Suzanne S. Barnhill wrote: Yes, there is a better way. Look at the Help topics for the XE and INDEX fields and note the "identifier" switch that can be added to the fields. When you create an index entry using the Mark Index Entry dialog, there is no box to fill in the identifier, so you have to add it to the field manually. But when you generate an index with a given identifier, it will include only those XE fields containing that identifier. The identifier is an \f switch (which Help confusingly calls "Type" for XE fields and "Identifier" for INDEX fields). wrote in message ... I am working on the manuscript of a book where I need to create 2 separate indexes: an index of names and a separate general index. Actually this is a second edition of this book and the first edition did have 2 indexes but I forgot how I did it. I do notice that the "names" to be included in the separate name index were all marked in their fields with a preceding #. as in: {XE "#Smith"} So when I generate the index, all the name entries that should appear in the separate name index appear at the beginning of the index where they can be easily identified, cut and pasted. So I assume that what I did was: cut the names portion, repasted it in the area labeled "Name Index" and then removed the # from all the entries. Does that make sense? Is there a better way? **Is there a way to use search/replace to remove all the # from the names? Thanks. Jeff |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Creating multiple indexes in a document (subject, authors, etc) | Microsoft Word Help | |||
How do I create two indexes (subject and author) in a document? | Microsoft Word Help | |||
multiple indexes in one document | Microsoft Word Help | |||
How to do name indexes | Microsoft Word Help | |||
How can I create TWO separate indexes in a Word2000 document? | Microsoft Word Help |