PD4ML allows to define page-specific headers/footers (scope attribute of ):
– based on a page number,
– depending if a page even or odd,
– and allows to suppress header/footer for the last page.

It is not possible to define a scope like “$[total]-3” etc.

On the other hand it is possible to define content-flow specific headers/footers.

For example:

HTML content

New page footer, impacts pages follow the next page break. $[page] of $[total]

New page with the new page footer, defined above

HTML content