I’ve just done something weird and the result is that the TOC shows many headings at page 0, then one on page 2 then a bunch on page 12, etc. This is wrong. I also notice that the “Page x of y” field I inserted in the header give the same page numbers. Beginning the same time this happened, working in the document became VERY slow and the status bar says it’s repaginating every time I page down or up.
I’ve recently made changes to the headers and footers of all sections, linked some, unlinked others and messed with the heading formats that are used in the document. BTW, they aren’t the default headings but are special ones that are in the template I’m using. I’ve also tried setting up the TOC to use outline levels but the same problem happens.
To add more weirdness, I just did something that made the numbers show up in the header, but not in the TOC. (I saved that version so I can go back to at least something that partially works) If I update the TOC manually, the numbers all go to 0 and the proper numbers that WERE on the pages become 0 also.