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

Index generated : problem in the order of the pages

New Here ,
Jul 04, 2021 Jul 04, 2021

Hello,

Thank you for this forum; I hope you can help me and thank you very much.


I have a problem with the order of the pages referenced in a generated index.
I have composed a 340 page book with many index marks; the index generation works correctly, but the pages are not in the order of the book.
This is an example (the problem is the same in almost all of de 728 index entries) :

Capture.JPGexpand image

It drives me crazy...
Thank you very much in advance.
Jonas.

TOPICS
Bug
671
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 04, 2021 Jul 04, 2021

Hi @CM PU Septentrion ,

 

I've looked and could not find a satifactory resource for you.

 

Consider raising it with the InDesign team here: https://indesign.uservoice.com

 

Let us know how you go.

mj

 

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 04, 2021 Jul 04, 2021

I've never see anything like this. You could try updating the preview (use the highlighted button in the screenshot), though it probably doesn't make things better.

PeterKahrel_0-1625405278466.pngexpand image

 

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 04, 2021 Jul 04, 2021

@CM PU Septentrion That is strange. Is it only happening in this document? Does it have to do with the way or order you added index entries? Or perhaps the way your book is organized by numbering and section tags? 

 

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 05, 2021 Jul 05, 2021

Hi Jonas,

very strange indeed.

Hm… Is something odd with the naming of the pages in your documents?

Will it work if you do a new book file and create the index anew?

 

What's your exact version of InDesign?
What's the operating system?

 

Regards,
Uwe Laubender

( ACP )

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
New Here ,
Jul 05, 2021 Jul 05, 2021

Hello everyone,
Thank you very much for all your answers!
@Peter Kahrel, the update does not change anything. @J E L, it's only happening in this document indeed.
It is an XML import where the index markers are tagged; we are a professional publisher and everything works fine for each of our books. The method used has not changed...
@Laubender, I'll try your proposal, thank you very much; I'll get back to you as soon as possible.
I am using the CC 21 version on a Windows 10 (64 bits), Intel Core i7.
Kind regards,
Jonas.


Translated with www.DeepL.com/Translator (free version)

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
Guide ,
Jul 05, 2021 Jul 05, 2021

Have you ever experimented with alternative layouts?

This single line script gives a list of all alternateLayout settings of all sections. Anything special about the output?

 

alert(app.activeDocument.sections.everyItem().alternateLayout.toSource());

 

Repeat the test with

 

alert(app.activeDocument.sections.everyItem().alternateLayoutLength.toSource());

 

Working on a copy of that document:

Do you see a pattern when you add a prefix to all sections?

What happens when you remove all but the first sections?

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 11, 2021 Jul 11, 2021

I wrote earlier that I had never see this (pages out of order), but today I had a document that had the same problem. In this document it turned out that someone had set the page numbereing wrong. The first page was numbered 21, then after page number 78, the document continued with p. 1.

 

This shows that InDesign doesn't sort the page numbers, it simply collects them sequentially, grabbing page numbers along the way.

 

So check if in your document all sections start with the correct page number.

 

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 11, 2021 Jul 11, 2021

Have you checked the order of the text flow? Is it possible pages were moved around in the Pages panel but the story is still flowed in the original order? 

To check it, turn on View > Extras > Show Text Threads, select a frame with the Selection tool, zoom out, and note the order of the thread indicators. 

David Creamer: Community Expert (ACI and ACE 1995-2023)
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
Engaged ,
Oct 23, 2023 Oct 23, 2023

I had a very similar problem yesterday with an InDesign book ( = INDB, which contains about 40 individual INDD documents). I checked the pagination, but it was all correct. In the book panel drop-down menu, I clicked "Update Numbering" > "Update All Numbers", and then ran the "Preflight Book…" > "Scope: Entire Book". After that, I re-generated the Index and it seemed to fix the page numbers problem.

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 ,
Apr 10, 2025 Apr 10, 2025

Just had this issue with an InDesign book - updating numbering and running a preflight check didn't work, but opening each document and updating the index preview did. I'd moved a lot of pages around, so I'm guessing this was throwing it off somehow.

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 ,
Apr 10, 2025 Apr 10, 2025

So creating a book did not work for you @Querty ?

 

Tnx for sharing your solution

 

mj

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 ,
Apr 10, 2025 Apr 10, 2025

I don't think the book had anything to do with the issue. When I was creating the documents within the book, I moved pages around after indexing, which probably confused the Index tool, hence updating the preview fixed it, as it forced it to update the location of all the references to their current position.

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 ,
Apr 10, 2025 Apr 10, 2025
quote

I don't think the book had anything to do with the issue. When I was creating the documents within the book, I moved pages around after indexing, which probably confused the Index tool, hence updating the preview fixed it, as it forced it to update the location of all the references to their current position.


By Querty

 

So the "global" index was in a separate INDD document?

 

Looks like InDesign took last state of all index entries - without rebuilding index from scratch in every INDD file that's part of the Book? 

 

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 ,
Apr 10, 2025 Apr 10, 2025

Yes, the global index was a separate document within the book.

You're probably right on how it indexes, just collating the indexes for each document as opposed to checking each one. If it refreshed each doc's index it would probably take a lot longer to generate, but it would prevent this sort of issue happening.

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 ,
Apr 10, 2025 Apr 10, 2025

@Querty

 

Do you work on Windows and have a lot of indexes to update?

 

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 ,
Apr 10, 2025 Apr 10, 2025
LATEST

I work on Windows, but I make the indexes from scratch using the tool since they're different every time (I'm making catalogues, so brands and products come and go and move around a lot). I usually add entries as I make the pages though, so it's pretty quick.

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