mathtype 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/.travis.yml +7 -0
  4. data/Rakefile +8 -0
  5. data/lib/file_parser/ole.rb +15 -0
  6. data/lib/file_parser/parser.rb +19 -0
  7. data/lib/file_parser/wmf.rb +28 -0
  8. data/lib/mathtype.rb +30 -7
  9. data/lib/mathtype/version.rb +1 -1
  10. data/lib/records/bintypes.rb +18 -0
  11. data/lib/records/mtef.rb +8 -114
  12. data/lib/records/nudge.rb +9 -5
  13. data/lib/records/ruler.rb +1 -1
  14. data/lib/records/typesizes.rb +5 -10
  15. data/lib/records3/char.rb +53 -0
  16. data/lib/records3/embell.rb +109 -0
  17. data/lib/records3/font.rb +27 -0
  18. data/lib/records3/line.rb +47 -0
  19. data/lib/records3/matrix.rb +80 -0
  20. data/lib/records3/mtef.rb +97 -0
  21. data/lib/records3/options.rb +5 -0
  22. data/lib/records3/pile.rb +43 -0
  23. data/lib/records3/size.rb +75 -0
  24. data/lib/records3/snapshot.rb +19 -0
  25. data/lib/records3/tmpl.rb +751 -0
  26. data/lib/{records → records5}/char.rb +6 -12
  27. data/lib/{records → records5}/color.rb +1 -1
  28. data/lib/{records → records5}/color_def.rb +8 -8
  29. data/lib/{records → records5}/embell.rb +2 -2
  30. data/lib/{records → records5}/encoding_def.rb +1 -1
  31. data/lib/{records → records5}/eqn_prefs.rb +2 -2
  32. data/lib/{records → records5}/font_def.rb +1 -1
  33. data/lib/{records → records5}/font_style_def.rb +1 -1
  34. data/lib/{records → records5}/future.rb +1 -1
  35. data/lib/{records → records5}/line.rb +3 -3
  36. data/lib/{records → records5}/matrix.rb +11 -3
  37. data/lib/records5/mtef.rb +129 -0
  38. data/lib/{records → records5}/pile.rb +2 -2
  39. data/lib/{records → records5}/size.rb +9 -7
  40. data/lib/records5/snapshot.rb +19 -0
  41. data/lib/{records → records5}/tmpl.rb +2 -2
  42. data/spec/fixtures/expected/mathtype3/ceil.xml +38 -0
  43. data/spec/fixtures/expected/mathtype3/fence.xml +77 -0
  44. data/spec/fixtures/expected/mathtype3/floor.xml +38 -0
  45. data/spec/fixtures/expected/mathtype3/frac.xml +136 -0
  46. data/spec/fixtures/expected/mathtype3/large_nudge.xml +135 -0
  47. data/spec/fixtures/expected/mathtype3/lim_embell.xml +247 -0
  48. data/spec/fixtures/expected/mathtype3/matrix_2x1.xml +500 -0
  49. data/spec/fixtures/expected/mathtype3/pile.xml +188 -0
  50. data/spec/fixtures/expected/mathtype3/sigma_subsup.xml +46 -0
  51. data/spec/fixtures/expected/mathtype3/small_nudge.xml +90 -0
  52. data/spec/fixtures/expected/mathtype3/sqrt.xml +132 -0
  53. data/spec/fixtures/expected/{299.xml → mathtype5/299.xml} +30 -15
  54. data/spec/fixtures/expected/{arrows.xml → mathtype5/arrows.xml} +30 -15
  55. data/spec/fixtures/expected/{embedded.xml → mathtype5/embedded.xml} +29 -14
  56. data/spec/fixtures/expected/{embellishments.xml → mathtype5/embellishments.xml} +30 -15
  57. data/spec/fixtures/expected/{equation1.xml → mathtype5/equation1.xml} +30 -15
  58. data/spec/fixtures/expected/{equation10.xml → mathtype5/equation10.xml} +30 -15
  59. data/spec/fixtures/expected/{equation11.xml → mathtype5/equation11.xml} +30 -15
  60. data/spec/fixtures/expected/{equation12.xml → mathtype5/equation12.xml} +30 -15
  61. data/spec/fixtures/expected/{equation13.xml → mathtype5/equation13.xml} +30 -15
  62. data/spec/fixtures/expected/{equation2.xml → mathtype5/equation2.xml} +30 -15
  63. data/spec/fixtures/expected/{equation3.xml → mathtype5/equation3.xml} +30 -15
  64. data/spec/fixtures/expected/{equation4.xml → mathtype5/equation4.xml} +30 -15
  65. data/spec/fixtures/expected/{equation5.xml → mathtype5/equation5.xml} +30 -15
  66. data/spec/fixtures/expected/{equation6.xml → mathtype5/equation6.xml} +30 -15
  67. data/spec/fixtures/expected/{equation7.xml → mathtype5/equation7.xml} +30 -15
  68. data/spec/fixtures/expected/{equation8.xml → mathtype5/equation8.xml} +30 -15
  69. data/spec/fixtures/expected/{equation9.xml → mathtype5/equation9.xml} +30 -15
  70. data/spec/fixtures/expected/{fences.xml → mathtype5/fences.xml} +30 -15
  71. data/spec/fixtures/expected/{integrals.xml → mathtype5/integrals.xml} +30 -15
  72. data/spec/fixtures/expected/mathtype5/matrix-border.xml +365 -0
  73. data/spec/fixtures/expected/mathtype5/matrix.xml +382 -0
  74. data/spec/fixtures/expected/{sizes.xml → mathtype5/sizes.xml} +30 -15
  75. data/spec/fixtures/input/mathtype3/ceil.bin +0 -0
  76. data/spec/fixtures/input/mathtype3/fence.bin +0 -0
  77. data/spec/fixtures/input/mathtype3/floor.bin +0 -0
  78. data/spec/fixtures/input/mathtype3/frac.bin +0 -0
  79. data/spec/fixtures/input/mathtype3/large_nudge.bin +0 -0
  80. data/spec/fixtures/input/mathtype3/lim_embell.bin +0 -0
  81. data/spec/fixtures/input/mathtype3/matrix_2x1.bin +0 -0
  82. data/spec/fixtures/input/mathtype3/pile.bin +0 -0
  83. data/spec/fixtures/input/mathtype3/sigma_subsup.bin +0 -0
  84. data/spec/fixtures/input/mathtype3/small_nudge.bin +0 -0
  85. data/spec/fixtures/input/mathtype3/sqrt.bin +0 -0
  86. data/spec/fixtures/input/{299.bin → mathtype5/299.bin} +0 -0
  87. data/spec/fixtures/input/{arrows.bin → mathtype5/arrows.bin} +0 -0
  88. data/spec/fixtures/input/{embedded.bin → mathtype5/embedded.bin} +0 -0
  89. data/spec/fixtures/input/{embellishments.bin → mathtype5/embellishments.bin} +0 -0
  90. data/spec/fixtures/input/{equation1.bin → mathtype5/equation1.bin} +0 -0
  91. data/spec/fixtures/input/{equation10.bin → mathtype5/equation10.bin} +0 -0
  92. data/spec/fixtures/input/{equation11.bin → mathtype5/equation11.bin} +0 -0
  93. data/spec/fixtures/input/{equation12.bin → mathtype5/equation12.bin} +0 -0
  94. data/spec/fixtures/input/{equation13.bin → mathtype5/equation13.bin} +0 -0
  95. data/spec/fixtures/input/{equation2.bin → mathtype5/equation2.bin} +0 -0
  96. data/spec/fixtures/input/{equation3.bin → mathtype5/equation3.bin} +0 -0
  97. data/spec/fixtures/input/{equation4.bin → mathtype5/equation4.bin} +0 -0
  98. data/spec/fixtures/input/{equation5.bin → mathtype5/equation5.bin} +0 -0
  99. data/spec/fixtures/input/{equation6.bin → mathtype5/equation6.bin} +0 -0
  100. data/spec/fixtures/input/{equation7.bin → mathtype5/equation7.bin} +0 -0
  101. data/spec/fixtures/input/{equation8.bin → mathtype5/equation8.bin} +0 -0
  102. data/spec/fixtures/input/{equation9.bin → mathtype5/equation9.bin} +0 -0
  103. data/spec/fixtures/input/{fences.bin → mathtype5/fences.bin} +0 -0
  104. data/spec/fixtures/input/{integrals.bin → mathtype5/integrals.bin} +0 -0
  105. data/spec/fixtures/input/mathtype5/matrix-border.bin +0 -0
  106. data/spec/fixtures/input/mathtype5/matrix.bin +0 -0
  107. data/spec/fixtures/input/{sizes.bin → mathtype5/sizes.bin} +0 -0
  108. data/spec/mathtype_spec.rb +11 -9
  109. data/test-mathtype.rb +2 -0
  110. metadata +168 -97
@@ -0,0 +1,382 @@
1
+ <?xml version="1.0"?>
2
+ <root>
3
+ <mtef>
4
+ <mtef_version>5</mtef_version>
5
+ <platform>1</platform>
6
+ <product>0</product>
7
+ <product_version>6</product_version>
8
+ <product_subversion>5</product_subversion>
9
+ <application_key>DSMT6</application_key>
10
+ <equation_options>block</equation_options>
11
+ <encoding_def>
12
+ <name>WinAllBasicCodePages</name>
13
+ </encoding_def>
14
+ <font_def>
15
+ <enc_def_index>5</enc_def_index>
16
+ <font_name>Times New Roman</font_name>
17
+ </font_def>
18
+ <font_def>
19
+ <enc_def_index>3</enc_def_index>
20
+ <font_name>Euclid Symbol</font_name>
21
+ </font_def>
22
+ <font_def>
23
+ <enc_def_index>5</enc_def_index>
24
+ <font_name>Courier New</font_name>
25
+ </font_def>
26
+ <font_def>
27
+ <enc_def_index>4</enc_def_index>
28
+ <font_name>MT Extra</font_name>
29
+ </font_def>
30
+ <eqn_prefs>
31
+ <options>0</options>
32
+ <sizes_count>8</sizes_count>
33
+ <sizes>
34
+ <unit>2</unit>
35
+ <nibbles>1</nibbles>
36
+ <nibbles>2</nibbles>
37
+ <nibbles>15</nibbles>
38
+ </sizes>
39
+ <sizes>
40
+ <unit>4</unit>
41
+ <nibbles>5</nibbles>
42
+ <nibbles>8</nibbles>
43
+ <nibbles>15</nibbles>
44
+ </sizes>
45
+ <sizes>
46
+ <unit>4</unit>
47
+ <nibbles>4</nibbles>
48
+ <nibbles>2</nibbles>
49
+ <nibbles>15</nibbles>
50
+ </sizes>
51
+ <sizes>
52
+ <unit>4</unit>
53
+ <nibbles>1</nibbles>
54
+ <nibbles>5</nibbles>
55
+ <nibbles>0</nibbles>
56
+ <nibbles>15</nibbles>
57
+ </sizes>
58
+ <sizes>
59
+ <unit>4</unit>
60
+ <nibbles>1</nibbles>
61
+ <nibbles>0</nibbles>
62
+ <nibbles>0</nibbles>
63
+ <nibbles>15</nibbles>
64
+ </sizes>
65
+ <sizes>
66
+ <unit>4</unit>
67
+ <nibbles>7</nibbles>
68
+ <nibbles>5</nibbles>
69
+ <nibbles>15</nibbles>
70
+ </sizes>
71
+ <sizes>
72
+ <unit>4</unit>
73
+ <nibbles>1</nibbles>
74
+ <nibbles>5</nibbles>
75
+ <nibbles>0</nibbles>
76
+ <nibbles>15</nibbles>
77
+ </sizes>
78
+ <sizes>
79
+ <unit>2</unit>
80
+ <nibbles>1</nibbles>
81
+ <nibbles>15</nibbles>
82
+ </sizes>
83
+ <spaces_count>30</spaces_count>
84
+ <spaces>
85
+ <unit>4</unit>
86
+ <nibbles>1</nibbles>
87
+ <nibbles>5</nibbles>
88
+ <nibbles>0</nibbles>
89
+ <nibbles>15</nibbles>
90
+ </spaces>
91
+ <spaces>
92
+ <unit>4</unit>
93
+ <nibbles>1</nibbles>
94
+ <nibbles>5</nibbles>
95
+ <nibbles>0</nibbles>
96
+ <nibbles>15</nibbles>
97
+ </spaces>
98
+ <spaces>
99
+ <unit>4</unit>
100
+ <nibbles>1</nibbles>
101
+ <nibbles>0</nibbles>
102
+ <nibbles>0</nibbles>
103
+ <nibbles>15</nibbles>
104
+ </spaces>
105
+ <spaces>
106
+ <unit>4</unit>
107
+ <nibbles>4</nibbles>
108
+ <nibbles>5</nibbles>
109
+ <nibbles>15</nibbles>
110
+ </spaces>
111
+ <spaces>
112
+ <unit>4</unit>
113
+ <nibbles>2</nibbles>
114
+ <nibbles>5</nibbles>
115
+ <nibbles>15</nibbles>
116
+ </spaces>
117
+ <spaces>
118
+ <unit>4</unit>
119
+ <nibbles>8</nibbles>
120
+ <nibbles>15</nibbles>
121
+ </spaces>
122
+ <spaces>
123
+ <unit>4</unit>
124
+ <nibbles>2</nibbles>
125
+ <nibbles>5</nibbles>
126
+ <nibbles>15</nibbles>
127
+ </spaces>
128
+ <spaces>
129
+ <unit>4</unit>
130
+ <nibbles>1</nibbles>
131
+ <nibbles>0</nibbles>
132
+ <nibbles>0</nibbles>
133
+ <nibbles>15</nibbles>
134
+ </spaces>
135
+ <spaces>
136
+ <unit>4</unit>
137
+ <nibbles>1</nibbles>
138
+ <nibbles>0</nibbles>
139
+ <nibbles>0</nibbles>
140
+ <nibbles>15</nibbles>
141
+ </spaces>
142
+ <spaces>
143
+ <unit>4</unit>
144
+ <nibbles>3</nibbles>
145
+ <nibbles>5</nibbles>
146
+ <nibbles>15</nibbles>
147
+ </spaces>
148
+ <spaces>
149
+ <unit>4</unit>
150
+ <nibbles>1</nibbles>
151
+ <nibbles>0</nibbles>
152
+ <nibbles>0</nibbles>
153
+ <nibbles>15</nibbles>
154
+ </spaces>
155
+ <spaces>
156
+ <unit>4</unit>
157
+ <nibbles>8</nibbles>
158
+ <nibbles>15</nibbles>
159
+ </spaces>
160
+ <spaces>
161
+ <unit>4</unit>
162
+ <nibbles>5</nibbles>
163
+ <nibbles>15</nibbles>
164
+ </spaces>
165
+ <spaces>
166
+ <unit>4</unit>
167
+ <nibbles>2</nibbles>
168
+ <nibbles>10</nibbles>
169
+ <nibbles>5</nibbles>
170
+ <nibbles>15</nibbles>
171
+ </spaces>
172
+ <spaces>
173
+ <unit>4</unit>
174
+ <nibbles>8</nibbles>
175
+ <nibbles>15</nibbles>
176
+ </spaces>
177
+ <spaces>
178
+ <unit>4</unit>
179
+ <nibbles>8</nibbles>
180
+ <nibbles>15</nibbles>
181
+ </spaces>
182
+ <spaces>
183
+ <unit>4</unit>
184
+ <nibbles>1</nibbles>
185
+ <nibbles>0</nibbles>
186
+ <nibbles>0</nibbles>
187
+ <nibbles>15</nibbles>
188
+ </spaces>
189
+ <spaces>
190
+ <unit>4</unit>
191
+ <nibbles>1</nibbles>
192
+ <nibbles>0</nibbles>
193
+ <nibbles>0</nibbles>
194
+ <nibbles>15</nibbles>
195
+ </spaces>
196
+ <spaces>
197
+ <unit>4</unit>
198
+ <nibbles>0</nibbles>
199
+ <nibbles>15</nibbles>
200
+ </spaces>
201
+ <spaces>
202
+ <unit>4</unit>
203
+ <nibbles>8</nibbles>
204
+ <nibbles>15</nibbles>
205
+ </spaces>
206
+ <spaces>
207
+ <unit>4</unit>
208
+ <nibbles>1</nibbles>
209
+ <nibbles>7</nibbles>
210
+ <nibbles>15</nibbles>
211
+ </spaces>
212
+ <spaces>
213
+ <unit>4</unit>
214
+ <nibbles>8</nibbles>
215
+ <nibbles>15</nibbles>
216
+ </spaces>
217
+ <spaces>
218
+ <unit>4</unit>
219
+ <nibbles>1</nibbles>
220
+ <nibbles>0</nibbles>
221
+ <nibbles>0</nibbles>
222
+ <nibbles>15</nibbles>
223
+ </spaces>
224
+ <spaces>
225
+ <unit>4</unit>
226
+ <nibbles>1</nibbles>
227
+ <nibbles>2</nibbles>
228
+ <nibbles>10</nibbles>
229
+ <nibbles>5</nibbles>
230
+ <nibbles>15</nibbles>
231
+ </spaces>
232
+ <spaces>
233
+ <unit>4</unit>
234
+ <nibbles>4</nibbles>
235
+ <nibbles>5</nibbles>
236
+ <nibbles>15</nibbles>
237
+ </spaces>
238
+ <spaces>
239
+ <unit>4</unit>
240
+ <nibbles>5</nibbles>
241
+ <nibbles>15</nibbles>
242
+ </spaces>
243
+ <spaces>
244
+ <unit>4</unit>
245
+ <nibbles>5</nibbles>
246
+ <nibbles>15</nibbles>
247
+ </spaces>
248
+ <spaces>
249
+ <unit>4</unit>
250
+ <nibbles>5</nibbles>
251
+ <nibbles>15</nibbles>
252
+ </spaces>
253
+ <spaces>
254
+ <unit>4</unit>
255
+ <nibbles>5</nibbles>
256
+ <nibbles>15</nibbles>
257
+ </spaces>
258
+ <spaces>
259
+ <unit>4</unit>
260
+ <nibbles>1</nibbles>
261
+ <nibbles>0</nibbles>
262
+ <nibbles>15</nibbles>
263
+ </spaces>
264
+ <styles_count>12</styles_count>
265
+ <styles>
266
+ <font_def>1</font_def>
267
+ <font_style>0</font_style>
268
+ </styles>
269
+ <styles>
270
+ <font_def>1</font_def>
271
+ <font_style>0</font_style>
272
+ </styles>
273
+ <styles>
274
+ <font_def>1</font_def>
275
+ <font_style>2</font_style>
276
+ </styles>
277
+ <styles>
278
+ <font_def>2</font_def>
279
+ <font_style>2</font_style>
280
+ </styles>
281
+ <styles>
282
+ <font_def>2</font_def>
283
+ <font_style>0</font_style>
284
+ </styles>
285
+ <styles>
286
+ <font_def>2</font_def>
287
+ <font_style>0</font_style>
288
+ </styles>
289
+ <styles>
290
+ <font_def>1</font_def>
291
+ <font_style>1</font_style>
292
+ </styles>
293
+ <styles>
294
+ <font_def>1</font_def>
295
+ <font_style>0</font_style>
296
+ </styles>
297
+ <styles>
298
+ <font_def>3</font_def>
299
+ <font_style>0</font_style>
300
+ </styles>
301
+ <styles>
302
+ <font_def>1</font_def>
303
+ <font_style>0</font_style>
304
+ </styles>
305
+ <styles>
306
+ <font_def>4</font_def>
307
+ <font_style>0</font_style>
308
+ </styles>
309
+ <styles>
310
+ <font_def>0</font_def>
311
+ </styles>
312
+ </eqn_prefs>
313
+ <full/>
314
+ <slot>
315
+ <options>0</options>
316
+ <matrix>
317
+ <options>0</options>
318
+ <valign>center_baseline</valign>
319
+ <h_just>left</h_just>
320
+ <v_just>center_baseline</v_just>
321
+ <rows>2</rows>
322
+ <cols>2</cols>
323
+ <row_parts>0</row_parts>
324
+ <row_parts>0</row_parts>
325
+ <row_parts>0</row_parts>
326
+ <col_parts>0</col_parts>
327
+ <col_parts>0</col_parts>
328
+ <col_parts>0</col_parts>
329
+ <slot>
330
+ <options>0</options>
331
+ <char>
332
+ <typeface>8</typeface>
333
+ <mt_code_value>0x0031</mt_code_value>
334
+ <options>0</options>
335
+ <variation>mathmode</variation>
336
+ </char>
337
+ <end/>
338
+ </slot>
339
+ <slot>
340
+ <options>0</options>
341
+ <char>
342
+ <typeface>6</typeface>
343
+ <mt_code_value>0x2212</mt_code_value>
344
+ <options>4</options>
345
+ <font_position>45</font_position>
346
+ <variation>mathmode</variation>
347
+ </char>
348
+ <char>
349
+ <typeface>8</typeface>
350
+ <mt_code_value>0x0037</mt_code_value>
351
+ <options>0</options>
352
+ <variation>mathmode</variation>
353
+ </char>
354
+ <end/>
355
+ </slot>
356
+ <slot>
357
+ <options>0</options>
358
+ <char>
359
+ <typeface>8</typeface>
360
+ <mt_code_value>0x0032</mt_code_value>
361
+ <options>0</options>
362
+ <variation>mathmode</variation>
363
+ </char>
364
+ <end/>
365
+ </slot>
366
+ <slot>
367
+ <options>0</options>
368
+ <char>
369
+ <typeface>8</typeface>
370
+ <mt_code_value>0x0035</mt_code_value>
371
+ <options>0</options>
372
+ <variation>mathmode</variation>
373
+ </char>
374
+ <end/>
375
+ </slot>
376
+ <end/>
377
+ </matrix>
378
+ <end/>
379
+ </slot>
380
+ <end/>
381
+ </mtef>
382
+ </root>
@@ -7,7 +7,7 @@
7
7
  <product_version>6</product_version>
8
8
  <product_subversion>7</product_subversion>
9
9
  <application_key>DSMT6</application_key>
10
- <equation_options>0</equation_options>
10
+ <equation_options>block</equation_options>
11
11
  <future>
12
12
  <skip>3</skip>
13
13
  </future>
@@ -59,7 +59,8 @@
59
59
  <nibbles>15</nibbles>
60
60
  </sizes>
61
61
  <sizes>
62
- <unit>1</unit>
62
+ <unit>4</unit>
63
+ <nibbles>1</nibbles>
63
64
  <nibbles>0</nibbles>
64
65
  <nibbles>0</nibbles>
65
66
  <nibbles>15</nibbles>
@@ -78,7 +79,8 @@
78
79
  <nibbles>15</nibbles>
79
80
  </sizes>
80
81
  <sizes>
81
- <unit>1</unit>
82
+ <unit>2</unit>
83
+ <nibbles>1</nibbles>
82
84
  <nibbles>15</nibbles>
83
85
  </sizes>
84
86
  <spaces_count>33</spaces_count>
@@ -90,7 +92,8 @@
90
92
  <nibbles>15</nibbles>
91
93
  </spaces>
92
94
  <spaces>
93
- <unit>1</unit>
95
+ <unit>4</unit>
96
+ <nibbles>1</nibbles>
94
97
  <nibbles>5</nibbles>
95
98
  <nibbles>0</nibbles>
96
99
  <nibbles>15</nibbles>
@@ -104,16 +107,19 @@
104
107
  </spaces>
105
108
  <spaces>
106
109
  <unit>4</unit>
110
+ <nibbles>4</nibbles>
107
111
  <nibbles>5</nibbles>
108
112
  <nibbles>15</nibbles>
109
113
  </spaces>
110
114
  <spaces>
111
- <unit>2</unit>
115
+ <unit>4</unit>
116
+ <nibbles>2</nibbles>
112
117
  <nibbles>5</nibbles>
113
118
  <nibbles>15</nibbles>
114
119
  </spaces>
115
120
  <spaces>
116
- <unit>8</unit>
121
+ <unit>4</unit>
122
+ <nibbles>8</nibbles>
117
123
  <nibbles>15</nibbles>
118
124
  </spaces>
119
125
  <spaces>
@@ -130,7 +136,8 @@
130
136
  <nibbles>15</nibbles>
131
137
  </spaces>
132
138
  <spaces>
133
- <unit>1</unit>
139
+ <unit>4</unit>
140
+ <nibbles>1</nibbles>
134
141
  <nibbles>0</nibbles>
135
142
  <nibbles>0</nibbles>
136
143
  <nibbles>15</nibbles>
@@ -149,7 +156,8 @@
149
156
  <nibbles>15</nibbles>
150
157
  </spaces>
151
158
  <spaces>
152
- <unit>8</unit>
159
+ <unit>4</unit>
160
+ <nibbles>8</nibbles>
153
161
  <nibbles>15</nibbles>
154
162
  </spaces>
155
163
  <spaces>
@@ -158,7 +166,8 @@
158
166
  <nibbles>15</nibbles>
159
167
  </spaces>
160
168
  <spaces>
161
- <unit>2</unit>
169
+ <unit>4</unit>
170
+ <nibbles>2</nibbles>
162
171
  <nibbles>10</nibbles>
163
172
  <nibbles>5</nibbles>
164
173
  <nibbles>15</nibbles>
@@ -169,7 +178,8 @@
169
178
  <nibbles>15</nibbles>
170
179
  </spaces>
171
180
  <spaces>
172
- <unit>8</unit>
181
+ <unit>4</unit>
182
+ <nibbles>8</nibbles>
173
183
  <nibbles>15</nibbles>
174
184
  </spaces>
175
185
  <spaces>
@@ -180,7 +190,8 @@
180
190
  <nibbles>15</nibbles>
181
191
  </spaces>
182
192
  <spaces>
183
- <unit>1</unit>
193
+ <unit>4</unit>
194
+ <nibbles>1</nibbles>
184
195
  <nibbles>0</nibbles>
185
196
  <nibbles>0</nibbles>
186
197
  <nibbles>15</nibbles>
@@ -191,7 +202,8 @@
191
202
  <nibbles>15</nibbles>
192
203
  </spaces>
193
204
  <spaces>
194
- <unit>8</unit>
205
+ <unit>4</unit>
206
+ <nibbles>8</nibbles>
195
207
  <nibbles>15</nibbles>
196
208
  </spaces>
197
209
  <spaces>
@@ -206,7 +218,8 @@
206
218
  <nibbles>15</nibbles>
207
219
  </spaces>
208
220
  <spaces>
209
- <unit>1</unit>
221
+ <unit>4</unit>
222
+ <nibbles>1</nibbles>
210
223
  <nibbles>0</nibbles>
211
224
  <nibbles>0</nibbles>
212
225
  <nibbles>15</nibbles>
@@ -231,7 +244,8 @@
231
244
  <nibbles>15</nibbles>
232
245
  </spaces>
233
246
  <spaces>
234
- <unit>5</unit>
247
+ <unit>4</unit>
248
+ <nibbles>5</nibbles>
235
249
  <nibbles>15</nibbles>
236
250
  </spaces>
237
251
  <spaces>
@@ -240,7 +254,8 @@
240
254
  <nibbles>15</nibbles>
241
255
  </spaces>
242
256
  <spaces>
243
- <unit>5</unit>
257
+ <unit>4</unit>
258
+ <nibbles>5</nibbles>
244
259
  <nibbles>15</nibbles>
245
260
  </spaces>
246
261
  <spaces>