Code:
\documentclass{article}
\usepackage{index}
\usepackage{lipsum}
\makeindex
\begin{document}
\section{\index*{Hello World}}
Hello World
Some text about \index*{foo}.
\lipsum[1-15]
Hello World.
\printindex
\end{document}
Output (Index):
foo, 1 Hello World, 1
Problem Statement: The other occurrences of "Hello World" are missed-out in the index.
I have not included the other occurrences of "Hello World" under the \index{} tag.
But I expect that this way I have declared a key-word to the index.
LaTeX should take care of future references of "Hello World" itself.
Is there any way (without using any tcl script) that once I specify a keyword using \index{}, the next occurrences of this word (if located on a different page) should be automatically entered in the index?