Next in thread → Next in month →

Re: [docbook-apps] Header and footer on custom title page master

From
"Cob Rtayton"
Date
2006-02-16T17:18:24+00:00
ID
009401c6331d$1829d260$6400a8c0@toshiro
Thread
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


----- Original Message ----- 
From: "Camille B嶲nis" <>
To: "DocBook Apps" <>
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:

> For additional commands, e-mail:
Next in thread → Next in month →