On 20.2.2012 17:00, Hussein Shafie wrote: > Note that this specific enhancement has already been requested by a user > and that we planned to implement it for next release. This patch is > especially useful not only because it is well-coded, but also because it > somewhat clarifies the RFE made by our user (which also had special > needs for the *first* page of a chapter).
Yep, page headers/footers can be very complex. Apart from first/odd/even
there are sometimes requirements to have special header/footer for blank
pages -- if page is inserted at the end of the page sequence to produce
even number of pages.
Also sometimes different headers/footers are needed for index and ToC,
and...
If you want to be prepared for majority of possible requests you can
look inside DocBook XSL stylesheets -- but code for dealing with
headers/footers is one of the most complex and not easy to grasp :-(
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

