e9144b
diff -ruNp docbook-xsl-1.74.0.orig/fo/lists.xsl docbook-xsl-1.74.0/fo/lists.xsl
e9144b
--- docbook-xsl-1.74.0.orig/fo/lists.xsl	2008-08-06 13:32:46.000000000 +0200
e9144b
+++ docbook-xsl-1.74.0/fo/lists.xsl	2008-08-06 13:41:27.000000000 +0200
e9144b
@@ -248,9 +248,17 @@
e9144b
       </fo:block>
e9144b
     </fo:list-item-label>
e9144b
     <fo:list-item-body start-indent="body-start()">
e9144b
-      <fo:block>
e9144b
-        <xsl:apply-templates/>
e9144b
-      </fo:block>
e9144b
+      <xsl:choose>
e9144b
+        
e9144b
+        <xsl:when test="$passivetex.extensions = '1'">
e9144b
+          <xsl:apply-templates/>
e9144b
+        </xsl:when>
e9144b
+        <xsl:otherwise>
e9144b
+          <fo:block>
e9144b
+            <xsl:apply-templates/>
e9144b
+          </fo:block>
e9144b
+        </xsl:otherwise>
e9144b
+      </xsl:choose>
e9144b
     </fo:list-item-body>
e9144b
   </xsl:variable>
e9144b
 
e9144b
@@ -446,10 +454,18 @@
e9144b
       </fo:block>
e9144b
     </fo:list-item-label>
e9144b
     <fo:list-item-body start-indent="body-start()">
e9144b
-      <fo:block>
e9144b
-        <xsl:apply-templates select="listitem"/>
e9144b
-      </fo:block>
e9144b
-    </fo:list-item-body>
e9144b
+      <xsl:choose>
e9144b
+        
e9144b
+        <xsl:when test="$passivetex.extensions = '1'">
e9144b
+          <xsl:apply-templates select="listitem"/>
e9144b
+        </xsl:when>
e9144b
+        <xsl:otherwise>
e9144b
+          <fo:block>
e9144b
+            <xsl:apply-templates select="listitem"/>
e9144b
+          </fo:block>
e9144b
+        </xsl:otherwise>
e9144b
+      </xsl:choose>
e9144b
+     </fo:list-item-body>
e9144b
   </xsl:variable>
e9144b
 
e9144b
   <xsl:choose>
e9144b
@@ -925,9 +941,17 @@
e9144b
       </fo:block>
e9144b
     </fo:list-item-label>
e9144b
     <fo:list-item-body start-indent="body-start()">
e9144b
-      <fo:block>
e9144b
-        <xsl:apply-templates/>
e9144b
-      </fo:block>
e9144b
+      <xsl:choose>
e9144b
+        
e9144b
+        <xsl:when test="$passivetex.extensions = '1'">
e9144b
+          <xsl:apply-templates/>
e9144b
+        </xsl:when>
e9144b
+        <xsl:otherwise>
e9144b
+          <fo:block>
e9144b
+            <xsl:apply-templates/>
e9144b
+          </fo:block>
e9144b
+        </xsl:otherwise>
e9144b
+      </xsl:choose>
e9144b
     </fo:list-item-body>
e9144b
   </fo:list-item>
e9144b
 </xsl:template>
e9144b
@@ -951,9 +975,17 @@
e9144b
       </fo:block>
e9144b
     </fo:list-item-label>
e9144b
     <fo:list-item-body start-indent="body-start()">
e9144b
-      <fo:block>
e9144b
-        <xsl:apply-templates/>
e9144b
-      </fo:block>
e9144b
+      <xsl:choose>
e9144b
+        
e9144b
+        <xsl:when test="$passivetex.extensions = '1'">
e9144b
+          <xsl:apply-templates/>
e9144b
+        </xsl:when>
e9144b
+        <xsl:otherwise>
e9144b
+          <fo:block>
e9144b
+            <xsl:apply-templates/>
e9144b
+          </fo:block>
e9144b
+        </xsl:otherwise>
e9144b
+      </xsl:choose>
e9144b
     </fo:list-item-body>
e9144b
   </fo:list-item>
e9144b
 </xsl:template>
e9144b
@@ -1141,9 +1173,17 @@
e9144b
       </fo:block>
e9144b
     </fo:list-item-label>
e9144b
     <fo:list-item-body start-indent="body-start()">
e9144b
-      <fo:block>
e9144b
-        <xsl:apply-templates/>
e9144b
-      </fo:block>
e9144b
+      <xsl:choose>
e9144b
+        
e9144b
+        <xsl:when test="$passivetex.extensions = '1'">
e9144b
+          <xsl:apply-templates/>
e9144b
+        </xsl:when>
e9144b
+        <xsl:otherwise>
e9144b
+          <fo:block>
e9144b
+            <xsl:apply-templates/>
e9144b
+          </fo:block>
e9144b
+        </xsl:otherwise>
e9144b
+      </xsl:choose>
e9144b
     </fo:list-item-body>
e9144b
   </fo:list-item>
e9144b
 </xsl:template>