We are using InDesign CS4 for Books publication.
In our workflow, we need to replace the selected character style into InDesign index flag using VB script for indexing purpose.
While doing this process for huge chapters (containing heavy tables with minimum contents) the script failed to place the index flag in the exact position and it places the index flag few words after. We have not experienced this problem for simple chapters.
However, if we do the process manually without scripting effort it works well.
Could you please let us know what went wrong in the process steps? or any suggestions to overcome this issue.
Thanks in advance.
without more info, i don't think anyone can help you much.
From the top of my head, i'm guessing you are iterating your arrays/collections whatever from 0 to lenght. try it in reverse.
We have the similar issue for placing the index flag within the document content in InDesign CS6.
Could you please advise us what went wrong and any other suggestion to overcome this issue?
Note: We observed this issue when floats placed in the document. If we removed the floats then it works fine.