Hi Stefan,
I had to do something like that for a client. I don't think it is possible if you
just use a break-before="page" instruction on section. The page header is part of the
static content, and is tied to the page-sequence in terms of "first", "odd", etc. So
I customized the stylesheets to put each top-level section in its own page-sequence,
so that I could customize the header.content template for $sequence = 'first' for such
section page-sequences.
There were quite a few details: a new page-master for such sections, customizing
templates named initial.page.number, force.page.count, customizing the chapter and
appendix templates to exclude section from its page-sequence as well as trigger
processing of sections in their own page-sequence (after the chapter sequence is
closed), and customizing section to make a new page-sequence (by calling the utility
template named page.sequence).
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: "Stefan Seefeld" <[email protected]>
To: "DocBook Apps Mailing List" <[email protected]>
Sent: Saturday, August 27, 2011 1:58 PM
Subject: [docbook-apps] suppressing header (rule and text)
Hello,
is it possible to suppress page headers (both, rule as well as text) if
the page starts with a new section ?
I have looked at the 'head.sep.rule' template, but couldn't figure out a
way to determine whether the page starts with a section title.
Thanks,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]