Not index markers but cross-reference target markers.
thank you Vandy
seems not work
I don't really sure what is it
the GREP wildcard ~I
Coucou ! (in french)
Insert a index entry! Vandy is right!
But here, it is not a maker for an index entry. You have cross-references!! Already said in Post#2.
I place a word file into Indesign, then the file have this kind of things
I don't how can I remove it
@Teetan VK – that's the dreaded <FEFF> special character!
Do a TEXT search/replace. Not a GREP search (that will not work).
And be aware, that also XML markers and Index markers will be found with:
I've already had a discussion about <FEFF>.
If you have index markers that you want to keep! …
Yes. Then you have to shield them (the index markers) with a special character style. The next step would be to search for <FEFF> without that special character style…
Aha! Still difficult to block you in a corner of the ring!
I use a condition to do this (personally used in another [JS] to generate several index in the same book)!
One question remains unanswered:
We can delete index marks:
and those of hyperlinks:
SOLUTION, BOTH WORK
THANK YOU ALL GUYS
Obi-wan, Cross References were tacked on with paperclips and duct tape. They refer to the list of topics, just like indexed items: http://jongware.mit.edu/idcs6js/pc_CrossReference.html
I don't have the time to experiment, but this suggests that if you remove all index topics, you also remove cross references -- and the other way around. Looping over all cross references and only deleting their own is not safe; you would need to check if the topic is not used for the index as well.
Thanks for the answer!
Thanks in advance.
No idea, it's not something I've tried before. Maybe you can try [textItem].showText()?