9361
|
1 |
--- docbook-xsl-1.69.1/fo/lists.xsl.orig 2006-01-19 02:36:22.000000000 -0800
|
|
2 |
+++ docbook-xsl-1.69.1/fo/lists.xsl 2006-01-19 02:34:54.000000000 -0800
|
|
3 |
@@ -125,9 +130,18 @@
|
|
4 |
</fo:block>
|
|
5 |
</fo:list-item-label>
|
|
6 |
<fo:list-item-body start-indent="body-start()">
|
|
7 |
+ <xsl:choose>
|
|
8 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
9 |
+ local-name()='simpara' or
|
|
10 |
+ local-name()='formalpara']">
|
|
11 |
+ <xsl:apply-templates/>
|
|
12 |
+ </xsl:when>
|
|
13 |
+ <xsl:otherwise>
|
|
14 |
<fo:block>
|
|
15 |
- <xsl:apply-templates/>
|
|
16 |
+ <xsl:apply-templates/>
|
|
17 |
</fo:block>
|
|
18 |
+ </xsl:otherwise>
|
|
19 |
+ </xsl:choose>
|
|
20 |
</fo:list-item-body>
|
|
21 |
</xsl:variable>
|
|
22 |
|
|
23 |
@@ -287,9 +301,18 @@
|
|
24 |
</fo:block>
|
|
25 |
</fo:list-item-label>
|
|
26 |
<fo:list-item-body start-indent="body-start()">
|
|
27 |
+ <xsl:choose>
|
|
28 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
29 |
+ local-name()='simpara' or
|
|
30 |
+ local-name()='formalpara']">
|
|
31 |
+ <xsl:apply-templates/>
|
|
32 |
+ </xsl:when>
|
|
33 |
+ <xsl:otherwise>
|
|
34 |
<fo:block>
|
|
35 |
- <xsl:apply-templates/>
|
|
36 |
+ <xsl:apply-templates/>
|
|
37 |
</fo:block>
|
|
38 |
+ </xsl:otherwise>
|
|
39 |
+ </xsl:choose>
|
|
40 |
</fo:list-item-body>
|
|
41 |
</xsl:variable>
|
|
42 |
|
|
43 |
@@ -486,9 +509,18 @@
|
|
44 |
</fo:block>
|
|
45 |
</fo:list-item-label>
|
|
46 |
<fo:list-item-body start-indent="body-start()">
|
|
47 |
+ <xsl:choose>
|
|
48 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
49 |
+ local-name()='simpara' or
|
|
50 |
+ local-name()='formalpara']">
|
|
51 |
+ <xsl:apply-templates/>
|
|
52 |
+ </xsl:when>
|
|
53 |
+ <xsl:otherwise>
|
|
54 |
<fo:block>
|
|
55 |
- <xsl:apply-templates select="listitem"/>
|
|
56 |
+ <xsl:apply-templates/>
|
|
57 |
</fo:block>
|
|
58 |
+ </xsl:otherwise>
|
|
59 |
+ </xsl:choose>
|
|
60 |
</fo:list-item-body>
|
|
61 |
</fo:list-item>
|
|
62 |
</xsl:template>
|
|
63 |
@@ -906,9 +938,18 @@
|
|
64 |
</fo:block>
|
|
65 |
</fo:list-item-label>
|
|
66 |
<fo:list-item-body start-indent="body-start()">
|
|
67 |
+ <xsl:choose>
|
|
68 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
69 |
+ local-name()='simpara' or
|
|
70 |
+ local-name()='formalpara']">
|
|
71 |
+ <xsl:apply-templates/>
|
|
72 |
+ </xsl:when>
|
|
73 |
+ <xsl:otherwise>
|
|
74 |
<fo:block>
|
|
75 |
- <xsl:apply-templates/>
|
|
76 |
+ <xsl:apply-templates/>
|
|
77 |
</fo:block>
|
|
78 |
+ </xsl:otherwise>
|
|
79 |
+ </xsl:choose>
|
|
80 |
</fo:list-item-body>
|
|
81 |
</fo:list-item>
|
|
82 |
</xsl:template>
|
|
83 |
@@ -932,9 +973,18 @@
|
|
84 |
</fo:block>
|
|
85 |
</fo:list-item-label>
|
|
86 |
<fo:list-item-body start-indent="body-start()">
|
|
87 |
+ <xsl:choose>
|
|
88 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
89 |
+ local-name()='simpara' or
|
|
90 |
+ local-name()='formalpara']">
|
|
91 |
+ <xsl:apply-templates/>
|
|
92 |
+ </xsl:when>
|
|
93 |
+ <xsl:otherwise>
|
|
94 |
<fo:block>
|
|
95 |
- <xsl:apply-templates/>
|
|
96 |
+ <xsl:apply-templates/>
|
|
97 |
</fo:block>
|
|
98 |
+ </xsl:otherwise>
|
|
99 |
+ </xsl:choose>
|
|
100 |
</fo:list-item-body>
|
|
101 |
</fo:list-item>
|
|
102 |
</xsl:template>
|
|
103 |
@@ -1112,10 +1162,19 @@
|
|
104 |
</fo:block>
|
|
105 |
</fo:list-item-label>
|
|
106 |
<fo:list-item-body start-indent="body-start()">
|
|
107 |
+ <xsl:choose>
|
|
108 |
+ <xsl:when test="child::*[1][local-name()='para' or
|
|
109 |
+ local-name()='simpara' or
|
|
110 |
+ local-name()='formalpara']">
|
|
111 |
+ <xsl:apply-templates/>
|
|
112 |
+ </xsl:when>
|
|
113 |
+ <xsl:otherwise>
|
|
114 |
<fo:block>
|
|
115 |
- <xsl:apply-templates/>
|
|
116 |
+ <xsl:apply-templates/>
|
|
117 |
</fo:block>
|
|
118 |
- </fo:list-item-body>
|
|
119 |
+ </xsl:otherwise>
|
|
120 |
+ </xsl:choose>
|
|
121 |
+ </fo:list-item-body>
|
|
122 |
</fo:list-item>
|
|
123 |
</xsl:template>
|