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 +4 -4
- data/lib/mathtype/version.rb +1 -1
- data/lib/records/char.rb +10 -4
- data/lib/records/tmpl.rb +74 -28
- data/spec/fixtures/expected/299.xml +1082 -0
- data/spec/fixtures/expected/arrows.xml +404 -34
- data/spec/fixtures/expected/embellishments.xml +63 -0
- data/spec/fixtures/expected/equation1.xml +16 -0
- data/spec/fixtures/expected/equation10.xml +4 -0
- data/spec/fixtures/expected/equation11.xml +6 -0
- data/spec/fixtures/expected/equation12.xml +12 -0
- data/spec/fixtures/expected/equation13.xml +39 -0
- data/spec/fixtures/expected/equation2.xml +8 -0
- data/spec/fixtures/expected/equation3.xml +64 -1
- data/spec/fixtures/expected/equation4.xml +0 -1
- data/spec/fixtures/expected/equation5.xml +6 -1
- data/spec/fixtures/expected/equation6.xml +5 -3
- data/spec/fixtures/expected/equation7.xml +4 -0
- data/spec/fixtures/expected/equation8.xml +3 -0
- data/spec/fixtures/expected/equation9.xml +2 -0
- data/spec/fixtures/expected/fences.xml +1538 -0
- data/spec/fixtures/expected/integrals.xml +1751 -0
- data/spec/fixtures/expected/sizes.xml +7 -0
- data/spec/fixtures/input/299.bin +0 -0
- data/spec/fixtures/input/fences.bin +0 -0
- data/spec/fixtures/input/integrals.bin +0 -0
- data/spec/spec_helper.rb +0 -5
- metadata +14 -2
@@ -331,6 +331,7 @@
|
|
331
331
|
<typeface>3</typeface>
|
332
332
|
<mt_code_value>0x0074</mt_code_value>
|
333
333
|
<options>0</options>
|
334
|
+
<variation>mathmode</variation>
|
334
335
|
</char>
|
335
336
|
<tmpl>
|
336
337
|
<selector>tmINTER</selector>
|
@@ -344,6 +345,7 @@
|
|
344
345
|
<typeface>3</typeface>
|
345
346
|
<mt_code_value>0x0058</mt_code_value>
|
346
347
|
<options>0</options>
|
348
|
+
<variation>mathmode</variation>
|
347
349
|
</char>
|
348
350
|
<tmpl>
|
349
351
|
<selector>tmSUB</selector>
|
@@ -355,6 +357,7 @@
|
|
355
357
|
<typeface>3</typeface>
|
356
358
|
<mt_code_value>0x0069</mt_code_value>
|
357
359
|
<options>0</options>
|
360
|
+
<variation>mathmode</variation>
|
358
361
|
</char>
|
359
362
|
<end/>
|
360
363
|
</slot>
|
@@ -371,12 +374,14 @@
|
|
371
374
|
<typeface>3</typeface>
|
372
375
|
<mt_code_value>0x0069</mt_code_value>
|
373
376
|
<options>0</options>
|
377
|
+
<variation>mathmode</variation>
|
374
378
|
</char>
|
375
379
|
<char>
|
376
380
|
<typeface>6</typeface>
|
377
381
|
<mt_code_value>0x003D</mt_code_value>
|
378
382
|
<options>4</options>
|
379
383
|
<font_position>61</font_position>
|
384
|
+
<variation>mathmode</variation>
|
380
385
|
</char>
|
381
386
|
<char>
|
382
387
|
<typeface>8</typeface>
|
@@ -392,6 +397,7 @@
|
|
392
397
|
<typeface>3</typeface>
|
393
398
|
<mt_code_value>0x006E</mt_code_value>
|
394
399
|
<options>0</options>
|
400
|
+
<variation>mathmode</variation>
|
395
401
|
</char>
|
396
402
|
<end/>
|
397
403
|
</slot>
|
@@ -401,6 +407,7 @@
|
|
401
407
|
<mt_code_value>0x2229</mt_code_value>
|
402
408
|
<options>4</options>
|
403
409
|
<font_position>73</font_position>
|
410
|
+
<variation>mathmode</variation>
|
404
411
|
</char>
|
405
412
|
<end/>
|
406
413
|
</tmpl>
|
@@ -431,48 +438,56 @@
|
|
431
438
|
<mt_code_value>0x00B1</mt_code_value>
|
432
439
|
<options>4</options>
|
433
440
|
<font_position>177</font_position>
|
441
|
+
<variation>mathmode</variation>
|
434
442
|
</char>
|
435
443
|
<char>
|
436
444
|
<typeface>6</typeface>
|
437
445
|
<mt_code_value>0x2260</mt_code_value>
|
438
446
|
<options>4</options>
|
439
447
|
<font_position>185</font_position>
|
448
|
+
<variation>mathmode</variation>
|
440
449
|
</char>
|
441
450
|
<char>
|
442
451
|
<typeface>6</typeface>
|
443
452
|
<mt_code_value>0x2264</mt_code_value>
|
444
453
|
<options>4</options>
|
445
454
|
<font_position>163</font_position>
|
455
|
+
<variation>mathmode</variation>
|
446
456
|
</char>
|
447
457
|
<char>
|
448
458
|
<typeface>6</typeface>
|
449
459
|
<mt_code_value>0x2202</mt_code_value>
|
450
460
|
<options>4</options>
|
451
461
|
<font_position>182</font_position>
|
462
|
+
<variation>mathmode</variation>
|
452
463
|
</char>
|
453
464
|
<char>
|
454
465
|
<typeface>6</typeface>
|
455
466
|
<mt_code_value>0x2192</mt_code_value>
|
456
467
|
<options>4</options>
|
457
468
|
<font_position>174</font_position>
|
469
|
+
<variation>mathmode</variation>
|
458
470
|
</char>
|
459
471
|
<char>
|
460
472
|
<typeface>6</typeface>
|
461
473
|
<mt_code_value>0x2192</mt_code_value>
|
462
474
|
<options>4</options>
|
463
475
|
<font_position>174</font_position>
|
476
|
+
<variation>mathmode</variation>
|
464
477
|
</char>
|
465
478
|
<char>
|
466
479
|
<typeface>4</typeface>
|
467
480
|
<mt_code_value>0x03B8</mt_code_value>
|
468
481
|
<options>4</options>
|
469
482
|
<font_position>113</font_position>
|
483
|
+
<variation>mathmode</variation>
|
470
484
|
</char>
|
471
485
|
<char>
|
472
486
|
<typeface>4</typeface>
|
473
487
|
<mt_code_value>0x03C0</mt_code_value>
|
474
488
|
<options>4</options>
|
475
489
|
<font_position>112</font_position>
|
490
|
+
<variation>mathmode</variation>
|
476
491
|
</char>
|
477
492
|
<tmpl>
|
478
493
|
<selector>tmDIRAC</selector>
|
@@ -485,6 +500,7 @@
|
|
485
500
|
<typeface>3</typeface>
|
486
501
|
<mt_code_value>0x0064</mt_code_value>
|
487
502
|
<options>0</options>
|
503
|
+
<variation>mathmode</variation>
|
488
504
|
</char>
|
489
505
|
<end/>
|
490
506
|
</slot>
|
@@ -494,6 +510,7 @@
|
|
494
510
|
<typeface>3</typeface>
|
495
511
|
<mt_code_value>0x0062</mt_code_value>
|
496
512
|
<options>0</options>
|
513
|
+
<variation>mathmode</variation>
|
497
514
|
</char>
|
498
515
|
<end/>
|
499
516
|
</slot>
|
@@ -501,16 +518,19 @@
|
|
501
518
|
<typeface>22</typeface>
|
502
519
|
<mt_code_value>0x2329</mt_code_value>
|
503
520
|
<options>0</options>
|
521
|
+
<variation>mathmode</variation>
|
504
522
|
</char>
|
505
523
|
<char>
|
506
524
|
<typeface>22</typeface>
|
507
|
-
<mt_code_value>
|
525
|
+
<mt_code_value>0xEC07</mt_code_value>
|
508
526
|
<options>0</options>
|
527
|
+
<variation>mathmode</variation>
|
509
528
|
</char>
|
510
529
|
<char>
|
511
530
|
<typeface>22</typeface>
|
512
531
|
<mt_code_value>0x232A</mt_code_value>
|
513
532
|
<options>0</options>
|
533
|
+
<variation>mathmode</variation>
|
514
534
|
</char>
|
515
535
|
<end/>
|
516
536
|
</tmpl>
|
@@ -520,11 +540,13 @@
|
|
520
540
|
<typeface>22</typeface>
|
521
541
|
<mt_code_value>0x0028</mt_code_value>
|
522
542
|
<options>0</options>
|
543
|
+
<variation>mathmode</variation>
|
523
544
|
</char>
|
524
545
|
<char>
|
525
546
|
<typeface>22</typeface>
|
526
547
|
<mt_code_value>0x0029</mt_code_value>
|
527
548
|
<options>0</options>
|
549
|
+
<variation>mathmode</variation>
|
528
550
|
</char>
|
529
551
|
<end/>
|
530
552
|
</tmpl>
|
@@ -534,11 +556,13 @@
|
|
534
556
|
<typeface>22</typeface>
|
535
557
|
<mt_code_value>0x005B</mt_code_value>
|
536
558
|
<options>0</options>
|
559
|
+
<variation>mathmode</variation>
|
537
560
|
</char>
|
538
561
|
<char>
|
539
562
|
<typeface>22</typeface>
|
540
563
|
<mt_code_value>0x005D</mt_code_value>
|
541
564
|
<options>0</options>
|
565
|
+
<variation>mathmode</variation>
|
542
566
|
</char>
|
543
567
|
<end/>
|
544
568
|
</tmpl>
|
@@ -548,11 +572,13 @@
|
|
548
572
|
<typeface>22</typeface>
|
549
573
|
<mt_code_value>0x007B</mt_code_value>
|
550
574
|
<options>0</options>
|
575
|
+
<variation>mathmode</variation>
|
551
576
|
</char>
|
552
577
|
<char>
|
553
578
|
<typeface>22</typeface>
|
554
579
|
<mt_code_value>0x007D</mt_code_value>
|
555
580
|
<options>0</options>
|
581
|
+
<variation>mathmode</variation>
|
556
582
|
</char>
|
557
583
|
<end/>
|
558
584
|
</tmpl>
|
@@ -565,12 +591,14 @@
|
|
565
591
|
<typeface>3</typeface>
|
566
592
|
<mt_code_value>0x0062</mt_code_value>
|
567
593
|
<options>0</options>
|
594
|
+
<variation>mathmode</variation>
|
568
595
|
</char>
|
569
596
|
<char>
|
570
597
|
<typeface>6</typeface>
|
571
598
|
<mt_code_value>0x003D</mt_code_value>
|
572
599
|
<options>4</options>
|
573
600
|
<font_position>61</font_position>
|
601
|
+
<variation>mathmode</variation>
|
574
602
|
</char>
|
575
603
|
<char>
|
576
604
|
<typeface>8</typeface>
|
@@ -586,12 +614,14 @@
|
|
586
614
|
<typeface>3</typeface>
|
587
615
|
<mt_code_value>0x0069</mt_code_value>
|
588
616
|
<options>0</options>
|
617
|
+
<variation>mathmode</variation>
|
589
618
|
</char>
|
590
619
|
<char>
|
591
620
|
<typeface>6</typeface>
|
592
621
|
<mt_code_value>0x003D</mt_code_value>
|
593
622
|
<options>4</options>
|
594
623
|
<font_position>61</font_position>
|
624
|
+
<variation>mathmode</variation>
|
595
625
|
</char>
|
596
626
|
<char>
|
597
627
|
<typeface>8</typeface>
|
@@ -607,6 +637,7 @@
|
|
607
637
|
<mt_code_value>0x2211</mt_code_value>
|
608
638
|
<options>4</options>
|
609
639
|
<font_position>229</font_position>
|
640
|
+
<variation>mathmode</variation>
|
610
641
|
</char>
|
611
642
|
<end/>
|
612
643
|
</tmpl>
|
@@ -639,6 +670,7 @@
|
|
639
670
|
<typeface>3</typeface>
|
640
671
|
<mt_code_value>0x0061</mt_code_value>
|
641
672
|
<options>0</options>
|
673
|
+
<variation>mathmode</variation>
|
642
674
|
</char>
|
643
675
|
<tmpl>
|
644
676
|
<selector>tmSUB</selector>
|
@@ -675,6 +707,7 @@
|
|
675
707
|
<mt_code_value>0x2026</mt_code_value>
|
676
708
|
<options>4</options>
|
677
709
|
<font_position>75</font_position>
|
710
|
+
<variation>mathmode</variation>
|
678
711
|
</char>
|
679
712
|
<end/>
|
680
713
|
</slot>
|
@@ -684,6 +717,7 @@
|
|
684
717
|
<typeface>3</typeface>
|
685
718
|
<mt_code_value>0x0061</mt_code_value>
|
686
719
|
<options>0</options>
|
720
|
+
<variation>mathmode</variation>
|
687
721
|
</char>
|
688
722
|
<tmpl>
|
689
723
|
<selector>tmSUB</selector>
|
@@ -701,6 +735,7 @@
|
|
701
735
|
<typeface>3</typeface>
|
702
736
|
<mt_code_value>0x006E</mt_code_value>
|
703
737
|
<options>0</options>
|
738
|
+
<variation>mathmode</variation>
|
704
739
|
</char>
|
705
740
|
<end/>
|
706
741
|
</slot>
|
@@ -719,6 +754,7 @@
|
|
719
754
|
<mt_code_value>0x22EE</mt_code_value>
|
720
755
|
<options>4</options>
|
721
756
|
<font_position>77</font_position>
|
757
|
+
<variation>mathmode</variation>
|
722
758
|
</char>
|
723
759
|
<end/>
|
724
760
|
</slot>
|
@@ -729,6 +765,7 @@
|
|
729
765
|
<mt_code_value>0x22F1</mt_code_value>
|
730
766
|
<options>4</options>
|
731
767
|
<font_position>79</font_position>
|
768
|
+
<variation>mathmode</variation>
|
732
769
|
</char>
|
733
770
|
<end/>
|
734
771
|
</slot>
|
@@ -739,6 +776,7 @@
|
|
739
776
|
<mt_code_value>0x22EE</mt_code_value>
|
740
777
|
<options>4</options>
|
741
778
|
<font_position>77</font_position>
|
779
|
+
<variation>mathmode</variation>
|
742
780
|
</char>
|
743
781
|
<end/>
|
744
782
|
</slot>
|
@@ -748,6 +786,7 @@
|
|
748
786
|
<typeface>3</typeface>
|
749
787
|
<mt_code_value>0x0061</mt_code_value>
|
750
788
|
<options>0</options>
|
789
|
+
<variation>mathmode</variation>
|
751
790
|
</char>
|
752
791
|
<tmpl>
|
753
792
|
<selector>tmSUB</selector>
|
@@ -759,6 +798,7 @@
|
|
759
798
|
<typeface>3</typeface>
|
760
799
|
<mt_code_value>0x006D</mt_code_value>
|
761
800
|
<options>0</options>
|
801
|
+
<variation>mathmode</variation>
|
762
802
|
</char>
|
763
803
|
<char>
|
764
804
|
<typeface>8</typeface>
|
@@ -783,6 +823,7 @@
|
|
783
823
|
<mt_code_value>0x22EF</mt_code_value>
|
784
824
|
<options>4</options>
|
785
825
|
<font_position>76</font_position>
|
826
|
+
<variation>mathmode</variation>
|
786
827
|
</char>
|
787
828
|
<end/>
|
788
829
|
</slot>
|
@@ -792,6 +833,7 @@
|
|
792
833
|
<typeface>3</typeface>
|
793
834
|
<mt_code_value>0x0061</mt_code_value>
|
794
835
|
<options>0</options>
|
836
|
+
<variation>mathmode</variation>
|
795
837
|
</char>
|
796
838
|
<tmpl>
|
797
839
|
<selector>tmSUB</selector>
|
@@ -803,11 +845,13 @@
|
|
803
845
|
<typeface>3</typeface>
|
804
846
|
<mt_code_value>0x006D</mt_code_value>
|
805
847
|
<options>0</options>
|
848
|
+
<variation>mathmode</variation>
|
806
849
|
</char>
|
807
850
|
<char>
|
808
851
|
<typeface>3</typeface>
|
809
852
|
<mt_code_value>0x006E</mt_code_value>
|
810
853
|
<options>0</options>
|
854
|
+
<variation>mathmode</variation>
|
811
855
|
</char>
|
812
856
|
<end/>
|
813
857
|
</slot>
|
@@ -827,11 +871,13 @@
|
|
827
871
|
<typeface>22</typeface>
|
828
872
|
<mt_code_value>0x0028</mt_code_value>
|
829
873
|
<options>0</options>
|
874
|
+
<variation>mathmode</variation>
|
830
875
|
</char>
|
831
876
|
<char>
|
832
877
|
<typeface>22</typeface>
|
833
878
|
<mt_code_value>0x0029</mt_code_value>
|
834
879
|
<options>0</options>
|
880
|
+
<variation>mathmode</variation>
|
835
881
|
</char>
|
836
882
|
<end/>
|
837
883
|
</tmpl>
|
@@ -863,6 +909,7 @@
|
|
863
909
|
<typeface>3</typeface>
|
864
910
|
<mt_code_value>0x0061</mt_code_value>
|
865
911
|
<options>0</options>
|
912
|
+
<variation>mathmode</variation>
|
866
913
|
</char>
|
867
914
|
<tmpl>
|
868
915
|
<selector>tmSUB</selector>
|
@@ -898,6 +945,7 @@
|
|
898
945
|
<typeface>3</typeface>
|
899
946
|
<mt_code_value>0x0061</mt_code_value>
|
900
947
|
<options>0</options>
|
948
|
+
<variation>mathmode</variation>
|
901
949
|
</char>
|
902
950
|
<tmpl>
|
903
951
|
<selector>tmSUB</selector>
|
@@ -933,6 +981,7 @@
|
|
933
981
|
<typeface>3</typeface>
|
934
982
|
<mt_code_value>0x0061</mt_code_value>
|
935
983
|
<options>0</options>
|
984
|
+
<variation>mathmode</variation>
|
936
985
|
</char>
|
937
986
|
<tmpl>
|
938
987
|
<selector>tmSUB</selector>
|
@@ -968,6 +1017,7 @@
|
|
968
1017
|
<typeface>3</typeface>
|
969
1018
|
<mt_code_value>0x0061</mt_code_value>
|
970
1019
|
<options>0</options>
|
1020
|
+
<variation>mathmode</variation>
|
971
1021
|
</char>
|
972
1022
|
<tmpl>
|
973
1023
|
<selector>tmSUB</selector>
|
@@ -1003,6 +1053,7 @@
|
|
1003
1053
|
<typeface>3</typeface>
|
1004
1054
|
<mt_code_value>0x0061</mt_code_value>
|
1005
1055
|
<options>0</options>
|
1056
|
+
<variation>mathmode</variation>
|
1006
1057
|
</char>
|
1007
1058
|
<tmpl>
|
1008
1059
|
<selector>tmSUB</selector>
|
@@ -1038,6 +1089,7 @@
|
|
1038
1089
|
<typeface>3</typeface>
|
1039
1090
|
<mt_code_value>0x0061</mt_code_value>
|
1040
1091
|
<options>0</options>
|
1092
|
+
<variation>mathmode</variation>
|
1041
1093
|
</char>
|
1042
1094
|
<tmpl>
|
1043
1095
|
<selector>tmSUB</selector>
|
@@ -1073,6 +1125,7 @@
|
|
1073
1125
|
<typeface>3</typeface>
|
1074
1126
|
<mt_code_value>0x0061</mt_code_value>
|
1075
1127
|
<options>0</options>
|
1128
|
+
<variation>mathmode</variation>
|
1076
1129
|
</char>
|
1077
1130
|
<tmpl>
|
1078
1131
|
<selector>tmSUB</selector>
|
@@ -1108,6 +1161,7 @@
|
|
1108
1161
|
<typeface>3</typeface>
|
1109
1162
|
<mt_code_value>0x0061</mt_code_value>
|
1110
1163
|
<options>0</options>
|
1164
|
+
<variation>mathmode</variation>
|
1111
1165
|
</char>
|
1112
1166
|
<tmpl>
|
1113
1167
|
<selector>tmSUB</selector>
|
@@ -1143,6 +1197,7 @@
|
|
1143
1197
|
<typeface>3</typeface>
|
1144
1198
|
<mt_code_value>0x0061</mt_code_value>
|
1145
1199
|
<options>0</options>
|
1200
|
+
<variation>mathmode</variation>
|
1146
1201
|
</char>
|
1147
1202
|
<tmpl>
|
1148
1203
|
<selector>tmSUB</selector>
|
@@ -1180,11 +1235,13 @@
|
|
1180
1235
|
<typeface>22</typeface>
|
1181
1236
|
<mt_code_value>0x0028</mt_code_value>
|
1182
1237
|
<options>0</options>
|
1238
|
+
<variation>mathmode</variation>
|
1183
1239
|
</char>
|
1184
1240
|
<char>
|
1185
1241
|
<typeface>22</typeface>
|
1186
1242
|
<mt_code_value>0x0029</mt_code_value>
|
1187
1243
|
<options>0</options>
|
1244
|
+
<variation>mathmode</variation>
|
1188
1245
|
</char>
|
1189
1246
|
<end/>
|
1190
1247
|
</tmpl>
|
@@ -1216,6 +1273,7 @@
|
|
1216
1273
|
<typeface>3</typeface>
|
1217
1274
|
<mt_code_value>0x0061</mt_code_value>
|
1218
1275
|
<options>0</options>
|
1276
|
+
<variation>mathmode</variation>
|
1219
1277
|
</char>
|
1220
1278
|
<tmpl>
|
1221
1279
|
<selector>tmSUB</selector>
|
@@ -1285,6 +1343,7 @@
|
|
1285
1343
|
<mt_code_value>0x22F1</mt_code_value>
|
1286
1344
|
<options>4</options>
|
1287
1345
|
<font_position>79</font_position>
|
1346
|
+
<variation>mathmode</variation>
|
1288
1347
|
</char>
|
1289
1348
|
<end/>
|
1290
1349
|
</slot>
|
@@ -1329,6 +1388,7 @@
|
|
1329
1388
|
<typeface>3</typeface>
|
1330
1389
|
<mt_code_value>0x0061</mt_code_value>
|
1331
1390
|
<options>0</options>
|
1391
|
+
<variation>mathmode</variation>
|
1332
1392
|
</char>
|
1333
1393
|
<tmpl>
|
1334
1394
|
<selector>tmSUB</selector>
|
@@ -1340,6 +1400,7 @@
|
|
1340
1400
|
<typeface>3</typeface>
|
1341
1401
|
<mt_code_value>0x006E</mt_code_value>
|
1342
1402
|
<options>0</options>
|
1403
|
+
<variation>mathmode</variation>
|
1343
1404
|
</char>
|
1344
1405
|
<end/>
|
1345
1406
|
</slot>
|
@@ -1359,11 +1420,13 @@
|
|
1359
1420
|
<typeface>22</typeface>
|
1360
1421
|
<mt_code_value>0x0028</mt_code_value>
|
1361
1422
|
<options>0</options>
|
1423
|
+
<variation>mathmode</variation>
|
1362
1424
|
</char>
|
1363
1425
|
<char>
|
1364
1426
|
<typeface>22</typeface>
|
1365
1427
|
<mt_code_value>0x0029</mt_code_value>
|
1366
1428
|
<options>0</options>
|
1429
|
+
<variation>mathmode</variation>
|
1367
1430
|
</char>
|
1368
1431
|
<end/>
|
1369
1432
|
</tmpl>
|