Instead of working with a Table of Content of the Layout menu create one based on cross references.
- use a paragraph which is only used on the chapter page, not the headline itself.
- Make it a TOC Reference style.
- Set up a character style with NONE as color.
- Set up the TOC entry style with a midd-tabulator, nested style, in step 3 created style up to the end of the tabulator character.
1 person found this helpful
I see no problem doing this.
But it would require a hard return instead of a paragraph return after the number of the page.
And you'll need a character style for your page numbers.
TOC definitions ( sorry, all in German from my German InDesign CC 2017.1 ):
The page number comes before the paragraph with the headline.
And the character that is parting the page number from the text is \n .
A hard return ( end of line marker ).