]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support to mixed-block template for handling tables in
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 13:33:52 +0000 (13:33 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 13:33:52 +0000 (13:33 +0000)
mixed-blocks (e.g., as child of para) correctly.

xsl/manpages/utility.xsl

index 8fe7e5d67d620e3b7b43bf1cb339e7a8a9082be5..249efcbb092290baa2bd4f89b9c8b7780bca3da9 100644 (file)
                         self::simplelist[@type !='inline']|
                         self::segmentedlist|
                         self::caution|self::important|
-                        self::note|self::tip|self::warning)">
+                        self::note|self::tip|self::warning|
+                        self::table|self::informaltable)">
           <xsl:call-template name="mark.up.block.start"/>
           <xsl:apply-templates select="."/>
         </xsl:when>
                     self::address or
                     self::literallayout or
                     self::programlisting or
-                    self::screen
+                    self::screen or
+                    self::table or
+                    self::informaltable
                     ]
                     )
                     ">
                       preceding-sibling::important|
                       preceding-sibling::note|
                       preceding-sibling::tip|
-                      preceding-sibling::warning)">
+                      preceding-sibling::warning|
+                      preceding-sibling::table|
+                      preceding-sibling::informaltable
+                      )">
           <xsl:text>.RS</xsl:text>
           <xsl:if test="not($list-indent = '')">
             <xsl:text> </xsl:text>
                     important|
                     note|
                     tip|
-                    warning">
+                    warning|
+                    table|
+                    informaltable">
         <xsl:text>&#10;</xsl:text>
         <xsl:text>.RE</xsl:text>
       <xsl:text>&#10;</xsl:text>