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