patches/docbook-style-xsl-05-list-item-body.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18241 71030b8677ec
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18241
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     1
diff -ruNp docbook-xsl-1.74.0.orig/fo/lists.xsl docbook-xsl-1.74.0/fo/lists.xsl
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     2
--- docbook-xsl-1.74.0.orig/fo/lists.xsl	2008-08-06 13:32:46.000000000 +0200
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     3
+++ docbook-xsl-1.74.0/fo/lists.xsl	2008-08-06 13:41:27.000000000 +0200
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     4
@@ -248,9 +248,17 @@
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     5
       </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     6
     </fo:list-item-label>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     7
     <fo:list-item-body start-indent="body-start()">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     8
-      <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     9
-        <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    10
-      </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    11
+      <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    12
+        <!-- * work around broken passivetex list-item-body rendering -->
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    13
+        <xsl:when test="$passivetex.extensions = '1'">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    14
+          <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    15
+        </xsl:when>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    16
+        <xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    17
+          <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    18
+            <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    19
+          </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    20
+        </xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    21
+      </xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    22
     </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    23
   </xsl:variable>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    24
 
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    25
@@ -446,10 +454,18 @@
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    26
       </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    27
     </fo:list-item-label>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    28
     <fo:list-item-body start-indent="body-start()">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    29
-      <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    30
-        <xsl:apply-templates select="listitem"/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    31
-      </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    32
-    </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    33
+      <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    34
+        <!-- * work around broken passivetex list-item-body rendering -->
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    35
+        <xsl:when test="$passivetex.extensions = '1'">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    36
+          <xsl:apply-templates select="listitem"/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    37
+        </xsl:when>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    38
+        <xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    39
+          <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    40
+            <xsl:apply-templates select="listitem"/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    41
+          </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    42
+        </xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    43
+      </xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    44
+     </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    45
   </xsl:variable>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    46
 
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    47
   <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    48
@@ -925,9 +941,17 @@
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    49
       </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    50
     </fo:list-item-label>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    51
     <fo:list-item-body start-indent="body-start()">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    52
-      <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    53
-        <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    54
-      </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    55
+      <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    56
+        <!-- * work around broken passivetex list-item-body rendering -->
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    57
+        <xsl:when test="$passivetex.extensions = '1'">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    58
+          <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    59
+        </xsl:when>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    60
+        <xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    61
+          <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    62
+            <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    63
+          </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    64
+        </xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    65
+      </xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    66
     </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    67
   </fo:list-item>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    68
 </xsl:template>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    69
@@ -951,9 +975,17 @@
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    70
       </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    71
     </fo:list-item-label>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    72
     <fo:list-item-body start-indent="body-start()">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    73
-      <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    74
-        <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    75
-      </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    76
+      <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    77
+        <!-- * work around broken passivetex list-item-body rendering -->
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    78
+        <xsl:when test="$passivetex.extensions = '1'">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    79
+          <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    80
+        </xsl:when>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    81
+        <xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    82
+          <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    83
+            <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    84
+          </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    85
+        </xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    86
+      </xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    87
     </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    88
   </fo:list-item>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    89
 </xsl:template>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    90
@@ -1141,9 +1173,17 @@
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    91
       </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    92
     </fo:list-item-label>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    93
     <fo:list-item-body start-indent="body-start()">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    94
-      <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    95
-        <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    96
-      </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    97
+      <xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    98
+        <!-- * work around broken passivetex list-item-body rendering -->
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    99
+        <xsl:when test="$passivetex.extensions = '1'">
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   100
+          <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   101
+        </xsl:when>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   102
+        <xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   103
+          <fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   104
+            <xsl:apply-templates/>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   105
+          </fo:block>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   106
+        </xsl:otherwise>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   107
+      </xsl:choose>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   108
     </fo:list-item-body>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   109
   </fo:list-item>
71030b8677ec 2010-07-15 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
   110
 </xsl:template>