I have a problem with creating an index to a document: it was not created from me, and it had the headers of the chapters simply formatted, without using styles. I applied styles (Header 1, 2, 3 and Body) to the whole document, hoping that it would allow to create the index automatically.
But when I insert the index, it appears empty.
I tried to create a dummy document to try the function and it works properly; so what could be wrong in the other document?
