[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] header & footer in custom title page
This line indicates you are using the 'titlepage' master name for your extra page: <xsl:with-param name = "master-reference" select = "$titlepage-master-reference" /> That is why your new page sequence behaves like the front title pages. My mail described how to set up an alternative master name to use on those pages, then you can customize them to behave differently. In this case, just naming the master other than 'titlepage' will recover the headers and footers. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "spr" <spremi@yahoo.com> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, February 05, 2008 3:12 AM Subject: Re: [docbook-apps] header & footer in custom title page > > Bob, > > 1) I create extra page by custom spec based on > "fo/titlepage.templates.xml" > > <t:titlepage > t:element = "readme" > t:wrapper = "fo:block"> > ... > ... > </t:titlepage> > > 2) Also updated the sequence to include: > > <xsl:call-template > name = "page.sequence"> > > <xsl:with-param > name = "master-reference" > select = "$titlepage-master-reference" /> > > <xsl:with-param > name = "content"> > <fo:block id="r-{$id}"> > <xsl:call-template > name = "readme.titlepage" /> > </fo:block> > </xsl:with-param> > > </xsl:call-template> > > ~spr > > > Bob Stayton wrote: >> >> 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 >> bobs@sagehill.net >> >> > > -- > View this message in context: > http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15287935.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]