When you import topics from another document, page references aren't imported. The script adds these. It is indiscriminate in that it mindlessly creates a page reference for every occurrence of each topic. It also ignores topic chains: of the topics finance, bank, airplane, bank, and river, bank only the bank part can be considered so the script overgenerates.
The script has no interface -- just run it.
Show script (right click, Save Link/Target As to download)
Back to the main page on indexing
Installing and running scripts
Questions, comments? Get in touch