]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support for pgwide on informal objects.
authorBob Stayton <bobs@sagehill.net>
Fri, 24 Apr 2009 16:20:18 +0000 (16:20 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 24 Apr 2009 16:20:18 +0000 (16:20 +0000)
xsl/fo/formal.xsl

index c9d9ef3034606b614c1e5fca34e7c2b06154defe..5935ae07512f830b70b0862ad27c2692a085c33e 100644 (file)
     <xsl:call-template name="pi.dbfo_keep-together"/>
   </xsl:variable>
 
-  <!-- These don't have a pgwide attribute, so may use a PI -->
+  <!-- Some don't have a pgwide attribute, so may use a PI -->
   <xsl:variable name="pgwide.pi">
     <xsl:call-template name="pi.dbfo_pgwide"/>
   </xsl:variable>
 
   <xsl:variable name="pgwide">
     <xsl:choose>
+      <xsl:when test="@pgwide">
+        <xsl:value-of select="@pgwide"/>
+      </xsl:when>
       <xsl:when test="$pgwide.pi">
         <xsl:value-of select="$pgwide.pi"/>
       </xsl:when>