When you create your references make sure "Book" is checked in the Index panel.
> When you create your references make sure "Book" is checked in the Index panel.
It is, and has been, selected.
And also that all the files in your book are open.
> And also that all the files in your book are open.
Yes, all of the chapters were opened.
I can have ID search for a single keyword/phrase, no problem. How do I have ID do the keyword search in all chapters from a list of keywords?
You mean search all keywords at a time? I'm afraid that's not possible. It has to be done one at a time. Maybe there's a more sophisticated indexing software that has that feature. Or a third party plugin.
These might help.
There is QuickIndex ( free,reads a list from a file )
These questions do pop on quite a regular basis, maybe a 101 on indexing in InDesign would be useful.
Peter Kahrel, I sorry for the omission.
Thanks for the mention, Obi
No worries, Pickory
> Don't forget this clever script written in 2011 by Peter Kahrel!
> it still works remarkably under CC ID 2014!
That is exactly what I wanted!
Sadly, InDesign CC 2015 on Windows 8.1 is so unstable that the script cannot through many of the chapters without crashing. I have tried the script three times so far; every time ID crashed early in the process. It would seem I am forced to create the index one keyword at a time for all 200 keywords. :-(
I have to kill (aka: force quit) ID, sit through the "the file may be damaged" dialog for 35 files. Creating an Index in ID is a horror show.
1/ Do the scripts work correctly with ID CC 2015?
2/ Use the script [Rich or Peter's], maybe, by file or for x (e.g. 20) keywords at each time?
3/ Generate the index?
Interesting to know the issues?
jimoe -- Do try Obi's suggestion: close all your documents and the book. Open the first chapter and run the script against that. If that worked, save the chapter and do the second chapter. And so forth and so on. If all chapters were processed correctly, open the book and generate the index. If any errors occur, let us know which.
I changed how the network is set up to get a faster connection to the file server; this seems to have resolved the crashing issue. Apparently ID goes into one of its crash loops if the network is not fast enough. (ID still crashes if I am not careful how I open a file.)
I started the indexing script and walked away. It took about 40 minutes for the script to complete. This was the speedy part (really!).
I then generated the index. That took six hours. Yes, HOURS. We have since removed many of the redundant or undesirable markers. The index generation now only takes 3 hours.
To put things into perspective, please let us know the following:
- you say you keyword list has about 200 entries. That's very manageable, nothing there to get you worried. But how big are your documents, and do you get a lot of page references in your documents? That is, how many hits are there in each document?
- an important aspect of generating an index: how much RAM does your computer have? InDesign needs a lot of memory for some tasks, and generating an index is one of them. If InDesign needs to use your hard disk as a swap disk, generating the index can take a long time. An index that took well over half an hour to generate 10 years ago, now take a few seconds, mostly thanks to oceans of RAM. Increased processer speed helps, but RAM is the big thing here.
How big is your generated index, by the way? How many entries do you have? Can you show it?
> you say you keyword list has about 200 entries. That's very manageable, nothing there to get you worried. But how big are your documents, and do you get a lot of page references in your documents? That is, how many hits are there in each document?
- The indexed portion of the book has 31 chapters totalling about 450 pages.
- I was incorrect about the number of keywords/-phrases: There are about 750, reduced from 880.
- On average each keyword creates 3 index markers.
- I am guesstimating the total number of index markers between 3000 and 4000. For a computer, this is no big deal. I would expect ID to generate an index in less than 5 minutes, not 3 hours.
> an important aspect of generating an index: how much RAM does your computer have?
- 4 GB. I realize this is limited for ID. I track system usage with the OS's Task Manager which shows CPU + Memory + disk + Network usage. At no time during index generation does memory become exhausted, not even close. Same for disk and network usage.
- CPU usage, however, remains at 100% for one of the four CPUs during the whole generation period; the process is obviously CPU constrained; ID is doing something astoundingly inefficiently. Clearly ID does not multi-task indexing.
Another aspect of this problem:
I cannot select the Book option on the Index panel. To do so renders index operations virtually useless.
- It takes 10 minutes for the index to collect the markers for the 31 chapters.
- It takes 4 - 5 minutes to add, modify or delete any single entry.
So I had to turn the Book option off, and move from chapter to chapter to edit the index entries. It was exceedingly tedious.To generate an index, I select the Book option, go have a cup of coffee and hang around for a while, then start the index generation. And come back 3 hours later.
You guys keep saying this and that can be done ... click "book" - done ... open all docs - done ...
I have followed every step given by tutorials, and I get a gorgeous index indicating the page numbers ... The Index page numbers, not the page numbers where the items appear in the book ... yes all book files were open at the time. What now?