Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 08-13-2018, 07:55 PM
macropod's Avatar
macropod macropod is offline In the Index: How to format the appearance of reference words and page numbers Windows 7 64bit In the Index: How to format the appearance of reference words and page numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

It shouldn't matter where in the field code you put the \e switch. Now that you've done that, click anywhere in the index (or the field code) and press F9 to update it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #17  
Old 10-04-2018, 06:55 PM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Hi Macropod, so some time back on this thread I had asked:

Quote:
In the text of the book I have opted for page numbers of the style "- 1 -". When I give the order to construct the index, the index tool provides the page numbers together with the hyphen before and after each number. I do not want the hyphens; I just want the page numbers.
And you had replied:

Quote:
Instead of using the '- 1 -' page # format, use a basic format in the headers/footers and type the hyphens before/after the page # field.
Ultimately, to get the job done properly I followed your guidance and did just this -- switched the format of page numbers back to the basic format, and went through the 300 pages of the book and typed the hyphens before and after the page # field. Since then I've been involved in other aspects of book. Today I got back to the index, and used the concordance field to mark all the entries in my file. I created the index just now, and it came out great!!! Thank you so much, it looks beautiful.
Reply With Quote
  #18  
Old 10-04-2018, 07:22 PM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

I do have a follow up question: I used a program to generate the unique word list for the entire book, and the list showed separate listings for capitalized, non-capitalized, singular, and plural instances of the same word. I included these four varieties of the same word in the creation of the index, so as to capture all occurrences of these words. So currently in the index, for one word -- say the word, "book" -- there are four listings: Book, book, Books, books. I'd like to collapse these four listings into one -- "Book" -- and include all the page numbers for the four varieties in a single listing. Does this need to be done by hand after converting the index to a text file? Or is there a better way to do this?
Reply With Quote
  #19  
Old 10-04-2018, 07:34 PM
macropod's Avatar
macropod macropod is offline In the Index: How to format the appearance of reference words and page numbers Windows 7 64bit In the Index: How to format the appearance of reference words and page numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Presumably the "program to generate the unique word list for the entire book" created the list with the separate 'Book, book, Books, books' entries, which you then used as a concordance to generate the Index. Before doing that last part, you really should have concatenated these list entries into one. At this point, you could use Find/Replace to look for all XE fields containing 'book, Books, books' and replace those with just 'Book', thus:
Find = XE book
Replace = XE Book
Find = XE books
Replace = XE Book
After doing that and updating the Index, the 'book', 'Books', & 'books' entries should all appear under 'Book'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #20  
Old 10-05-2018, 04:28 AM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

I think I understood most of what you've guided here. So I used a concordance document for the creation of Index entries, via References|Insert Index>Automark. And that step marked all the words; here by "marking" we mean that Microsoft Word inserts index entries as an XE (Index Entry) field in a field code. Am I correct in understanding that at this point the XE fields have been created and I could search them and do a Find and Replace as you indicated, so that all the listings (Book, Books, book, books) would be seen by MSW as "Book", so that when I then create the index, it shows only Book for all four words. If I've properly understood, then my question is: Where do I find that document which has been created by MSW which holds all the Index entries marked by the automark process? That is the document in which I need to do the Find/Replace, right?
Reply With Quote
  #21  
Old 10-05-2018, 09:38 AM
Charles Kenyon Charles Kenyon is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

This is the document in which you are generating the Index. Look for the XE fields. (Note, these are Hidden text.)
Reply With Quote
  #22  
Old 10-05-2018, 11:49 AM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

It is working great-- thank you!
It seems for the find and replace, one has to put quote marks:
Find = XE "book"
Replace = XE "Book"
It didn't work for me without the quote marks. With quote marks, it works perfectly.
Reply With Quote
  #23  
Old 10-05-2018, 11:56 AM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Two questions:
1. I had put both the English and Hindi language unique word lists for this file into one MSW document, and created the index in that way. MSW separated the indexes by language, with all the English words of the index organized alphabetically, then followed by all the Hindi words of the index organized alphabetically. There is however one letter of the Hindi alphabet which it placed before all the English words of the index. It isn't really a letter, but a sign. (You may have heard of this, as it is quite a famous sign these days-- "Om" [ॐ]). To put this in its proper place just before the Hindi alphabet, would I need to convert the index into a text file and move it manually, as a cut and paste?

2. I am trying to change the font of the words appearing in the index. I went into "Edit Index -> Modify -> Format -> Font" and there I selected my desired font. Then I clicked ok and it asked me if I wanted to create a new index. I said yes. It created a new index, but with the same font which it had before. It didn't change the font. What do I have to do to get this to work?
Reply With Quote
  #24  
Old 10-05-2018, 02:19 PM
macropod's Avatar
macropod macropod is offline In the Index: How to format the appearance of reference words and page numbers Windows 7 64bit In the Index: How to format the appearance of reference words and page numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Unless its XE field entry differs somehow, I do not understand why a single Hindi word would be listed ahead of all the English words in the Index. As for your second question, the font for the Index entries can be controlled by the font applied to those entries in the XE fields
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #25  
Old 10-05-2018, 02:31 PM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

1) Here is what the XE field for this Hindi symbol ॐ looks like: ॐ{ XE "ॐ" }
By looking at this, is there any reason you can see for it to have been placed first in the index?
2) Is managing the font of the entries in the XE fields the only way to manage the font of the index? What about the way I mentioned in the previous post? The option is there in the software to edit and change the font of the index. Shouldn't this work as well?
Reply With Quote
  #26  
Old 10-05-2018, 02:51 PM
macropod's Avatar
macropod macropod is offline In the Index: How to format the appearance of reference words and page numbers Windows 7 64bit In the Index: How to format the appearance of reference words and page numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I believe you actually used 'Insert Index', not 'Edit Index', and yes, that will recreate the Index using the specified font, but modifying the Index 1 Style directly is even simpler. The advantage of modifying the XE entries is that formatting there takes priority over the Index 1 Style.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #27  
Old 10-05-2018, 03:23 PM
Swarup Swarup is offline In the Index: How to format the appearance of reference words and page numbers Windows 10 In the Index: How to format the appearance of reference words and page numbers Office 2016
Competent Performer
In the Index: How to format the appearance of reference words and page numbers
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

1) What I did was to select the index field, right click on it, choose "edit index", in the window that opened I clicked on "index", from there Modify -> Format -> Font. Changed the font, clicked ok to accept the changes. Nothing happened.

2) Anyhow I am perfectly happy to do it by modifying the XE entries as you suggested. I do not see where I have to go to change the font of all the XE entries. If I open styles, I do not see any listing there for "XE entries".
Reply With Quote
  #28  
Old 10-05-2018, 03:31 PM
macropod's Avatar
macropod macropod is offline In the Index: How to format the appearance of reference words and page numbers Windows 7 64bit In the Index: How to format the appearance of reference words and page numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Swarup View Post
1) What I did was to select the index field, right click on it, choose "edit index", in the window that opened I clicked on "index", from there Modify -> Format -> Font. Changed the font, clicked ok to accept the changes. Nothing happened.
Again, what you see via a right-click is not titled "edit index" but "edit field". You previously said 'I went into "Edit Index"'; you didn't mention right-clicking on the field. It's difficult to follow what you're doing when you don't describe it accurately.
Quote:
Originally Posted by Swarup View Post
2) Anyhow I am perfectly happy to do it by modifying the XE entries as you suggested. I do not see where I have to go to change the font of all the XE entries. If I open styles, I do not see any listing there for "XE entries".
There is no 'XE entries' Style; you modify the content of the actual XE fields. In any event, as I said before, you can also modify the Index 1 Style. That is something we discussed way back in post #2: https://www.msofficeforums.com/word/...tml#post131912. See attached.
Attached Files
File Type: docx Index Document.docx (37.8 KB, 7 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing format of page numbers in Index mohsen.amiri Word 0 01-22-2017 09:36 AM
In the Index: How to format the appearance of reference words and page numbers How can I list an index with page numbers of words unknown to the dictionary in a word document? Jay Jay Word 3 08-12-2015 05:53 AM
Sorting Index According to Page Numbers mohsen.amiri Word 14 06-25-2015 09:50 PM
Index - hyphenated page numbers godofpool Word 1 07-09-2012 11:25 AM
In the Index: How to format the appearance of reference words and page numbers wrong page numbers in index ellie2063 Word 1 06-29-2011 05:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft