]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed span="all" to span="inherit" when pgwide=1 in
authorBob Stayton <bobs@sagehill.net>
Thu, 14 Aug 2003 21:31:13 +0000 (21:31 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 14 Aug 2003 21:31:13 +0000 (21:31 +0000)
component.title because span attribute must be on direct
child of fo:flow.  This eliminates the error message.

xsl/fo/component.xsl

index 67a9903ab9e76c0d03a5aff3bd0349cf558bd4aa..a4170a0f36b59aa0896628a1859ab6f8041e775d 100644 (file)
@@ -47,7 +47,8 @@
             space-before.maximum="{$body.font.master * 1.2}pt"
             hyphenate="false">
     <xsl:if test="$pagewide != 0">
-      <xsl:attribute name="span">all</xsl:attribute>
+      <!-- Doesn't work to use 'all' here since not a child of fo:flow -->
+      <xsl:attribute name="span">inherit</xsl:attribute>
     </xsl:if>
     <xsl:attribute name="hyphenation-character">
       <xsl:call-template name="gentext">