I am working on a Table of Contents for a technical manual.
Most of the headings span multiple pages.
Ordinarily if I was setting up the TOC manually I would just list it:
Output Torque Imperial . . . . . . 16 - 27
Output Torque Metric . . . . . . . . 28 - 45
Is there a way to get Indesign to do this for me using the Table of Contents function
Nothing like this is built into the program.
You could pay a scripter to write a script to automate it.