OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] header & footer in custom title page

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:


Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "spr" <spremi@yahoo.com>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]