About creating index
Hi!
I have a script about index that works as the following.
- Collect the all index from the opened indesign document.
- Change the sortby string of the collected index.
- Delete all index of the opened indesign document.
- Create new index.
After running the script, I found that some index markers's location were shifted.
But this script doesn't change the pagereference of index in the step 2 above.
In the another web site I found that says it is a bug.
It says that when inserting index marker using script, the index markers's location are shifted under a certain condition.
The condition are the following:
- A table is contained on a story same as an index topic.
- The table is in front than the index topic.
- The table has several rows(it is likely that the number of column does not matter)
In my indesign document sample, it is sure that a table in accord with the above condition exists.
So, I want to know
- Is it a bug really when inserting index marker using script?
- If so, how to avoid this problem?
