Dear Hamid,

I thank you again very much for your lucid explanation.

Best wishes,

Takamitsu

Takamitsu MURAOKA
村岡崇光

On 19 October 2015 at 19:13, Hamid Haji <[log in to unmask]> wrote:

On 19 Oct 2015, at 03:33, takamitsu Muraoka <[log in to unmask]> wrote:
[…]

It seems to be working. Wonderful. The only thing is that sometimes I can index after having checked "Select all the document", but sometimes not. Whimsical!

If you can mark topics for indexing when any part of the index (automatic text) itself is selected, then it appears to be a bug in NWP 2.0.7.
When any part of the index is selected, the following commands are meant to be unavailable:

Index, Index As…, Additional index As…, and Index Using Word List…

This is to prevent the index topics in the index from being marked for indexing. I cannot test this bug with the latest version of NWP, but in your index, just check the last page number (locator) for any topic; for example, if you have:
Plato 7, 9, 13–14, 310
make sure that “310” is not the same page as where the topic “Plato” appears in the index. If this is the case, then running the Rebuild Index command (while the cursor is anywhere in the index) should fix it, giving:
Plato 7, 9, 13–14

Another thing is that a text followed by an apostrophe is not indexed, e.g. Plato's does not get indexed under Plato. Any idea why?
[…]

That is because the exact whole word(s) as they appear in the first column are considered as they are and not the string, the whole word being what is selected as you double-click. Thus also, for example ‘Platonic” will not be marked if the first column has “Plato”. The marking is also case sensitive, so if you have “Platonic” in the first column, only “Platonic” in the text will be marked and not “platonic”.

To include instances of apostrophe, the word list file will have:

Aristotle Aristotle
Aristotle’s Aristotle
Plato Plato
Plato's Plato

All the best,

Hamid