Copy link to clipboard
Copied
Is there a way to generate a table of contents that includes the range of pages, as opposed to just the page the section starts? Example:
Section 1... 1-3
Section 2 ... 4-7
Section 3 .... 8
Section 4 .... 9-15
Copy link to clipboard
Copied
You could create an index and use it as a TOC.
Copy link to clipboard
Copied
This may or may not help you...
Back around CS5 days I used to do an annual directory for local antique dealers that included an index to advertisers. Rather than a real index this was a TOC, and it often had more than one entry for some advertisers. Peter Kahrel was kind enough to write a GREP query that I could run at the end that consolidated the duplicates onto a single line and added commas between: ^(.+ )([\d, ]+)\r\1([\d, ]+)$
I expect this could be modified to show page ranges if you can generate a TOC entry for each page.
Copy link to clipboard
Copied
I realized I forgot to include the change string: $1$2, $3
Copy link to clipboard
Copied
Excellent advice from both @Peter Spier and @Creamer Training
You could also do this by building cross references instead of using the TOC feature.
You'll need to sign up to see the article
https://creativepro.com/creating-cross-references-with-a-page-range-in-indesign/