Skip to main content
Inspiring
September 17, 2014
Answered

Remove index reference marker

  • September 17, 2014
  • 9 replies
  • 2776 views


Hi everyone

can you make a script for del those index reference marker:

Teetan

This topic has been closed for replies.
Correct answer Laubender

Here a screenshot before replacement with *nothing* and after.
(<FEFF> in text search will find the XML tags as well, but in this case will not remove them)

Uwe

9 replies

Teetan_VKAuthor
Inspiring
September 17, 2014

Laubender
AND
Obi-wan Kenobi
SOLUTION, BOTH WORK

THANK YOU ALL GUYS

TEETAN

Teetan_VKAuthor
Inspiring
September 17, 2014

I place a word file into Indesign, then the file have this kind of things

I don't how can I remove it

Community Expert
September 17, 2014

@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:

<FEFF>

Uwe

LaubenderCommunity ExpertCorrect answer
Community Expert
September 17, 2014

Here a screenshot before replacement with *nothing* and after.
(<FEFF> in text search will find the XML tags as well, but in this case will not remove them)

Uwe

Teetan_VKAuthor
Inspiring
September 17, 2014

and search ^I

I got this

but I don't know what in world is this kind of thing

thank you so much

Teetan

Obi-wan Kenobi
Legend
September 17, 2014

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. 

Teetan_VKAuthor
Inspiring
September 17, 2014

thank you Vandy

run your script I got this error

Teetan

Teetan_VKAuthor
Inspiring
September 17, 2014

the GREP wildcard ~I

but unremovable

Legend
September 17, 2014

Hi,

I am not in front of my system, may be the below link will help you.

http://indesignsecrets.com/how-to-remove-all-the-index-entries.php

Vandy

Teetan_VKAuthor
Inspiring
September 17, 2014


cross-reference marker?

I don't really sure what is it

Teetan_VKAuthor
Inspiring
September 17, 2014

thank you Vandy

seems not work

Obi-wan Kenobi
Legend
September 17, 2014

Hi,

Not index markers but cross-reference target markers.

Legend
September 17, 2014

Try,

app.activeDocument.indexes[0].topics.everyItem().remove();

OR

app.activeDocument.indexes[0].topics.everyItem().pageReferences.everyItem().remove();

Vandy