Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can I mark one word and have all duplicate words included in book index automaticlly

Guest
Jul 12, 2011 Jul 12, 2011

I have FM10 and would like to mark key words that are used repeatedly in the book or document and have all duplicates of these words in the index automatically. Does anyone know if there is there a feature or easy procedure for this? Thanks Glenn

1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 12, 2011 Jul 12, 2011
  1. Save (in case the Change All has unintended side effects).
  2. Mark an instance of the word/phrase for indexing.

    I'd suggest inserting the marker, or moving the marker, to within the word, so that the marker gets selected (and also so that if the word starts with a Frame-inserted marker, the markers aren't on top of each other).
  3. Select the word/phrase, including the marker.
  4. Execute a Copy.
  5. Edit > Find/Change
    Find: Text: word/phrase
    Change: By Pasting
  6. Clone case
    [Change All]
Translate
Community Expert ,
Jul 12, 2011 Jul 12, 2011
  1. Save (in case the Change All has unintended side effects).
  2. Mark an instance of the word/phrase for indexing.

    I'd suggest inserting the marker, or moving the marker, to within the word, so that the marker gets selected (and also so that if the word starts with a Frame-inserted marker, the markers aren't on top of each other).
  3. Select the word/phrase, including the marker.
  4. Execute a Copy.
  5. Edit > Find/Change
    Find: Text: word/phrase
    Change: By Pasting
  6. Clone case
    [Change All]
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 13, 2011 Jul 13, 2011

> Change: By Pasting

This works well only if the instances of the target word/phrase are all the same paragraph format, and there are no character format overrides or named character formats applied. The pasting will otherwise results in at least a paragraph format override.

I was also impressed that it even worked. Pasting text containing markers sometimes does not. For example, pasting text with Xref markers within the same document result in the marker being dropped from the copy.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 13, 2011 Jul 13, 2011

Hey Error,

I found that out and it is a little quirky at times but the benefits' out way any of that. I definitely can live with it.

Thanks for all your help, you really find solutions that are feasible and work, not suggestions to use other products.   You helped me another time also. 

You are awesome. 

Glenn

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 13, 2011 Jul 13, 2011

I found that [pgf fmt override] out and it is a little quirky at times but the benefits' out way any of that.

Later FM versions may have more tools, and aftermarket solutions probably avoid the local override problem altogether, but in FM7, the following feature (which I've never used before) seems to provide at least a rigorous way of flagging all overrides.

In the document (.fm, not .book) file:

  1. Save the document in case this all goes very wrong.
  2. File > Utilities > Create and Apply Formats
  3. Vague dialog
    [Continue]
    There's nothing quicly found in FM7.1 Help about this, but what it appears to be doing is creating and cataloging format names for every unique instance of an override.
  4. The paragraph and character catalogs are now populated (perhaps polluted might be a more apt word) with new format names like:
    Body1
    Body2
    URL1
    Charfmt1 ... CharFmt14
    (The test file didn't have any format named "CharFmt", so I presume this is tagging a bare character override.)
  5. Edit > Find by tag and reset them (or Global Update from the real definition to each).

The readership may be able to to confirm or contradict the above.

It won't be a fast process. An aftermarket tool might have real appeal.

The "obvious" way of updating all pgf fmts to catalog didn't work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2011 Jul 12, 2011

I think you're looking at a Framescript or plug-in (like IXGen maybe?) do that for you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 12, 2011 Jul 12, 2011

Using the keywords tools in IXGen would be the best way to go.... by Frank Stearns.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 19, 2011 Jul 19, 2011
LATEST

Hi Glenn,

as far as I know the Plug-In "Index Markers by Configuration" might solve your problem. It allows you to automatically enter index markers in a document. The information about the context (find string and parameters) is located in a configuration file. For the document, you can either create a new configuration file or edit the existing one. Then you can enter the desired Index Markers. Hope this helps!

- Maike

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines