]> granicus.if.org Git - docbook-dsssl/commitdiff
Turn off blank-body for fop1.extensions too since fop 0.92
authorBob Stayton <bobs@sagehill.net>
Sun, 20 Aug 2006 14:33:27 +0000 (14:33 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 20 Aug 2006 14:33:27 +0000 (14:33 +0000)
does not support it either.

xsl/fo/pagesetup.xsl

index b14d2a923764ebaedea4afc79d38bb394d4b60c1..1c8c888e07d4e38db3ed1a532d2d0e9e93983a28 100644 (file)
@@ -72,7 +72,7 @@
       <fo:region-body display-align="center"
                       margin-bottom="{$body.margin.bottom}"
                       margin-top="{$body.margin.top}">
-        <xsl:if test="$fop.extensions = 0">
+        <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
           <xsl:attribute name="region-name">blank-body</xsl:attribute>
         </xsl:if>
       </fo:region-body>
 
   <xsl:call-template name="footnote-separator"/>
 
-  <xsl:if test="$fop.extensions = 0">
+  <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
     <xsl:call-template name="blank.page.content"/>
   </xsl:if>
 </xsl:template>