Forum How do I...?

running header/footer on blank pages

somnath
My doc structure is
<document>
  <chapter>
  <chapter>
</document>

To generate different header/footer for the first page for above structure, I'm using:

document > chapter { page: chapter; prince-page-group: start}
(and obviously the @page: first, :left & :right rules with header/footer declarations)


Apart from above I also use "page-break-before: right" for each chapter. This sometimes depending upon the text extend of a chapter generates a blank page before a new chapter to start it on a recto page. My problem is that the blank page generated when a chapter is set to start at recto page should not carry any running headers or footer on it. It should be completely blank. Presently it carries the @page:left header and footer properties.

Please guide me through this.

Thanks.
Somnath
oliof
I guess this would need a :last page selector, which doesn't seem to exist right now…
mikeday
There is the :blank page class selector for matching blank pages inserted by the page-break-before/after properties.
oliof
Cool. You have a documentation bug then (-: :blank is not mentioned in the Page Selectors part of the online docs.
mikeday
Good point! :)
oliof
works as advertised. Thanks.