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 and footer on custom title page master


Hi Camille,
One solution is to move this decision process to a separate
template that is called by the header.table and footer.table
templates.  It has nothing to do with the layout of the tables,
and customizing its behavior would be much easier.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Camille Bégnis" <camille@neodoc.biz>
To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, February 16, 2006 5:02 AM
Subject: [docbook-apps] Header and footer on custom title page
master


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I succesfully implemented a custom title page master as
described in
> http://www.sagehill.net/docbookxsl/PageDesign.html
>
> However this results in fotters and headers showing on title
page.
>
> This is due to the following code in the footer.table and
header.table
> templates:
>
> - -------------------------------------------------------------
--------
> <!-- Really output a header? -->
> <xsl:choose>
>   <xsl:when test="$pageclass = 'titlepage' and $gentext-key =
'book'
>                   and $sequence='first'">
>     <!-- no, book titlepages have no headers at all -->
>   </xsl:when>
>   <xsl:when test="$sequence = 'blank' and
$headers.on.blank.pages = 0">
>     <!-- no output -->
>   </xsl:when>
>   <xsl:otherwise>
>     <xsl:copy-of select="$candidate"/>
>   </xsl:otherwise>
> </xsl:choose>
> - -------------------------------------------------------------
--------
>
> Indeed $pageclass='titlepage' won't match my custom master
> ('titlepage-custom').
> What would be the best way to solve this? Maybe providing a
parameter to
> customize the test?
>
> Waiting for your ideas,
>
> Camille.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>
iD8DBQFD9Hfqjv9P65BfOUMRAiiOAJ9J4/WTm1uSkGk0uOpfGH7NtLPKtQCgqnWT
> 4GFvCaL9mqk2m0O7FL8grI4=
> =fGQM
> -----END PGP SIGNATURE-----
>


-----------------------------------------------------------------
---------------


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