Hi everyone,
Maybe one of you can help me.
I have a master page called "Chapter", in which a text frame is positioned on the left and right side. The field "Section Name" is inserted in both text frames. It is formatted with a text style "Chapter". The table of contents is created on the basis of this text style "Chapter".
If I now start a new chapter in the text, I drag the master page "Chapter" onto the page, insert a new section with the chapter name from this page. This automatically names the chapter. Likewise, the field "Section Name" appears in the left header of all pages. The master page is therefore two-sided, as the page numbering in the header is then positioned correctly (on the outside of the page). If I make an explicit master for the beginning of the chapter on a left and a right page, I have to reformat each time pages are added.
So far so good. Everything works fine, but: When I now create a table of contents, the chapters are listed on two pages each.
My guess: the master page "Chapters" contains the text frames of both pages in the background layers. This means that the field "Section Name" is also present on the left and right. In fact, only the page that is to be displayed is visible.
At the moment, I insert the "Section Name" field manually after the master page has been assigned. This means that the field is actually only included on the desired pages and is also displayed correctly in the table of contents.
Is this a mistake or have I overlooked something? Thanks for the help.
I added an afpub-file, which shows my problem- just in case ...
example-ToC.afpub