mathtype 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7eaaa1f4bd3e3a40c26c111096b8fcb72be6829c
4
- data.tar.gz: 4421575ce6ef566705d44d04419ebd819f4cd08c
3
+ metadata.gz: 2e63e0066203f903b241d4aea4fc49cb5d458163
4
+ data.tar.gz: 9f2e353a480a6906bd627bed7acea5ee1bc95324
5
5
  SHA512:
6
- metadata.gz: 555799391f6ff451d69bc78983b183c1a10137f004430b2b6a7daa8ffc6a264056774b49d6b008b9cce3687f195332b419882fdf6d144ce4d9cfe6c4de07381d
7
- data.tar.gz: 03173df0d9de30ee44a53ddd4ec71f06ee3c047d5bd8efb01a313bedf48f7b8d6c5e8217c54a2f5146ab31c1a1281e4d3b1c11032cf0ba25edee0aefec49bea8
6
+ metadata.gz: 12990769275b638a8d8881576a913129c794e88ee40ed0ec46bd05f3e2795fb25c254f054cadc571bbbbc9c49984853849c1254e172cc8d23aa9c56314c31c10
7
+ data.tar.gz: f316232cc828c7c694dfc040ec555c05341039d487c282182f9a2bf4094f5fe8c61c2bec57f0a39642ffc3b25a11fac32e6e0d711b2f7982e2856927a63fdbbc
@@ -1,3 +1,3 @@
1
1
  module Mathtype
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -65,7 +65,13 @@ module Mathtype
65
65
  end
66
66
 
67
67
  def mt_code_value
68
- sprintf("0x%04X", _mt_code_value)
68
+ mt_code = if _mt_code_value < 0
69
+ 65536 + _mt_code_value # Two's complement
70
+ else
71
+ _mt_code_value
72
+ end
73
+
74
+ sprintf("0x%04X", mt_code)
69
75
  end
70
76
 
71
77
  def typeface
@@ -74,10 +80,10 @@ module Mathtype
74
80
 
75
81
  def variation
76
82
  case typeface
77
- when 8
78
- "mathmode"
79
- when 1
83
+ when 1, 9, 10
80
84
  "textmode"
85
+ else
86
+ "mathmode"
81
87
  end
82
88
  end
83
89
  end
@@ -251,6 +251,13 @@ module Mathtype
251
251
  37 => "tmBOX"
252
252
  }
253
253
 
254
+
255
+ # When options overlap in the binary space, ordinary bitmasks
256
+ # are not the correct tool to use for detection. We use digit
257
+ # position and presence instead.
258
+
259
+ DIGIT_MODE_VARIATIONS = [9]
260
+
254
261
  # Top-level keys are template identifiers, defined in TEMPLATES.
255
262
  # Second-level keys are bits for certain variations, negative keys mean
256
263
  # that the variation is present if the bit is absent.
@@ -264,20 +271,26 @@ module Mathtype
264
271
 
265
272
  # Intervals:
266
273
  9 => {
267
- 0x0000 => "tvINTV_LEFT_LP", # left fence is left parenthesis
268
- 0x0001 => "tvINTV_LEFT_RP", # left fence is right parenthesis
269
- 0x0002 => "tvINTV_LEFT_LB", # left fence is left bracket
270
- 0x0003 => "tvINTV_LEFT_RB", # left fence is right bracket
271
- 0x0004 => "tvINTV_RIGHT_LP", # right fence is left parenthesis # WARNING: DOCUMENTATION SAYS 0x0000?
272
- 0x0010 => "tvINTV_RIGHT_RP", # right fence is right parenthesis
273
- 0x0020 => "tvINTV_RIGHT_LB", # right fence is left bracket
274
- 0x0030 => "tvINTV_RIGHT_RB", # right fence is right bracket
275
- # Added to match MathML translator
276
- 0x0022 => "tvINTV_LBLB",
277
- 0x0033 => "tvINTV_RBRB",
278
- 0x0023 => "tvINTV_RBLB",
279
- 0x0012 => "tvINTV_LBRP",
280
- 0x0030 => "tvINTV_LPRB"
274
+ # 0x0000 => "tvINTV_LEFT_LP", # left fence is left parenthesis
275
+ # 0x0001 => "tvINTV_LEFT_RP", # left fence is right parenthesis
276
+ # 0x0002 => "tvINTV_LEFT_LB", # left fence is left bracket
277
+ # 0x0003 => "tvINTV_LEFT_RB", # left fence is right bracket
278
+ # 0x0004 => "tvINTV_RIGHT_LP", # right fence is left parenthesis # WARNING: DOCUMENTATION SAYS 0x0000?
279
+ # 0x0010 => "tvINTV_RIGHT_RP", # right fence is right parenthesis
280
+ # 0x0020 => "tvINTV_RIGHT_LB", # right fence is left bracket
281
+ # 0x0030 => "tvINTV_RIGHT_RB", # right fence is right bracket
282
+ # Replaced above to match MathML translator
283
+ 0x0002 => {
284
+ 0x0020 => "tvINTV_LBLB", # left bracket, left bracket
285
+ 0x0010 => "tvINTV_LBRP", # left bracket, right parenthesis
286
+ },
287
+ 0x0003 => {
288
+ 0x0030 => "tvINTV_RBRB", # right bracket, right bracket
289
+ 0x0020 => "tvINTV_RBLB", # right bracket, left bracket
290
+ },
291
+ 0x0000 => {
292
+ 0x0030 => "tvINTV_LPRB", # left parenthesis, right bracket
293
+ }
281
294
  },
282
295
 
283
296
  # Radicals (square and nth roots):
@@ -415,28 +428,26 @@ module Mathtype
415
428
  end
416
429
 
417
430
  def variation
418
- variation = (_variation_first_byte & 0x7F) | (_variation_second_byte << 8)
419
- variations = VARIATIONS.select do |selector, _|
431
+ @variation = (_variation_first_byte & 0x7F) | (_variation_second_byte << 8)
432
+ @variations = VARIATIONS.select do |selector, _|
420
433
  selector === _selector
421
434
  end.values.reduce(Hash.new, :merge)
422
435
 
423
- process_variations(variation, variations)
436
+ process_variations
424
437
  end
425
438
 
426
- def process_variations(variation, variations)
427
- variations.select do |bit, value|
428
- # bit should NOT be active
429
- if bit < 0
430
- variation & -bit == 0
431
- # bit should be active
432
- else
433
- variation & bit == bit
439
+ def process_variations
440
+ @variations.select do |flag, _|
441
+ if flag < 0 # flag should NOT be active
442
+ !check_flag(-flag)
443
+ else # flag should be active
444
+ check_flag(flag)
434
445
  end
435
- end.map do |bit, value|
446
+ end.map do |flag, value|
436
447
  case value
437
448
  when Hash # Conditional variations
438
- result = value.detect do |conditional, value|
439
- variation & conditional == conditional
449
+ result = value.detect do |conditional, _|
450
+ check_flag(conditional)
440
451
  end
441
452
  result.last if result
442
453
  else
@@ -445,6 +456,41 @@ module Mathtype
445
456
  end.uniq
446
457
  end
447
458
 
459
+ def check_flag(flag)
460
+ case mode
461
+ when :bitmask
462
+ check_bitmask(flag)
463
+ when :digit
464
+ check_digit(flag)
465
+ end
466
+ end
467
+
468
+ def check_bitmask(flag)
469
+ if flag == 0
470
+ @variation & 0xf == 0
471
+ else
472
+ @variation & flag == flag
473
+ end
474
+ end
475
+
476
+ # E.g. is 0x3 present in 0x33
477
+ def check_digit(flag)
478
+ digits = if flag == 0
479
+ 1
480
+ else
481
+ (Math.log(flag+1)/Math.log(16)).ceil # digits in a hex number
482
+ end
483
+ mask = (15<<(4*digits-4)) # e.g. 0xf0
484
+ variation_digit = (@variation & mask) >> (digits * 4 - 4)
485
+ flag_digit = (flag & mask) >> (digits * 4 - 4)
486
+ variation_digit == flag_digit
487
+ end
488
+
489
+
490
+ def mode
491
+ DIGIT_MODE_VARIATIONS.include?(selector) ? :digit : :bitmask
492
+ end
493
+
448
494
  def selector
449
495
  SELECTORS[_selector]
450
496
  end
@@ -0,0 +1,1082 @@
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>9</product_subversion>
9
+ <application_key>DSMT6</application_key>
10
+ <equation_options>0</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>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>1</unit>
60
+ <nibbles>0</nibbles>
61
+ <nibbles>0</nibbles>
62
+ <nibbles>15</nibbles>
63
+ </sizes>
64
+ <sizes>
65
+ <unit>4</unit>
66
+ <nibbles>7</nibbles>
67
+ <nibbles>5</nibbles>
68
+ <nibbles>15</nibbles>
69
+ </sizes>
70
+ <sizes>
71
+ <unit>4</unit>
72
+ <nibbles>1</nibbles>
73
+ <nibbles>5</nibbles>
74
+ <nibbles>0</nibbles>
75
+ <nibbles>15</nibbles>
76
+ </sizes>
77
+ <sizes>
78
+ <unit>1</unit>
79
+ <nibbles>15</nibbles>
80
+ </sizes>
81
+ <spaces_count>30</spaces_count>
82
+ <spaces>
83
+ <unit>4</unit>
84
+ <nibbles>1</nibbles>
85
+ <nibbles>5</nibbles>
86
+ <nibbles>0</nibbles>
87
+ <nibbles>15</nibbles>
88
+ </spaces>
89
+ <spaces>
90
+ <unit>1</unit>
91
+ <nibbles>5</nibbles>
92
+ <nibbles>0</nibbles>
93
+ <nibbles>15</nibbles>
94
+ </spaces>
95
+ <spaces>
96
+ <unit>4</unit>
97
+ <nibbles>1</nibbles>
98
+ <nibbles>0</nibbles>
99
+ <nibbles>0</nibbles>
100
+ <nibbles>15</nibbles>
101
+ </spaces>
102
+ <spaces>
103
+ <unit>4</unit>
104
+ <nibbles>5</nibbles>
105
+ <nibbles>15</nibbles>
106
+ </spaces>
107
+ <spaces>
108
+ <unit>2</unit>
109
+ <nibbles>5</nibbles>
110
+ <nibbles>15</nibbles>
111
+ </spaces>
112
+ <spaces>
113
+ <unit>8</unit>
114
+ <nibbles>15</nibbles>
115
+ </spaces>
116
+ <spaces>
117
+ <unit>4</unit>
118
+ <nibbles>2</nibbles>
119
+ <nibbles>5</nibbles>
120
+ <nibbles>15</nibbles>
121
+ </spaces>
122
+ <spaces>
123
+ <unit>4</unit>
124
+ <nibbles>1</nibbles>
125
+ <nibbles>0</nibbles>
126
+ <nibbles>0</nibbles>
127
+ <nibbles>15</nibbles>
128
+ </spaces>
129
+ <spaces>
130
+ <unit>1</unit>
131
+ <nibbles>0</nibbles>
132
+ <nibbles>0</nibbles>
133
+ <nibbles>15</nibbles>
134
+ </spaces>
135
+ <spaces>
136
+ <unit>4</unit>
137
+ <nibbles>3</nibbles>
138
+ <nibbles>5</nibbles>
139
+ <nibbles>15</nibbles>
140
+ </spaces>
141
+ <spaces>
142
+ <unit>4</unit>
143
+ <nibbles>1</nibbles>
144
+ <nibbles>0</nibbles>
145
+ <nibbles>0</nibbles>
146
+ <nibbles>15</nibbles>
147
+ </spaces>
148
+ <spaces>
149
+ <unit>8</unit>
150
+ <nibbles>15</nibbles>
151
+ </spaces>
152
+ <spaces>
153
+ <unit>4</unit>
154
+ <nibbles>5</nibbles>
155
+ <nibbles>15</nibbles>
156
+ </spaces>
157
+ <spaces>
158
+ <unit>2</unit>
159
+ <nibbles>10</nibbles>
160
+ <nibbles>5</nibbles>
161
+ <nibbles>15</nibbles>
162
+ </spaces>
163
+ <spaces>
164
+ <unit>4</unit>
165
+ <nibbles>8</nibbles>
166
+ <nibbles>15</nibbles>
167
+ </spaces>
168
+ <spaces>
169
+ <unit>8</unit>
170
+ <nibbles>15</nibbles>
171
+ </spaces>
172
+ <spaces>
173
+ <unit>4</unit>
174
+ <nibbles>1</nibbles>
175
+ <nibbles>0</nibbles>
176
+ <nibbles>0</nibbles>
177
+ <nibbles>15</nibbles>
178
+ </spaces>
179
+ <spaces>
180
+ <unit>1</unit>
181
+ <nibbles>0</nibbles>
182
+ <nibbles>0</nibbles>
183
+ <nibbles>15</nibbles>
184
+ </spaces>
185
+ <spaces>
186
+ <unit>4</unit>
187
+ <nibbles>0</nibbles>
188
+ <nibbles>15</nibbles>
189
+ </spaces>
190
+ <spaces>
191
+ <unit>8</unit>
192
+ <nibbles>15</nibbles>
193
+ </spaces>
194
+ <spaces>
195
+ <unit>4</unit>
196
+ <nibbles>1</nibbles>
197
+ <nibbles>7</nibbles>
198
+ <nibbles>15</nibbles>
199
+ </spaces>
200
+ <spaces>
201
+ <unit>4</unit>
202
+ <nibbles>8</nibbles>
203
+ <nibbles>15</nibbles>
204
+ </spaces>
205
+ <spaces>
206
+ <unit>1</unit>
207
+ <nibbles>0</nibbles>
208
+ <nibbles>0</nibbles>
209
+ <nibbles>15</nibbles>
210
+ </spaces>
211
+ <spaces>
212
+ <unit>4</unit>
213
+ <nibbles>1</nibbles>
214
+ <nibbles>2</nibbles>
215
+ <nibbles>10</nibbles>
216
+ <nibbles>5</nibbles>
217
+ <nibbles>15</nibbles>
218
+ </spaces>
219
+ <spaces>
220
+ <unit>4</unit>
221
+ <nibbles>4</nibbles>
222
+ <nibbles>5</nibbles>
223
+ <nibbles>15</nibbles>
224
+ </spaces>
225
+ <spaces>
226
+ <unit>4</unit>
227
+ <nibbles>5</nibbles>
228
+ <nibbles>15</nibbles>
229
+ </spaces>
230
+ <spaces>
231
+ <unit>5</unit>
232
+ <nibbles>15</nibbles>
233
+ </spaces>
234
+ <spaces>
235
+ <unit>4</unit>
236
+ <nibbles>5</nibbles>
237
+ <nibbles>15</nibbles>
238
+ </spaces>
239
+ <spaces>
240
+ <unit>5</unit>
241
+ <nibbles>15</nibbles>
242
+ </spaces>
243
+ <spaces>
244
+ <unit>4</unit>
245
+ <nibbles>1</nibbles>
246
+ <nibbles>0</nibbles>
247
+ <nibbles>15</nibbles>
248
+ </spaces>
249
+ <styles_count>12</styles_count>
250
+ <styles>
251
+ <font_def>1</font_def>
252
+ <font_style>0</font_style>
253
+ </styles>
254
+ <styles>
255
+ <font_def>1</font_def>
256
+ <font_style>0</font_style>
257
+ </styles>
258
+ <styles>
259
+ <font_def>1</font_def>
260
+ <font_style>2</font_style>
261
+ </styles>
262
+ <styles>
263
+ <font_def>2</font_def>
264
+ <font_style>2</font_style>
265
+ </styles>
266
+ <styles>
267
+ <font_def>2</font_def>
268
+ <font_style>0</font_style>
269
+ </styles>
270
+ <styles>
271
+ <font_def>2</font_def>
272
+ <font_style>0</font_style>
273
+ </styles>
274
+ <styles>
275
+ <font_def>1</font_def>
276
+ <font_style>1</font_style>
277
+ </styles>
278
+ <styles>
279
+ <font_def>1</font_def>
280
+ <font_style>0</font_style>
281
+ </styles>
282
+ <styles>
283
+ <font_def>3</font_def>
284
+ <font_style>0</font_style>
285
+ </styles>
286
+ <styles>
287
+ <font_def>1</font_def>
288
+ <font_style>0</font_style>
289
+ </styles>
290
+ <styles>
291
+ <font_def>4</font_def>
292
+ <font_style>0</font_style>
293
+ </styles>
294
+ <styles>
295
+ <font_def>0</font_def>
296
+ </styles>
297
+ </eqn_prefs>
298
+ <full/>
299
+ <pile>
300
+ <options>0</options>
301
+ <halign>left</halign>
302
+ <valign>center_baseline</valign>
303
+ <slot>
304
+ <options>0</options>
305
+ <char>
306
+ <typeface>24</typeface>
307
+ <mt_code_value>0xEF05</mt_code_value>
308
+ <options>0</options>
309
+ <variation>mathmode</variation>
310
+ </char>
311
+ <char>
312
+ <typeface>24</typeface>
313
+ <mt_code_value>0xEF05</mt_code_value>
314
+ <options>0</options>
315
+ <variation>mathmode</variation>
316
+ </char>
317
+ <char>
318
+ <typeface>24</typeface>
319
+ <mt_code_value>0xEF02</mt_code_value>
320
+ <options>0</options>
321
+ <variation>mathmode</variation>
322
+ </char>
323
+ <tmpl>
324
+ <selector>tmLIM</selector>
325
+ <variation>tvBO_LOWER</variation>
326
+ <variation>tvBO_INT</variation>
327
+ <variation>tvSUBAR</variation>
328
+ <template_specific_options>0</template_specific_options>
329
+ <slot>
330
+ <options>0</options>
331
+ <color_def>
332
+ <options>0</options>
333
+ <rgb>
334
+ <r>0</r>
335
+ <g>0</g>
336
+ <b>0</b>
337
+ </rgb>
338
+ </color_def>
339
+ <color>
340
+ <color_def_index>1</color_def_index>
341
+ </color>
342
+ <char>
343
+ <typeface>2</typeface>
344
+ <mt_code_value>0x006D</mt_code_value>
345
+ <options>2</options>
346
+ <variation>mathmode</variation>
347
+ </char>
348
+ <char>
349
+ <typeface>2</typeface>
350
+ <mt_code_value>0x0069</mt_code_value>
351
+ <options>0</options>
352
+ <variation>mathmode</variation>
353
+ </char>
354
+ <char>
355
+ <typeface>2</typeface>
356
+ <mt_code_value>0x006E</mt_code_value>
357
+ <options>0</options>
358
+ <variation>mathmode</variation>
359
+ </char>
360
+ <end/>
361
+ </slot>
362
+ <sub/>
363
+ <color>
364
+ <color_def_index>0</color_def_index>
365
+ </color>
366
+ <slot>
367
+ <options>0</options>
368
+ <color>
369
+ <color_def_index>1</color_def_index>
370
+ </color>
371
+ <char>
372
+ <typeface>3</typeface>
373
+ <mt_code_value>0x0077</mt_code_value>
374
+ <options>0</options>
375
+ <variation>mathmode</variation>
376
+ </char>
377
+ <char>
378
+ <typeface>2</typeface>
379
+ <mt_code_value>0x002C</mt_code_value>
380
+ <options>0</options>
381
+ <variation>mathmode</variation>
382
+ </char>
383
+ <char>
384
+ <typeface>3</typeface>
385
+ <mt_code_value>0x0062</mt_code_value>
386
+ <options>0</options>
387
+ <variation>mathmode</variation>
388
+ </char>
389
+ <char>
390
+ <typeface>2</typeface>
391
+ <mt_code_value>0x002C</mt_code_value>
392
+ <options>0</options>
393
+ <variation>mathmode</variation>
394
+ </char>
395
+ <char>
396
+ <typeface>4</typeface>
397
+ <mt_code_value>0x03BE</mt_code_value>
398
+ <options>4</options>
399
+ <font_position>120</font_position>
400
+ <variation>mathmode</variation>
401
+ </char>
402
+ <end/>
403
+ </slot>
404
+ <color>
405
+ <color_def_index>0</color_def_index>
406
+ </color>
407
+ <slot>
408
+ <options>1</options>
409
+ </slot>
410
+ <end/>
411
+ </tmpl>
412
+ <full/>
413
+ <char>
414
+ <typeface>24</typeface>
415
+ <mt_code_value>0xEF05</mt_code_value>
416
+ <options>0</options>
417
+ <variation>mathmode</variation>
418
+ </char>
419
+ <char>
420
+ <typeface>24</typeface>
421
+ <mt_code_value>0xEF04</mt_code_value>
422
+ <options>0</options>
423
+ <variation>mathmode</variation>
424
+ </char>
425
+ <color>
426
+ <color_def_index>1</color_def_index>
427
+ </color>
428
+ <tmpl>
429
+ <selector>tmFRACT</selector>
430
+ <template_specific_options>0</template_specific_options>
431
+ <color>
432
+ <color_def_index>0</color_def_index>
433
+ </color>
434
+ <slot>
435
+ <options>0</options>
436
+ <color>
437
+ <color_def_index>1</color_def_index>
438
+ </color>
439
+ <char>
440
+ <typeface>8</typeface>
441
+ <mt_code_value>0x0031</mt_code_value>
442
+ <options>0</options>
443
+ <variation>mathmode</variation>
444
+ </char>
445
+ <end/>
446
+ </slot>
447
+ <color>
448
+ <color_def_index>0</color_def_index>
449
+ </color>
450
+ <slot>
451
+ <options>0</options>
452
+ <color>
453
+ <color_def_index>1</color_def_index>
454
+ </color>
455
+ <char>
456
+ <typeface>8</typeface>
457
+ <mt_code_value>0x0032</mt_code_value>
458
+ <options>0</options>
459
+ <variation>mathmode</variation>
460
+ </char>
461
+ <end/>
462
+ </slot>
463
+ <end/>
464
+ </tmpl>
465
+ <char>
466
+ <typeface>3</typeface>
467
+ <mt_code_value>0x0077</mt_code_value>
468
+ <options>0</options>
469
+ <variation>mathmode</variation>
470
+ </char>
471
+ <color>
472
+ <color_def_index>0</color_def_index>
473
+ </color>
474
+ <tmpl>
475
+ <selector>tmSUP</selector>
476
+ <template_specific_options>0</template_specific_options>
477
+ <sub/>
478
+ <slot>
479
+ <options>1</options>
480
+ </slot>
481
+ <slot>
482
+ <options>0</options>
483
+ <color>
484
+ <color_def_index>1</color_def_index>
485
+ </color>
486
+ <char>
487
+ <typeface>3</typeface>
488
+ <mt_code_value>0x0054</mt_code_value>
489
+ <options>0</options>
490
+ <variation>mathmode</variation>
491
+ </char>
492
+ <end/>
493
+ </slot>
494
+ <end/>
495
+ </tmpl>
496
+ <full/>
497
+ <char>
498
+ <typeface>3</typeface>
499
+ <mt_code_value>0x0077</mt_code_value>
500
+ <options>0</options>
501
+ <variation>mathmode</variation>
502
+ </char>
503
+ <char>
504
+ <typeface>6</typeface>
505
+ <mt_code_value>0x002B</mt_code_value>
506
+ <options>4</options>
507
+ <font_position>43</font_position>
508
+ <variation>mathmode</variation>
509
+ </char>
510
+ <char>
511
+ <typeface>3</typeface>
512
+ <mt_code_value>0x0043</mt_code_value>
513
+ <options>0</options>
514
+ <variation>mathmode</variation>
515
+ </char>
516
+ <tmpl>
517
+ <selector>tmSUMOP</selector>
518
+ <variation>tvBO_LOWER</variation>
519
+ <variation>tvBO_UPPER</variation>
520
+ <variation>tvBO_SUM</variation>
521
+ <template_specific_options>0</template_specific_options>
522
+ <slot>
523
+ <options>1</options>
524
+ </slot>
525
+ <sub/>
526
+ <color>
527
+ <color_def_index>0</color_def_index>
528
+ </color>
529
+ <slot>
530
+ <options>0</options>
531
+ <color>
532
+ <color_def_index>1</color_def_index>
533
+ </color>
534
+ <char>
535
+ <typeface>3</typeface>
536
+ <mt_code_value>0x0069</mt_code_value>
537
+ <options>0</options>
538
+ <variation>mathmode</variation>
539
+ </char>
540
+ <char>
541
+ <typeface>6</typeface>
542
+ <mt_code_value>0x003D</mt_code_value>
543
+ <options>4</options>
544
+ <font_position>61</font_position>
545
+ <variation>mathmode</variation>
546
+ </char>
547
+ <char>
548
+ <typeface>8</typeface>
549
+ <mt_code_value>0x0031</mt_code_value>
550
+ <options>0</options>
551
+ <variation>mathmode</variation>
552
+ </char>
553
+ <end/>
554
+ </slot>
555
+ <color>
556
+ <color_def_index>0</color_def_index>
557
+ </color>
558
+ <slot>
559
+ <options>0</options>
560
+ <color>
561
+ <color_def_index>1</color_def_index>
562
+ </color>
563
+ <char>
564
+ <typeface>3</typeface>
565
+ <mt_code_value>0x006C</mt_code_value>
566
+ <options>0</options>
567
+ <variation>mathmode</variation>
568
+ </char>
569
+ <end/>
570
+ </slot>
571
+ <sym/>
572
+ <color>
573
+ <color_def_index>0</color_def_index>
574
+ </color>
575
+ <slot>
576
+ <options>0</options>
577
+ <color>
578
+ <color_def_index>1</color_def_index>
579
+ </color>
580
+ <char>
581
+ <typeface>6</typeface>
582
+ <mt_code_value>0x2211</mt_code_value>
583
+ <options>4</options>
584
+ <font_position>229</font_position>
585
+ <variation>mathmode</variation>
586
+ </char>
587
+ <end/>
588
+ </slot>
589
+ <end/>
590
+ </tmpl>
591
+ <full/>
592
+ <char>
593
+ <typeface>4</typeface>
594
+ <mt_code_value>0x03BE</mt_code_value>
595
+ <options>4</options>
596
+ <font_position>120</font_position>
597
+ <variation>mathmode</variation>
598
+ </char>
599
+ <color>
600
+ <color_def_index>0</color_def_index>
601
+ </color>
602
+ <tmpl>
603
+ <selector>tmSUB</selector>
604
+ <template_specific_options>0</template_specific_options>
605
+ <sub/>
606
+ <slot>
607
+ <options>0</options>
608
+ <color>
609
+ <color_def_index>1</color_def_index>
610
+ </color>
611
+ <char>
612
+ <typeface>3</typeface>
613
+ <mt_code_value>0x0069</mt_code_value>
614
+ <options>0</options>
615
+ <variation>mathmode</variation>
616
+ </char>
617
+ <end/>
618
+ </slot>
619
+ <color>
620
+ <color_def_index>0</color_def_index>
621
+ </color>
622
+ <slot>
623
+ <options>1</options>
624
+ </slot>
625
+ <end/>
626
+ </tmpl>
627
+ <end/>
628
+ </slot>
629
+ <full/>
630
+ <slot>
631
+ <options>0</options>
632
+ <color>
633
+ <color_def_index>1</color_def_index>
634
+ </color>
635
+ <char>
636
+ <typeface>1</typeface>
637
+ <mt_code_value>0x0073</mt_code_value>
638
+ <options>0</options>
639
+ <variation>textmode</variation>
640
+ </char>
641
+ <char>
642
+ <typeface>1</typeface>
643
+ <mt_code_value>0x0075</mt_code_value>
644
+ <options>0</options>
645
+ <variation>textmode</variation>
646
+ </char>
647
+ <char>
648
+ <typeface>1</typeface>
649
+ <mt_code_value>0x0062</mt_code_value>
650
+ <options>0</options>
651
+ <variation>textmode</variation>
652
+ </char>
653
+ <char>
654
+ <typeface>1</typeface>
655
+ <mt_code_value>0x006A</mt_code_value>
656
+ <options>0</options>
657
+ <variation>textmode</variation>
658
+ </char>
659
+ <char>
660
+ <typeface>1</typeface>
661
+ <mt_code_value>0x0065</mt_code_value>
662
+ <options>0</options>
663
+ <variation>textmode</variation>
664
+ </char>
665
+ <char>
666
+ <typeface>1</typeface>
667
+ <mt_code_value>0x0063</mt_code_value>
668
+ <options>0</options>
669
+ <variation>textmode</variation>
670
+ </char>
671
+ <char>
672
+ <typeface>1</typeface>
673
+ <mt_code_value>0x0074</mt_code_value>
674
+ <options>0</options>
675
+ <variation>textmode</variation>
676
+ </char>
677
+ <char>
678
+ <typeface>24</typeface>
679
+ <mt_code_value>0xEF04</mt_code_value>
680
+ <options>0</options>
681
+ <variation>mathmode</variation>
682
+ </char>
683
+ <char>
684
+ <typeface>1</typeface>
685
+ <mt_code_value>0x0074</mt_code_value>
686
+ <options>0</options>
687
+ <variation>textmode</variation>
688
+ </char>
689
+ <char>
690
+ <typeface>1</typeface>
691
+ <mt_code_value>0x006F</mt_code_value>
692
+ <options>0</options>
693
+ <variation>textmode</variation>
694
+ </char>
695
+ <char>
696
+ <typeface>1</typeface>
697
+ <mt_code_value>0x00A0</mt_code_value>
698
+ <options>0</options>
699
+ <variation>textmode</variation>
700
+ </char>
701
+ <char>
702
+ <typeface>24</typeface>
703
+ <mt_code_value>0xEF04</mt_code_value>
704
+ <options>0</options>
705
+ <variation>mathmode</variation>
706
+ </char>
707
+ <char>
708
+ <typeface>24</typeface>
709
+ <mt_code_value>0xEF05</mt_code_value>
710
+ <options>0</options>
711
+ <variation>mathmode</variation>
712
+ </char>
713
+ <char>
714
+ <typeface>3</typeface>
715
+ <mt_code_value>0x0079</mt_code_value>
716
+ <options>0</options>
717
+ <variation>mathmode</variation>
718
+ </char>
719
+ <color>
720
+ <color_def_index>0</color_def_index>
721
+ </color>
722
+ <tmpl>
723
+ <selector>tmSUB</selector>
724
+ <template_specific_options>0</template_specific_options>
725
+ <sub/>
726
+ <slot>
727
+ <options>0</options>
728
+ <color>
729
+ <color_def_index>1</color_def_index>
730
+ </color>
731
+ <char>
732
+ <typeface>3</typeface>
733
+ <mt_code_value>0x0069</mt_code_value>
734
+ <options>0</options>
735
+ <variation>mathmode</variation>
736
+ </char>
737
+ <end/>
738
+ </slot>
739
+ <color>
740
+ <color_def_index>0</color_def_index>
741
+ </color>
742
+ <slot>
743
+ <options>1</options>
744
+ </slot>
745
+ <end/>
746
+ </tmpl>
747
+ <full/>
748
+ <char>
749
+ <typeface>2</typeface>
750
+ <mt_code_value>0x0028</mt_code_value>
751
+ <options>0</options>
752
+ <variation>mathmode</variation>
753
+ </char>
754
+ <color>
755
+ <color_def_index>1</color_def_index>
756
+ </color>
757
+ <char>
758
+ <typeface>3</typeface>
759
+ <mt_code_value>0x0077</mt_code_value>
760
+ <options>0</options>
761
+ <variation>mathmode</variation>
762
+ </char>
763
+ <color>
764
+ <color_def_index>0</color_def_index>
765
+ </color>
766
+ <tmpl>
767
+ <selector>tmSUP</selector>
768
+ <template_specific_options>0</template_specific_options>
769
+ <sub/>
770
+ <slot>
771
+ <options>1</options>
772
+ </slot>
773
+ <slot>
774
+ <options>0</options>
775
+ <color>
776
+ <color_def_index>1</color_def_index>
777
+ </color>
778
+ <char>
779
+ <typeface>3</typeface>
780
+ <mt_code_value>0x0054</mt_code_value>
781
+ <options>0</options>
782
+ <variation>mathmode</variation>
783
+ </char>
784
+ <end/>
785
+ </slot>
786
+ <end/>
787
+ </tmpl>
788
+ <full/>
789
+ <color>
790
+ <color_def_index>0</color_def_index>
791
+ </color>
792
+ <char>
793
+ <typeface>4</typeface>
794
+ <mt_code_value>0x03D5</mt_code_value>
795
+ <options>4</options>
796
+ <font_position>102</font_position>
797
+ <variation>mathmode</variation>
798
+ </char>
799
+ <tmpl>
800
+ <selector>tmPAREN</selector>
801
+ <variation>tvFENCE_L</variation>
802
+ <variation>tvFENCE_R</variation>
803
+ <template_specific_options>0</template_specific_options>
804
+ <slot>
805
+ <options>0</options>
806
+ <color>
807
+ <color_def_index>1</color_def_index>
808
+ </color>
809
+ <char>
810
+ <typeface>3</typeface>
811
+ <mt_code_value>0x0078</mt_code_value>
812
+ <options>0</options>
813
+ <variation>mathmode</variation>
814
+ </char>
815
+ <color>
816
+ <color_def_index>0</color_def_index>
817
+ </color>
818
+ <tmpl>
819
+ <selector>tmSUB</selector>
820
+ <template_specific_options>0</template_specific_options>
821
+ <sub/>
822
+ <slot>
823
+ <options>0</options>
824
+ <color>
825
+ <color_def_index>1</color_def_index>
826
+ </color>
827
+ <char>
828
+ <typeface>3</typeface>
829
+ <mt_code_value>0x0069</mt_code_value>
830
+ <options>0</options>
831
+ <variation>mathmode</variation>
832
+ </char>
833
+ <end/>
834
+ </slot>
835
+ <color>
836
+ <color_def_index>0</color_def_index>
837
+ </color>
838
+ <slot>
839
+ <options>1</options>
840
+ </slot>
841
+ <end/>
842
+ </tmpl>
843
+ <end/>
844
+ </slot>
845
+ <full/>
846
+ <char>
847
+ <typeface>22</typeface>
848
+ <mt_code_value>0x0028</mt_code_value>
849
+ <options>0</options>
850
+ <variation>mathmode</variation>
851
+ </char>
852
+ <char>
853
+ <typeface>22</typeface>
854
+ <mt_code_value>0x0029</mt_code_value>
855
+ <options>0</options>
856
+ <variation>mathmode</variation>
857
+ </char>
858
+ <end/>
859
+ </tmpl>
860
+ <color>
861
+ <color_def_index>1</color_def_index>
862
+ </color>
863
+ <char>
864
+ <typeface>6</typeface>
865
+ <mt_code_value>0x002B</mt_code_value>
866
+ <options>4</options>
867
+ <font_position>43</font_position>
868
+ <variation>mathmode</variation>
869
+ </char>
870
+ <char>
871
+ <typeface>3</typeface>
872
+ <mt_code_value>0x0062</mt_code_value>
873
+ <options>0</options>
874
+ <variation>mathmode</variation>
875
+ </char>
876
+ <color>
877
+ <color_def_index>0</color_def_index>
878
+ </color>
879
+ <char>
880
+ <typeface>2</typeface>
881
+ <mt_code_value>0x0029</mt_code_value>
882
+ <options>0</options>
883
+ <variation>mathmode</variation>
884
+ </char>
885
+ <color>
886
+ <color_def_index>1</color_def_index>
887
+ </color>
888
+ <char>
889
+ <typeface>2</typeface>
890
+ <mt_code_value>0x00A0</mt_code_value>
891
+ <options>0</options>
892
+ <variation>mathmode</variation>
893
+ </char>
894
+ <char>
895
+ <typeface>24</typeface>
896
+ <mt_code_value>0xEF04</mt_code_value>
897
+ <options>0</options>
898
+ <variation>mathmode</variation>
899
+ </char>
900
+ <char>
901
+ <typeface>6</typeface>
902
+ <mt_code_value>0x2265</mt_code_value>
903
+ <options>4</options>
904
+ <font_position>179</font_position>
905
+ <variation>mathmode</variation>
906
+ </char>
907
+ <char>
908
+ <typeface>24</typeface>
909
+ <mt_code_value>0xEF04</mt_code_value>
910
+ <options>0</options>
911
+ <variation>mathmode</variation>
912
+ </char>
913
+ <char>
914
+ <typeface>8</typeface>
915
+ <mt_code_value>0x0031</mt_code_value>
916
+ <options>0</options>
917
+ <variation>mathmode</variation>
918
+ </char>
919
+ <char>
920
+ <typeface>6</typeface>
921
+ <mt_code_value>0x2212</mt_code_value>
922
+ <options>4</options>
923
+ <font_position>45</font_position>
924
+ <variation>mathmode</variation>
925
+ </char>
926
+ <char>
927
+ <typeface>4</typeface>
928
+ <mt_code_value>0x03BE</mt_code_value>
929
+ <options>4</options>
930
+ <font_position>120</font_position>
931
+ <variation>mathmode</variation>
932
+ </char>
933
+ <color>
934
+ <color_def_index>0</color_def_index>
935
+ </color>
936
+ <tmpl>
937
+ <selector>tmSUB</selector>
938
+ <template_specific_options>0</template_specific_options>
939
+ <sub/>
940
+ <slot>
941
+ <options>0</options>
942
+ <color>
943
+ <color_def_index>1</color_def_index>
944
+ </color>
945
+ <char>
946
+ <typeface>3</typeface>
947
+ <mt_code_value>0x0069</mt_code_value>
948
+ <options>0</options>
949
+ <variation>mathmode</variation>
950
+ </char>
951
+ <end/>
952
+ </slot>
953
+ <color>
954
+ <color_def_index>0</color_def_index>
955
+ </color>
956
+ <slot>
957
+ <options>1</options>
958
+ </slot>
959
+ <end/>
960
+ </tmpl>
961
+ <end/>
962
+ </slot>
963
+ <full/>
964
+ <color>
965
+ <color_def_index>1</color_def_index>
966
+ </color>
967
+ <slot>
968
+ <options>0</options>
969
+ <char>
970
+ <typeface>24</typeface>
971
+ <mt_code_value>0xEF05</mt_code_value>
972
+ <options>0</options>
973
+ <variation>mathmode</variation>
974
+ </char>
975
+ <char>
976
+ <typeface>24</typeface>
977
+ <mt_code_value>0xEF05</mt_code_value>
978
+ <options>0</options>
979
+ <variation>mathmode</variation>
980
+ </char>
981
+ <char>
982
+ <typeface>24</typeface>
983
+ <mt_code_value>0xEF05</mt_code_value>
984
+ <options>0</options>
985
+ <variation>mathmode</variation>
986
+ </char>
987
+ <char>
988
+ <typeface>24</typeface>
989
+ <mt_code_value>0xEF05</mt_code_value>
990
+ <options>0</options>
991
+ <variation>mathmode</variation>
992
+ </char>
993
+ <char>
994
+ <typeface>24</typeface>
995
+ <mt_code_value>0xEF05</mt_code_value>
996
+ <options>0</options>
997
+ <variation>mathmode</variation>
998
+ </char>
999
+ <char>
1000
+ <typeface>4</typeface>
1001
+ <mt_code_value>0x03BE</mt_code_value>
1002
+ <options>4</options>
1003
+ <font_position>120</font_position>
1004
+ <variation>mathmode</variation>
1005
+ </char>
1006
+ <color>
1007
+ <color_def_index>0</color_def_index>
1008
+ </color>
1009
+ <tmpl>
1010
+ <selector>tmSUB</selector>
1011
+ <template_specific_options>0</template_specific_options>
1012
+ <sub/>
1013
+ <slot>
1014
+ <options>0</options>
1015
+ <color>
1016
+ <color_def_index>1</color_def_index>
1017
+ </color>
1018
+ <char>
1019
+ <typeface>3</typeface>
1020
+ <mt_code_value>0x0069</mt_code_value>
1021
+ <options>0</options>
1022
+ <variation>mathmode</variation>
1023
+ </char>
1024
+ <end/>
1025
+ </slot>
1026
+ <color>
1027
+ <color_def_index>0</color_def_index>
1028
+ </color>
1029
+ <slot>
1030
+ <options>1</options>
1031
+ </slot>
1032
+ <end/>
1033
+ </tmpl>
1034
+ <full/>
1035
+ <color>
1036
+ <color_def_index>1</color_def_index>
1037
+ </color>
1038
+ <char>
1039
+ <typeface>6</typeface>
1040
+ <mt_code_value>0x2265</mt_code_value>
1041
+ <options>4</options>
1042
+ <font_position>179</font_position>
1043
+ <variation>mathmode</variation>
1044
+ </char>
1045
+ <char>
1046
+ <typeface>8</typeface>
1047
+ <mt_code_value>0x0030</mt_code_value>
1048
+ <options>0</options>
1049
+ <variation>mathmode</variation>
1050
+ </char>
1051
+ <char>
1052
+ <typeface>2</typeface>
1053
+ <mt_code_value>0x002C</mt_code_value>
1054
+ <options>0</options>
1055
+ <variation>mathmode</variation>
1056
+ </char>
1057
+ <char>
1058
+ <typeface>24</typeface>
1059
+ <mt_code_value>0xEF05</mt_code_value>
1060
+ <options>0</options>
1061
+ <variation>mathmode</variation>
1062
+ </char>
1063
+ <char>
1064
+ <typeface>6</typeface>
1065
+ <mt_code_value>0x2200</mt_code_value>
1066
+ <options>4</options>
1067
+ <font_position>34</font_position>
1068
+ <variation>mathmode</variation>
1069
+ </char>
1070
+ <char>
1071
+ <typeface>3</typeface>
1072
+ <mt_code_value>0x0069</mt_code_value>
1073
+ <options>0</options>
1074
+ <variation>mathmode</variation>
1075
+ </char>
1076
+ <end/>
1077
+ </slot>
1078
+ <end/>
1079
+ </pile>
1080
+ <end/>
1081
+ </mtef>
1082
+ </root>