[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]