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

Index generation problem

Explorer ,
Jan 16, 2017 Jan 16, 2017

Hi,

when generating an index InDesign always writes only one page number for multiple entries on the same page. This is what is normally expected and wanted. But if page numbers have a special formatting, say bold or italics, these should be written to the index in addition to other entries on the same page.

Example:

Index markers in index panel:

Keidanz, Hermann 4 -> Number Style Override, character style: italic

Keidanz, Hermann 4

Keidanz, Hermann 9

Keidanz, Hermann 19 -> Number Style Override, character style: bold

Keidanz, Hermann 25 -> Number Style Override, character style: bold

Generated Index:

Keidanz, Hermann, 4, 9, 19, 25

Correct Index would be:

Keidanz, Hermann, 4, 4, 9, 19, 25

Does there exist a scripting solution to prevent this failure?

Best regards,

Ulrich

TOPICS
Scripting
979
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 ,
Jan 16, 2017 Jan 16, 2017

Why not post this in the Scripting forum for InDesign?

Mike Witherell
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
Adobe Employee ,
Jan 24, 2017 Jan 24, 2017

Moving discussion to InDesign Scripting

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
LEGEND ,
Feb 01, 2017 Feb 01, 2017

Hi,

Doable after Index generation with a script!

(^/)

[Can I have the "10-points" for this "correct answer"? Thanks!]

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
Explorer ,
Feb 02, 2017 Feb 02, 2017

How should this be possible after index generation? When the index is generated the first entry in my example had been deleted.

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
LEGEND ,
Feb 02, 2017 Feb 02, 2017
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
Explorer ,
Feb 02, 2017 Feb 02, 2017

First I still don't understand you!

After index generation the text reads:

     Keidanz, Hermann, 4, 9, 19, 25

How can a script which is applied to this text know that there was another entry for page 4 -- but which was discarded during index generation -- which should be formatted according to a character style?

Second How could your knowledge solve my problem if you keep it secret?

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
LEGEND ,
Feb 02, 2017 Feb 02, 2017
LATEST

First, all you need for making this other "page 4" entry "visible in the Index list" is in the topic creation panel!

Secondly, what you say is false: in my sample, the entries haven't been discarded during the index generation! [see first point]

Thirdly, I've not said I'll fix your problem! I've only said it's doable by script! [read post#3]. That means for you that you can pay someone* for that if you want because I've studied that point and I know it's doable [ * I don't talk about me, I'm totally newbie in Javascript! ].

Fourthly, you've posted your question 2 weeks ago without getting answers! So, keep cool! [and maybe a "Hi" could be nice! …]

(^/) 

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