mathtype 0.0.4 → 0.0.5

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: 1fb67771d858b97094dc0a5636be37b959aab139
4
- data.tar.gz: fbc9a6d560488bd155cc32be36fb3948cbabf0ec
3
+ metadata.gz: 7eaaa1f4bd3e3a40c26c111096b8fcb72be6829c
4
+ data.tar.gz: 4421575ce6ef566705d44d04419ebd819f4cd08c
5
5
  SHA512:
6
- metadata.gz: 705f9fd5caed5f5cf727697760f578010342d6644d479a3f705c70dd763485aa8a7fe040d50f35aaec4d6214a3d0bdc23fab301ce595db63c0746bd2b2e3cf16
7
- data.tar.gz: e5119491360c30f9b9c5943d5f01e5cf0316c44987d9711fc30c7cbcf8ed4be06f3c52b49f88e6dec2f1b9802b1f65d82f87a2eeb30b58d03465c6b46a958e46
6
+ metadata.gz: 555799391f6ff451d69bc78983b183c1a10137f004430b2b6a7daa8ffc6a264056774b49d6b008b9cce3687f195332b419882fdf6d144ce4d9cfe6c4de07381d
7
+ data.tar.gz: 03173df0d9de30ee44a53ddd4ec71f06ee3c047d5bd8efb01a313bedf48f7b8d6c5e8217c54a2f5146ab31c1a1281e4d3b1c11032cf0ba25edee0aefec49bea8
@@ -1,3 +1,3 @@
1
1
  module Mathtype
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -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 => "tvAR_TOP", # top slot is present
317
- 0x0008 => "tvAR_BOTTOM", # bottom slot is present
318
- # Added combinations and hidden options
319
- 0x000c => "tvAR_TOPBOTTOM", # both slots
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/>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathtype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jure Triglav