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] Getting rid of a page number on titlepage-even in single-sided format


Hi,
There must be something else going on, because there are no page numbers in the footer of either the recto or verso titlepages for book.  When I process a book with the stock stylesheets, I get no page numbers on the second titlepage.  Do you have a custom page-master with a name that is not 'titlepage'?  Is that the front.cover you were discussing earlier?
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Tuesday, January 13, 2009 7:05 AM
Subject: [docbook-apps] Getting rid of a page number on titlepage-even in single-sided format

Hi folks!

When i try to remove a page number on titlepage-even (,in single-sided format it is also removed on the Part page.
I tried the following in my custom xsl:

<xsl:template name="footer.content"> 
  <xsl:param name="pageclass" select="''"/>
  <xsl:param name="sequence" select="''"/>
  <xsl:param name="position" select="''"/>
  <xsl:param name="gentext-key" select="''"/>
  <xsl:param name="element" select="''"/>
  <fo:block> 
    <xsl:choose>
      <xsl:when test="$double.sided = 0 and $position='center' and
        $pageclass ='titlepage'">
        <!-- nop -->
      </xsl:when>

      <xsl:when test="$double.sided = 0 and $position='center' and
        $pageclass ='titlepage' and $element='part'">
        <fo:page-number/>
      </xsl:when>
....

But it does nothing ;-(. Please, advise!

Thank you in advance!!!
Nancy




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]