From 9754317a14c4e1753a89907fb88a5f130720b3f7 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 19 Jun 2007 13:33:52 +0000 Subject: [PATCH] Added support to mixed-block template for handling tables in mixed-blocks (e.g., as child of para) correctly. --- xsl/manpages/utility.xsl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/xsl/manpages/utility.xsl b/xsl/manpages/utility.xsl index 8fe7e5d67..249efcbb0 100644 --- a/xsl/manpages/utility.xsl +++ b/xsl/manpages/utility.xsl @@ -184,7 +184,8 @@ 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)"> @@ -217,7 +218,9 @@ self::address or self::literallayout or self::programlisting or - self::screen + self::screen or + self::table or + self::informaltable ] ) "> @@ -283,7 +286,10 @@ preceding-sibling::important| preceding-sibling::note| preceding-sibling::tip| - preceding-sibling::warning)"> + preceding-sibling::warning| + preceding-sibling::table| + preceding-sibling::informaltable + )"> .RS @@ -319,7 +325,9 @@ important| note| tip| - warning"> + warning| + table| + informaltable"> .RE -- 2.40.0