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
[email protected]


  ----- Original Message ----- 
  From: Isabel Hofherr 
  To: [email protected] 
  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

   

Reply via email to