← Prev in month ← Prev in thread

Header and footer on custom title page master

From
=?JRN-8859-1?P?Damille_C=F9gnis?=
Date
2006-02-16T13:01:46+00:00
ID
Thread
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-----
← Prev in month ← Prev in thread