Hello
My document is structured in nested sections (three or four levels of nesting).
A section can span several pages.
In order to help the reader to locate himself in the document, I intend to remind on each page the title of the current section.
But I want to increment the callback on each new page.
Example :
page 35: start of the section
page 36: continuation of the section
page 37: continuation of the section
page 38: end of the section and start of the next one
What I want to get:
page 35: Title of the section (1)
page 36: Title of the section (2)
page 37: Title of the section (3)
page 38: Title of the section (4)
Title of the new section (1)
How to obtain this structure?
In other words, can a new page reset or increment a counter?
Thank you in advance for your help.
Boris
PS : I'm a beginner with Prince.
My document is structured in nested sections (three or four levels of nesting).
A section can span several pages.
In order to help the reader to locate himself in the document, I intend to remind on each page the title of the current section.
But I want to increment the callback on each new page.
Example :
page 35: start of the section
page 36: continuation of the section
page 37: continuation of the section
page 38: end of the section and start of the next one
What I want to get:
page 35: Title of the section (1)
page 36: Title of the section (2)
page 37: Title of the section (3)
page 38: Title of the section (4)
Title of the new section (1)
How to obtain this structure?
In other words, can a new page reset or increment a counter?
Thank you in advance for your help.
Boris
PS : I'm a beginner with Prince.