Can you provide some more information about how you are creating your extra pages? Are you creating a new page-sequence with page master-name 'titlepage'? If so, I don't think there is enough information in the context of the header/footer content templates to distinguish between them. You might need to add a new fo:page-sequence-master with a different master-name, and use that for your extra pages. Then the test won't match on 'titlepage' and you should get headers and footers. You don't need to add new fo:simple-page-masters, you can just reuse the existing ones for titlepage but with a new master-name. Put the declaration in a template named 'user.pagemasters', and customize the template named 'select.user.pagemaster', as described here:

http://www.sagehill.net/docbookxsl/PageDesign.html

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


----- Original Message ----- From: "spr" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, February 02, 2008 11:38 AM
Subject: [docbook-apps] header & footer in custom title page



I have successfully added a custom page after the book.titlepage.
It is called readme.titlepage

Since I did not want headers & footers in the titlepage, i was not
generating header/footer content based on this condition.

     <xsl:when
       test  = "$pageclass = 'titlepage' and
                $gentext-key = 'book'    and
                $sequence = 'first'">
       <!-- No, book titlepages have no headers at all -->
     </xsl:when>

But the new page: readme.titlepage does not have a header.
I am unable to find suitable test to allow new page (recto & verso) fail in
the 'test' above.

Thanks,
~spr

--
View this message in context: http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15246374.html
Sent from the docbook apps mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to