Next in thread → Next in month →

Re: [docbook-apps] Getting rid of a page number on titlepage-even in single-sided format

From
Bob Stayton <>
Date
2009-01-16T19:29:54+00:00
ID
008101c97810$cc608fe0$6400a8c0@pazu
Thread
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


 

 

  
----- Original Message ----- 

  
From: 
  Nancy 
  Brandt 

  
To:  
  

  
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
Next in thread → Next in month →