mathtype_to_mathml 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b5040ab7fdfb8f3bb22ba7e4240609263d89753
4
- data.tar.gz: b8e4b7c783a2023bf9c86ad667569227932ad198
3
+ metadata.gz: 0dba34819fe6dace3ecbb62941eb1c136bc80b1d
4
+ data.tar.gz: 0d49aab70e51b99bcf9a4b29bafe64a3d5b4eaf8
5
5
  SHA512:
6
- metadata.gz: cac7467b131f51bf6a7563f27dcf650c9c070767db79d90688b83bd4abe5a0953c28892098246d474324d241aded13a09c4ae8d4cb2f61478c95d44d73bc7b1a
7
- data.tar.gz: 0dbcde536151eba17dacccd896db2740669331d9438cb3501e62f6d36b6e5dc7ed69618a2cd691086b86e075e52fb47bb705b1d392dd9302dae20ce3b6c552b4
6
+ metadata.gz: bac4ad084a9255c4ded6b9a2e92308fa39609beeaa29bf2dd7b165739c210dcff347741695cd86e4f0d0450612e7202c51cbf79ff362b72dfd71c3cb43c390a9
7
+ data.tar.gz: 808c7e0d41cf36da32531cb6c017fac8bc04a00174934953d78de037637c6fa6288b85c215b7e78f11aeee1f73015fbd9ee506cef6acc9c7476067e03b6e9cf6
data/Gemfile CHANGED
@@ -4,4 +4,3 @@ source 'https://rubygems.org'
4
4
  # Specify your gem's dependencies in mathtype_to_mathml.gemspec
5
5
 
6
6
  gemspec
7
-
@@ -1,3 +1,3 @@
1
1
  module MathTypeToMathML
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -19,13 +19,6 @@
19
19
  </math>
20
20
  </xsl:template>
21
21
 
22
- <xsl:template match="tmpl[selector = 'tmFRACT']">
23
- <mfrac>
24
- <xsl:apply-templates select="slot[1]"/>
25
- <xsl:apply-templates select="slot[2]"/>
26
- </mfrac>
27
- </xsl:template>
28
-
29
22
  <xsl:template match="slot">
30
23
  <mrow>
31
24
  <xsl:apply-templates/>
@@ -37,39 +30,8 @@
37
30
  <xsl:value-of select="."/>
38
31
  </xsl:template>
39
32
 
40
- <xsl:template match="tmpl[selector = 'tmROOT']">
41
- <msqrt>
42
- <xsl:apply-templates/>
43
- </msqrt>
44
- </xsl:template>
45
-
46
33
  <xsl:template match="*" />
47
34
 
48
- <xsl:template match="tmpl[selector='tmROOT' and variation='tvROOT_NTH']">
49
- <mroot>
50
- <xsl:apply-templates select="slot[1]" />
51
- <xsl:apply-templates select="slot[2]" />
52
- </mroot>
53
- </xsl:template>
54
-
55
- <xsl:template match="tmpl[selector='tmARROW']">
56
- <munderover accentunder="true">
57
- <mstyle scriptlevel="-1"><mo>&#x21C0;</mo></mstyle>
58
- <munder>
59
- <mstyle scriptlevel="+1"><mo>&#x21BD;</mo></mstyle>
60
- <xsl:apply-templates select="slot[1]" />
61
- <xsl:apply-templates select="slot[2]" />
62
- </munder>
63
- </munderover>
64
- </xsl:template>
65
-
66
- <xsl:template match="tmpl[selector='tmPAREN']">
67
- <mrow><mo>(</mo>
68
- <xsl:apply-templates select="slot[1]"/>
69
- <mo>)</mo></mrow>
70
- </xsl:template>
71
-
72
-
73
35
  <xsl:include href="xsl/int.xsl" />
74
36
  <xsl:include href="xsl/lim.xsl" />
75
37
  <xsl:include href="xsl/frac.xsl" />
@@ -84,6 +46,6 @@
84
46
  <xsl:include href="xsl/fence.xsl" />
85
47
  <xsl:include href="xsl/arrow.xsl"/>
86
48
  <xsl:include href="xsl/matrix.xsl"/>
87
-
88
-
49
+ <xsl:include href="xsl/long_embellishment.xsl"/>
50
+ <xsl:include href="xsl/long_division.xsl"/>
89
51
  </xsl:stylesheet>
@@ -8,51 +8,51 @@
8
8
  <xsl:template match="tmpl[selector='tmARROW']">
9
9
  <mover>
10
10
  <mo>&#x2192;</mo>
11
- <xsl:apply-templates select="slot[1]"/>
11
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
12
12
  </mover>
13
13
  </xsl:template>
14
-
14
+
15
15
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_LEFT']">
16
16
  <mover>
17
17
  <mo>&#x2190;</mo>
18
- <xsl:apply-templates select="slot[1]"/>
18
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
19
19
  </mover>
20
20
  </xsl:template>
21
-
21
+
22
22
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_BOTTOM']">
23
23
  <munder>
24
24
  <mo>&#x2192;</mo>
25
- <xsl:apply-templates select="slot[2]"/>
25
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
26
26
  </munder>
27
27
  </xsl:template>
28
-
28
+
29
29
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_TOPBOTTOM']">
30
30
  <munderover>
31
31
  <mo>&#x2192;</mo>
32
- <xsl:apply-templates select="slot[2]"/>
33
- <xsl:apply-templates select="slot[1]"/>
32
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
33
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
34
34
  </munderover>
35
35
  </xsl:template>
36
-
36
+
37
37
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE']">
38
38
  <mover>
39
39
  <mo>&#x21C4;</mo>
40
- <xsl:apply-templates select="slot[1]"/>
40
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
41
41
  </mover>
42
42
  </xsl:template>
43
43
 
44
44
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_LEFT' and variation='tvAR_RIGHT' )]">
45
45
  <mover>
46
46
  <mo>&#x2194;</mo>
47
- <xsl:apply-templates select="slot[1]"/>
47
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
48
48
  </mover>
49
49
  </xsl:template>
50
-
50
+
51
51
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_LEFT' and variation='tvAR_TOPBOTTOM']">
52
52
  <munderover>
53
53
  <mo>&#x2190;</mo>
54
- <xsl:apply-templates select="slot[2]"/>
55
- <xsl:apply-templates select="slot[1]"/>
54
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
55
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
56
56
  </munderover>
57
57
  </xsl:template>
58
58
 
@@ -60,8 +60,8 @@
60
60
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE' and variation='tvAR_TOPBOTTOM']">
61
61
  <munderover>
62
62
  <mo>&#x21C4;</mo>
63
- <xsl:apply-templates select="slot[2]"/>
64
- <xsl:apply-templates select="slot[1]"/>
63
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
64
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
65
65
  </munderover>
66
66
  </xsl:template>
67
67
 
@@ -71,32 +71,32 @@
71
71
  <mstyle scriptlevel="-1"><mo>&#x2192;</mo></mstyle>
72
72
  <mstyle scriptlevel="+1"><mo>&#x2190;</mo></mstyle>
73
73
  </munder>
74
- <xsl:apply-templates select="slot[1]"/>
74
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
75
75
  </mover>
76
76
  </xsl:template>
77
-
77
+
78
78
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE' and variation='tvAR_SOL']">
79
79
  <mover>
80
80
  <munder accentunder="true">
81
81
  <mstyle scriptlevel="+1"><mo>&#x2192;</mo></mstyle>
82
82
  <mstyle scriptlevel="-1"><mo>&#x2190;</mo></mstyle>
83
83
  </munder>
84
- <xsl:apply-templates select="slot[1]"/>
84
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
85
85
  </mover>
86
86
  </xsl:template>
87
-
87
+
88
88
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON']">
89
89
  <mover>
90
90
  <mo>&#x21CC;</mo>
91
- <xsl:apply-templates select="slot[1]"/>
91
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
92
92
  </mover>
93
93
  </xsl:template>
94
-
94
+
95
95
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_LEFT' and variation='tvAR_RIGHT' ) and variation='tvAR_TOPBOTTOM']">
96
96
  <munderover>
97
97
  <mo>&#x2194;</mo>
98
- <xsl:apply-templates select="slot[2]"/>
99
- <xsl:apply-templates select="slot[1]"/>
98
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
99
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
100
100
  </munderover>
101
101
  </xsl:template>
102
102
 
@@ -104,18 +104,18 @@
104
104
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON']">
105
105
  <mover>
106
106
  <mo>&#x21CC;</mo>
107
- <xsl:apply-templates select="slot[1]"/>
107
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
108
108
  </mover>
109
109
  </xsl:template>
110
-
110
+
111
111
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE' and variation='tvAR_LOS' and variation='tvAR_TOPBOTTOM']">
112
112
  <munderover accentunder="true">
113
113
  <mstyle scriptlevel="-1"><mo>&#x2192;</mo></mstyle>
114
114
  <munder>
115
115
  <mstyle scriptlevel="+1"><mo>&#x2190;</mo></mstyle>
116
- <xsl:apply-templates select="slot[2]"/>
116
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
117
117
  </munder>
118
- <xsl:apply-templates select="slot[1]"/>
118
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
119
119
  </munderover>
120
120
  </xsl:template>
121
121
 
@@ -124,37 +124,37 @@
124
124
  <mstyle scriptlevel="+1"><mo>&#x2192;</mo></mstyle>
125
125
  <munder>
126
126
  <mstyle scriptlevel="-1"><mo>&#x2190;</mo></mstyle>
127
- <xsl:apply-templates select="slot[2]"/>
127
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
128
128
  </munder>
129
- <xsl:apply-templates select="slot[1]"/>
129
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
130
130
  </munderover>
131
131
  </xsl:template>
132
-
132
+
133
133
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON' and variation='tvAR_SOL']">
134
134
  <mover>
135
135
  <munder accentunder="true">
136
136
  <mstyle scriptlevel="+1"><mo>&#x21C0;</mo></mstyle>
137
137
  <mstyle scriptlevel="-1"><mo>&#x21BD;</mo></mstyle>
138
138
  </munder>
139
- <xsl:apply-templates select="slot[1]"/>
139
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
140
140
  </mover>
141
141
  </xsl:template>
142
-
142
+
143
143
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON' and variation='tvAR_LOS']">
144
144
  <mover>
145
145
  <munder accentunder="true">
146
146
  <mstyle scriptlevel="-1"><mo>&#x21C0;</mo></mstyle>
147
147
  <mstyle scriptlevel="+1"><mo>&#x21BD;</mo></mstyle>
148
148
  </munder>
149
- <xsl:apply-templates select="slot[1]"/>
149
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
150
150
  </mover>
151
151
  </xsl:template>
152
-
152
+
153
153
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON' and variation='tvAR_TOPBOTTOM']">
154
154
  <munderover>
155
155
  <mo>&#x21CC;</mo>
156
- <xsl:apply-templates select="slot[2]"/>
157
- <xsl:apply-templates select="slot[1]"/>
156
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
157
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
158
158
  </munderover>
159
159
  </xsl:template>
160
160
 
@@ -163,9 +163,9 @@
163
163
  <mstyle scriptlevel="-1"><mo>&#x21C0;</mo></mstyle>
164
164
  <munder>
165
165
  <mstyle scriptlevel="+1"><mo>&#x21BD;</mo></mstyle>
166
- <xsl:apply-templates select="slot[2]"/>
166
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
167
167
  </munder>
168
- <xsl:apply-templates select="slot[1]"/>
168
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
169
169
  </munderover>
170
170
  </xsl:template>
171
171
 
@@ -174,30 +174,30 @@
174
174
  <mstyle scriptlevel="+1"><mo>&#x21C0;</mo></mstyle>
175
175
  <munder>
176
176
  <mstyle scriptlevel="-1"><mo>&#x21BD;</mo></mstyle>
177
- <xsl:apply-templates select="slot[2]"/>
177
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
178
178
  </munder>
179
- <xsl:apply-templates select="slot[1]"/>
179
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
180
180
  </munderover>
181
181
  </xsl:template>
182
182
 
183
183
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_LEFT' and variation='tvAR_BOTTOM']">
184
184
  <munder>
185
185
  <mo>&#x2190;</mo>
186
- <xsl:apply-templates select="slot[2]"/>
186
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
187
187
  </munder>
188
188
  </xsl:template>
189
189
 
190
190
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_LEFT' and variation='tvAR_RIGHT' ) and variation='tvAR_BOTTOM']">
191
191
  <munder>
192
192
  <mo>&#x2194;</mo>
193
- <xsl:apply-templates select="slot[2]"/>
193
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
194
194
  </munder>
195
195
  </xsl:template>
196
196
 
197
197
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE' and variation='tvAR_BOTTOM']">
198
198
  <munder>
199
199
  <mo>&#x21C4;</mo>
200
- <xsl:apply-templates select="slot[2]"/>
200
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
201
201
  </munder>
202
202
  </xsl:template>
203
203
 
@@ -207,7 +207,7 @@
207
207
  <mstyle scriptlevel="-1"><mo>&#x2192;</mo></mstyle>
208
208
  <mstyle scriptlevel="+1"><mo>&#x2190;</mo></mstyle>
209
209
  </munder>
210
- <xsl:apply-templates select="slot[2]"/>
210
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
211
211
  </munder>
212
212
  </xsl:template>
213
213
 
@@ -217,14 +217,14 @@
217
217
  <mstyle scriptlevel="+1"><mo>&#x2192;</mo></mstyle>
218
218
  <mstyle scriptlevel="-1"><mo>&#x2190;</mo></mstyle>
219
219
  </munder>
220
- <xsl:apply-templates select="slot[2]"/>
220
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
221
221
  </munder>
222
222
  </xsl:template>
223
223
 
224
224
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON' and variation='tvAR_BOTTOM']">
225
225
  <munder>
226
226
  <mo>&#x21CC;</mo>
227
- <xsl:apply-templates select="slot[2]"/>
227
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
228
228
  </munder>
229
229
  </xsl:template>
230
230
 
@@ -234,7 +234,7 @@
234
234
  <mstyle scriptlevel="-1"><mo>&#x21C0;</mo></mstyle>
235
235
  <mstyle scriptlevel="+1"><mo>&#x21BD;</mo></mstyle>
236
236
  </munder>
237
- <xsl:apply-templates select="slot[2]"/>
237
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
238
238
  </munder>
239
239
  </xsl:template>
240
240
 
@@ -244,28 +244,28 @@
244
244
  <mstyle scriptlevel="+1"><mo>&#x21C0;</mo></mstyle>
245
245
  <mstyle scriptlevel="-1"><mo>&#x21BD;</mo></mstyle>
246
246
  </munder>
247
- <xsl:apply-templates select="slot[2]"/>
247
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
248
248
  </munder>
249
249
  </xsl:template>
250
250
 
251
251
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_LEFT' and variation='tvAR_BOTTOM']">
252
252
  <munder>
253
253
  <mo>&#x2190;</mo>
254
- <xsl:apply-templates select="slot[2]"/>
254
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
255
255
  </munder>
256
256
  </xsl:template>
257
257
 
258
258
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_LEFT' and variation='tvAR_RIGHT' ) and variation='tvAR_BOTTOM']">
259
259
  <munder>
260
260
  <mo>&#x2194;</mo>
261
- <xsl:apply-templates select="slot[2]"/>
261
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
262
262
  </munder>
263
263
  </xsl:template>
264
264
 
265
265
  <xsl:template match="tmpl[selector='tmARROW' and variation='tvAR_DOUBLE' and variation='tvAR_BOTTOM']">
266
266
  <munder>
267
267
  <mo>&#x21C4;</mo>
268
- <xsl:apply-templates select="slot[2]"/>
268
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
269
269
  </munder>
270
270
  </xsl:template>
271
271
 
@@ -275,7 +275,7 @@
275
275
  <mstyle scriptlevel="-1"><mo>&#x2192;</mo></mstyle>
276
276
  <mstyle scriptlevel="+1"><mo>&#x2190;</mo></mstyle>
277
277
  </munder>
278
- <xsl:apply-templates select="slot[2]"/>
278
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
279
279
  </munder>
280
280
  </xsl:template>
281
281
 
@@ -285,14 +285,14 @@
285
285
  <mstyle scriptlevel="+1"><mo>&#x2192;</mo></mstyle>
286
286
  <mstyle scriptlevel="-1"><mo>&#x2190;</mo></mstyle>
287
287
  </munder>
288
- <xsl:apply-templates select="slot[2]"/>
288
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
289
289
  </munder>
290
290
  </xsl:template>
291
291
 
292
292
  <xsl:template match="tmpl[selector='tmARROW' and (variation='tvAR_DOUBLE' or variation='tvAR_HARPOON') and variation='tvAR_HARPOON' and variation='tvAR_BOTTOM']">
293
293
  <munder>
294
294
  <mo>&#x21CC;</mo>
295
- <xsl:apply-templates select="slot[2]"/>
295
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
296
296
  </munder>
297
297
  </xsl:template>
298
298
 
@@ -302,7 +302,7 @@
302
302
  <mstyle scriptlevel="-1"><mo>&#x21C0;</mo></mstyle>
303
303
  <mstyle scriptlevel="+1"><mo>&#x21BD;</mo></mstyle>
304
304
  </munder>
305
- <xsl:apply-templates select="slot[2]"/>
305
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
306
306
  </munder>
307
307
  </xsl:template>
308
308
 
@@ -312,7 +312,7 @@
312
312
  <mstyle scriptlevel="+1"><mo>&#x21C0;</mo></mstyle>
313
313
  <mstyle scriptlevel="-1"><mo>&#x21BD;</mo></mstyle>
314
314
  </munder>
315
- <xsl:apply-templates select="slot[2]"/>
315
+ <xsl:apply-templates select="slot[2] | pile[2]"/>
316
316
  </munder>
317
317
  </xsl:template>
318
318
 
@@ -8,34 +8,34 @@
8
8
 
9
9
  <xsl:template match="tmpl[selector='tmBOX' and (variation='tvBX_TOP' and variation='tvBX_LEFT')]">
10
10
  <menclose notation="top left">
11
- <xsl:apply-templates select="slot[1]"/>
11
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
12
12
  </menclose>
13
13
  </xsl:template>
14
14
 
15
15
 
16
16
  <xsl:template match="tmpl[selector='tmBOX' and (variation='tvBX_TOP' and variation='tvBX_RIGHT')]">
17
17
  <menclose notation="actuarial">
18
- <xsl:apply-templates select="slot[1]"/>
18
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
19
19
  </menclose>
20
20
  </xsl:template>
21
21
 
22
22
 
23
23
  <xsl:template match="tmpl[selector='tmBOX' and (variation='tvBX_BOTTOM' and variation='tvBX_LEFT')]">
24
24
  <menclose notation="bottom left">
25
- <xsl:apply-templates select="slot[1]"/>
25
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
26
26
  </menclose>
27
27
  </xsl:template>
28
28
 
29
29
 
30
30
  <xsl:template match="tmpl[selector='tmBOX' and (variation='tvBX_BOTTOM' and variation='tvBX_RIGHT')]">
31
31
  <menclose notation="bottom right">
32
- <xsl:apply-templates select="slot[1]"/>
32
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
33
33
  </menclose>
34
34
  </xsl:template>
35
35
 
36
36
  <xsl:template match="tmpl[selector='tmBOX' and variation='tvBX_TOP' and variation='tvBX_BOTTOM' and variation='tvBX_LEFT' and variation='tvBX_RIGHT']">
37
37
  <menclose notation="box">
38
- <xsl:apply-templates select="slot[1]"/>
38
+ <xsl:apply-templates select="slot[1] | pile[1]"/>
39
39
  </menclose>
40
40
  </xsl:template>
41
41