I created and generated a Table of Contents, and am having a weird issue. It's a 19-page document, and Table of Contents is set to display Headings 1 and 2. Everything went fine, except that on one page the Heading 1 on top of the page displays in the Table of Contents below the Heading 1 level below it - i.e., they're in the wrong order!
So, on the page its -
But on the Table of Contents it returns -
Any ideas about why it might be doing this?
It can't be! If "9. Text" and "10. Text" use the same list for auto-numbering and "10" is below "9" on the same page, Indesign can't generate such, unless you don't copy the numbering to the TOC and instead add numbering via TOC style. Check your TOC style settings.
Are 9 and 10 page numbers, or numbered paragraphs?
TOC finds paragraphs by psotion on the page, so things that are more left get picked up before things that are less left, if that makes sense.
That did the trick! The numbers are just text - there's no list numbering. But I had the left edge of the #10 text box aligned further left than the #9 text box, and now the TOC behaves like it should!