OK. I can live with the fact that the pages "from" "to" (Section 1: 2-10) are not given.
What I don't understand is how do I get the heading under the sections? Unfortunately, I don't get along with your description. Sorry (My English is not very good and I use google translation.)
It also doesn't really work that the respective section is only output once, namely at the respective beginning of the section. All formatted sections are output through the paragraph formats. Hence the weird TOC, which is colorfully diced from headings and sections.
Attached is the AFpub, with which I test. Maybe it will help.
--
OK. Ich kann damit leben, dass die Seiten "von" "bis" (Sektion 1: 2-10) nicht angegeben werden.
Was ich nicht verstehe ist, wie bekomme ich die Überschrift unter die Sektionen? Da komme ich mit ihrer Beschreibung leider nicht klar. Sorry. (Mein Englisch ist nicht sehr gut und nutze die Google Übersetzung.)
Es funktioniert auch nicht so recht, dass die jeweilige Sektion nur einmal ausgegeben wird, und zwar am jeweiligen Beginn der Sektion. Durch die Absatzformate werden alle formatierten Sektionen ausgebeben. Daher das komische TOC, das bunt gewürfelt aus Überschriften und Sectionen ist.
Im Anhang ist die AFpub, mit der ich test. Vielleicht hilft sie weiter.
TOC.afpub