mathtype 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mathtype/version.rb +1 -1
- data/lib/records/tmpl.rb +9 -5
- data/spec/fixtures/expected/arrows.xml +0 -14
- data/spec/fixtures/expected/equation5.xml +0 -2
- data/spec/fixtures/input/arrows.bin +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7eaaa1f4bd3e3a40c26c111096b8fcb72be6829c
|
4
|
+
data.tar.gz: 4421575ce6ef566705d44d04419ebd819f4cd08c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 555799391f6ff451d69bc78983b183c1a10137f004430b2b6a7daa8ffc6a264056774b49d6b008b9cce3687f195332b419882fdf6d144ce4d9cfe6c4de07381d
|
7
|
+
data.tar.gz: 03173df0d9de30ee44a53ddd4ec71f06ee3c047d5bd8efb01a313bedf48f7b8d6c5e8217c54a2f5146ab31c1a1281e4d3b1c11032cf0ba25edee0aefec49bea8
|
data/lib/mathtype/version.rb
CHANGED
data/lib/records/tmpl.rb
CHANGED
@@ -313,10 +313,14 @@ module Mathtype
|
|
313
313
|
0x0000 => "tvAR_RIGHT", # if single, arrow points right
|
314
314
|
},
|
315
315
|
0x0002 => "tvAR_HARPOON", # harpoon
|
316
|
-
0x0004 =>
|
317
|
-
|
318
|
-
|
319
|
-
|
316
|
+
0x0004 => { # top slot is present
|
317
|
+
0x0008 => "tvAR_TOPBOTTOM", # both slots are present
|
318
|
+
0x0004 => "tvAR_TOP"
|
319
|
+
},
|
320
|
+
0x0008 => { # bottom slot is present
|
321
|
+
0x0004 => "tvAR_TOPBOTTOM", # both slots are present
|
322
|
+
0x0008 => "tvAR_BOTTOM"
|
323
|
+
}
|
320
324
|
},
|
321
325
|
|
322
326
|
# Integrals (see Limit Variations):
|
@@ -438,7 +442,7 @@ module Mathtype
|
|
438
442
|
else
|
439
443
|
value
|
440
444
|
end
|
441
|
-
end
|
445
|
+
end.uniq
|
442
446
|
end
|
443
447
|
|
444
448
|
def selector
|
@@ -418,8 +418,6 @@
|
|
418
418
|
<selector>tmARROW</selector>
|
419
419
|
<variation>tvAR_SINGLE</variation>
|
420
420
|
<variation>tvAR_RIGHT</variation>
|
421
|
-
<variation>tvAR_TOP</variation>
|
422
|
-
<variation>tvAR_BOTTOM</variation>
|
423
421
|
<variation>tvAR_TOPBOTTOM</variation>
|
424
422
|
<template_specific_options>0</template_specific_options>
|
425
423
|
<sub/>
|
@@ -553,8 +551,6 @@
|
|
553
551
|
<selector>tmARROW</selector>
|
554
552
|
<variation>tvAR_SINGLE</variation>
|
555
553
|
<variation>tvAR_LEFT</variation>
|
556
|
-
<variation>tvAR_TOP</variation>
|
557
|
-
<variation>tvAR_BOTTOM</variation>
|
558
554
|
<variation>tvAR_TOPBOTTOM</variation>
|
559
555
|
<template_specific_options>0</template_specific_options>
|
560
556
|
<sub/>
|
@@ -693,8 +689,6 @@
|
|
693
689
|
<variation>tvAR_SINGLE</variation>
|
694
690
|
<variation>tvAR_LEFT</variation>
|
695
691
|
<variation>tvAR_RIGHT</variation>
|
696
|
-
<variation>tvAR_TOP</variation>
|
697
|
-
<variation>tvAR_BOTTOM</variation>
|
698
692
|
<variation>tvAR_TOPBOTTOM</variation>
|
699
693
|
<template_specific_options>0</template_specific_options>
|
700
694
|
<sub/>
|
@@ -838,8 +832,6 @@
|
|
838
832
|
<selector>tmARROW</selector>
|
839
833
|
<variation>tvAR_SINGLE</variation>
|
840
834
|
<variation>tvAR_DOUBLE</variation>
|
841
|
-
<variation>tvAR_TOP</variation>
|
842
|
-
<variation>tvAR_BOTTOM</variation>
|
843
835
|
<variation>tvAR_TOPBOTTOM</variation>
|
844
836
|
<template_specific_options>0</template_specific_options>
|
845
837
|
<sub/>
|
@@ -993,8 +985,6 @@
|
|
993
985
|
<variation>tvAR_SINGLE</variation>
|
994
986
|
<variation>tvAR_DOUBLE</variation>
|
995
987
|
<variation>tvAR_LOS</variation>
|
996
|
-
<variation>tvAR_TOP</variation>
|
997
|
-
<variation>tvAR_BOTTOM</variation>
|
998
988
|
<variation>tvAR_TOPBOTTOM</variation>
|
999
989
|
<template_specific_options>0</template_specific_options>
|
1000
990
|
<sub/>
|
@@ -1146,8 +1136,6 @@
|
|
1146
1136
|
<variation>tvAR_SINGLE</variation>
|
1147
1137
|
<variation>tvAR_DOUBLE</variation>
|
1148
1138
|
<variation>tvAR_SOL</variation>
|
1149
|
-
<variation>tvAR_TOP</variation>
|
1150
|
-
<variation>tvAR_BOTTOM</variation>
|
1151
1139
|
<variation>tvAR_TOPBOTTOM</variation>
|
1152
1140
|
<template_specific_options>0</template_specific_options>
|
1153
1141
|
<sub/>
|
@@ -1296,8 +1284,6 @@
|
|
1296
1284
|
<selector>tmARROW</selector>
|
1297
1285
|
<variation>tvAR_SINGLE</variation>
|
1298
1286
|
<variation>tvAR_HARPOON</variation>
|
1299
|
-
<variation>tvAR_TOP</variation>
|
1300
|
-
<variation>tvAR_BOTTOM</variation>
|
1301
1287
|
<variation>tvAR_TOPBOTTOM</variation>
|
1302
1288
|
<template_specific_options>0</template_specific_options>
|
1303
1289
|
<sub/>
|
@@ -329,8 +329,6 @@
|
|
329
329
|
<variation>tvAR_SINGLE</variation>
|
330
330
|
<variation>tvAR_LOS</variation>
|
331
331
|
<variation>tvAR_HARPOON</variation>
|
332
|
-
<variation>tvAR_TOP</variation>
|
333
|
-
<variation>tvAR_BOTTOM</variation>
|
334
332
|
<variation>tvAR_TOPBOTTOM</variation>
|
335
333
|
<template_specific_options>0</template_specific_options>
|
336
334
|
<sub/>
|
Binary file
|