Skip to main content
Michael314
Inspiring
July 6, 2012
Answered

how to search and replace text in index entries?

  • July 6, 2012
  • 1 reply
  • 1992 views

Hi,

I recently copied one manual to create a new one for a different product. After doing a global search and replace on product names and other text, I needed to replace a specific word that appears in the index entries.

I saw that the Find box would allow me to search for Marker Text, but I had to replaceme the word by hand -- cut and paste the new word, click on Edit Marker to save it, and then find the next instance.

This is with Frame 7.2. Does anyone know of a quicker way to do this?

Yours,

Michael F.

=========

This topic has been closed for replies.
Correct answer Michael314

Peter,

Thanks for the lead.

I downloaded the zip file and all it contains is a DLL file, but no instructions.

What do I do to get this to work and how will I know it's working?

Yours,

Michael F

========

1 reply

Participating Frequently
July 6, 2012

Search Google for "markerworker," without quotes. It's free!

HTH

Regards,

Peter

_______________________

Peter Gold

KnowHow ProServices         

Michael314 wrote:

Hi,

I recently copied one manual to create a new one for a different product. After doing a global search and replace on product names and other text, I needed to replace a specific word that appears in the index entries.

I saw that the Find box would allow me to search for Marker Text, but I had to replaceme the word by hand -- cut and paste the new word, click on Edit Marker to save it, and then find the next instance.

This is with Frame 7.2. Does anyone know of a quicker way to do this?

Yours,

Michael F.

=========

Michael314
Michael314AuthorCorrect answer
Inspiring
July 6, 2012

Peter,

Thanks for the lead.

I downloaded the zip file and all it contains is a DLL file, but no instructions.

What do I do to get this to work and how will I know it's working?

Yours,

Michael F

========

Bob_Niland
Community Expert
July 6, 2012

Yves,

Thanks, that worked. I did a quick test and it is easy to use from the CudSpan menu. The last option, Analyze markers of type in doc, didn't seem to do anything.

But it does what I need. Editing a page of text is sure easier than plowing through the file one marker at a time.

Yours,

Michael F

========


> Editing a page of text is sure easier than plowing through the file one marker at a time.

MIF mucking to change Marker Text is pretty easy too.

Suppose that you have many Index Markers with Marker Text "aether" that now need to be changed to "Higgs field":

  1. Save the .fm document as a MIF to .mif
  2. Open the .mif with a plain text editor (and a GUI editor may be easier than a command line editor, as the latter may require escaping the quotes).
  3. Change all <MText `aether'> to <MText `Higgs field'>
  4. Save the .mif, re-open in Frame.

Caution: this will change all matching Marker Text, not just Markers of type Index. Usually this is not a large risk.