Set different footers for sections of a document
I need to have different footers for each chapter in my document. I read something about page groups but could not find an example of how to use them. Do I need page groups or is there a different way of doing this?
Thanks in advance
Silvio
Not necessarily, you could just flow a different block to the header at the beginning of each chapter, or if you are using string-set, change the string value at the beginning of each chapter.
Hello Mike,
Thanks, that sounds promising. How do I flow a block to the header/footer? Is that a CSS style I can assign to an HTML element?
Yes, try something like this:
@page {
@top { content: flow(header) }
}
h1 { flow: static(header) }
Works like a charm. Thank you very much.