|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to create an index by adding words in batch (rather than one at a time)
I have written a three hundred page book in MS Word 2016, and used another software (TextSTAT-2) to analyze the file and create an alphabetical unique word list of 5000 words. I've gone through that word list of 5000 unique words and selected 400 words that I want in the index. So now I have a list of 400 words. Is there a way to add them into the index as a batch, rather than using the MS Word index GUI screen that makes you go to the actual page where the word occurs and add it by highlighting and marking it? I would rather opt to have all the words added at once as a batch, which will save a huge amount of time. The words could all be set as "mark all" occurrences, rather than specifying the occurrence on a particular page.
|
#2
|
||||
|
||||
Word allows you to use a concordance document for the creation of Index entries, via References|Insert Index>Automark. You could add your list to such a document.
The Index concordance document is essentially a two-column table in which the texts to be indexed is in the first column and the form of the Index entries is in the second column. However, see: https://wordmvp.com/FAQs/Formatting/CreateIndex.htm Once the entries are marked, see: https://support.office.com/en-us/art...2-cda9d14bf073
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thanks! Your links were very helpful. And the Concordance Index approach is going to work really well for our needs. We do actually want all the occurrences for each word to appear in the index, and the Concordance Index approach provides for this as well as allowing us to batch enter the words.
Last edited by Swarup; 08-09-2018 at 04:11 PM. |
#4
|
|||
|
|||
I am very disappointed to find out on casual checking, that the page numbers in the index I've created are almost all wrong-- they do not match the actual page numbers on which the words occur. A few are correct, but almost all are off by 3-4 pages. How could this be? MS Word gives the user the freedom to assign page "1" wherever one likes. In my case I've used roman numerals up through the TOC, preface, and editors note. Page "1" starts with chapter one of the book. Couldn't MSW understand this? I put a lot of time to making this index, only to find out that the page numbers are wrong.
|
#5
|
||||
|
||||
I haven't seen that problem.
Is your index at the end of the document (and therefore its size could alter the subsequent page numbers)? It would be good practice to put the index at the end of the doc. Also, how are the pages numbered? The page number settings can be configured for each section so the page numbers are accurate but it is also possible to hack page numbers to display a number on the page which is not how Word considers the page number. Select a page number and reveal the field code to check what its options are.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#6
|
||||
|
||||
Ditto. The only way I can envisage such a problem occurring is if the document has fields that generate calculated page #s, in which case they'd be off for the TOC as well.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
||||
|
||||
Sorry about the delayed reply-- I was checking for replies with great interest the night I posted this, and cannot understand how both of your replies did not appear as it seems you replied within just a few minutes of my post. Anyhow, let us move on-- I take great interest in what you've expressed here and very much need a solution.
Quote:
Quote:
chapter of part 2, and requested the page number to continue as per sequence from the prior section. Everything happened smoothly, and no hacking was done. Quote:
Quote:
Anyhow I just made another index, and checked around 10 words. Now it seems to be consistently giving the correct page number for those very words which were wrong in the previous version. What I suspect may have happened is that the page numbers were correct when the index was made, but some further page formatting work may have happened in the time since the index was first made. Although I cannot say for certain, but it seems likely that this is what occurred. It still seems a bit odd, as the fine formatting which was going on could have accounted for a one-page-number difference, but not a difference of four pages as has occurred here. Anyhow I'll go ahead and remake the index now and be sure not to have any further page formatting go on after that. |
#8
|
||||
|
||||
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem batch adding autotext using Greg Maxey's Building Blocks Add-In | Genuine Gin | Word VBA | 5 | 12-16-2015 10:20 AM |
Trying to create a macro to batch edit hyperlinks | martinlest | Excel Programming | 5 | 01-09-2015 09:34 AM |
Batch adding Metadata to Docs | AndyTake2 | Word | 0 | 02-01-2013 10:18 AM |
Batch create Word documents | cdfj | Word VBA | 6 | 11-07-2012 01:03 PM |
Batch adding text to email subject lines in Outlook | paulkaye | Outlook | 0 | 12-05-2011 06:38 AM |