Next in thread → Next in month →

Re: [docbook-apps] Suppressing blank pages: how to realize consecutive page numbering?

From
"Cob Rtayton"
Date
2009-07-20T15:34:34+00:00
ID
002301ca094f$91754ad0$6400a8c0@pazu
Thread
Re: [docbook-apps] Suppressing blank pages: how to realize consecutive page numbering?
Hi,

You also need to customize the template named 
'initial.page.number' so the value is 'auto' instead of the default 'auto-odd' 
when $double.sided != 0.  This message from the archive provides 
details:

 

http://lists.oasis-open.org/archives/docbook-apps/200903/msg00168.html

 

Bob Stayton
Sagehill Enterprises


 

 

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

  
From: 
  Isabel Hofherr 

  
To:  
  

  
Sent: Monday, July 20, 2009 3:58 AM

  
Subject: [docbook-apps] Suppressing blank 
  pages: how to realize consecutive page numbering?

  

  

  
 

  
Hi,

  
 

  
now I face the problem that our standards 
  demand to delete blank pages in PDF output.

  
 

  
I could manage it by using the following 
  command:

  
 

  
 <xsl:template 
  name="force.page.count">

  
                
    <xsl:param name="element" 
  select="local-name(.)"/>

  
                
    <xsl:param name="master-reference" 
  select="''"/>

  
 

  
                
    <xsl:choose>

  
                               
  <!-- double-sided output -->

  
                               
  <xsl:when test="$double.sided != 0">no-force</xsl:when>

  
                               
  <!-- single-sided output -->

  
                               
  <xsl:otherwise>no-force</xsl:otherwise>

  
                
    </xsl:choose>

  
                
  </xsl:template>

  
 

  
The blank pages are gone, but now the page 
  numbering is not consecutive – the page numbers of the deleted blank pages are 
  skipped over….

  
 

  
What’s the best way to solve this problem? 
  

  
 

  
 

  
Thanks

  
Isabel Hofherr
Next in thread → Next in month →