mathjax-tex-font 1.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. package/build/output/fonts/mathjax-tex/chtml/build.json +7 -0
  2. package/build/output/fonts/mathjax-tex/chtml/chtml.js +22 -0
  3. package/build/output/fonts/mathjax-tex/chtml/copy.json +5 -0
  4. package/build/output/fonts/mathjax-tex/chtml/lib/chtml.js +18 -0
  5. package/build/output/fonts/mathjax-tex/chtml/lib/output/fonts/mathjax-tex/chtml.js +3 -0
  6. package/build/output/fonts/mathjax-tex/chtml/webpack.config.js +11 -0
  7. package/build/output/fonts/mathjax-tex/svg/build.json +7 -0
  8. package/build/output/fonts/mathjax-tex/svg/lib/output/fonts/mathjax-tex/svg.js +3 -0
  9. package/build/output/fonts/mathjax-tex/svg/lib/svg.js +18 -0
  10. package/build/output/fonts/mathjax-tex/svg/svg.js +18 -0
  11. package/build/output/fonts/mathjax-tex/svg/webpack.config.js +11 -0
  12. package/build/tex-mml-chtml-mathjax-tex/tex-mml-chtml-mathjax-tex.js +28 -0
  13. package/build/tex-mml-chtml-mathjax-tex/webpack.config.js +19 -0
  14. package/build/tex-mml-svg-mathjax-tex/tex-mml-svg-mathjax-tex.js +28 -0
  15. package/build/tex-mml-svg-mathjax-tex/webpack.config.js +19 -0
  16. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-b.woff +0 -0
  17. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-bi.woff +0 -0
  18. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-brk.woff +0 -0
  19. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-c.woff +0 -0
  20. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-cb.woff +0 -0
  21. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-f.woff +0 -0
  22. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-fb.woff +0 -0
  23. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-i.woff +0 -0
  24. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-lo.woff +0 -0
  25. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-m.woff +0 -0
  26. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-mi.woff +0 -0
  27. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-n.woff +0 -0
  28. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-ob.woff +0 -0
  29. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-os.woff +0 -0
  30. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-s3.woff +0 -0
  31. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-s4.woff +0 -0
  32. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-so.woff +0 -0
  33. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-ss.woff +0 -0
  34. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-ssb.woff +0 -0
  35. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-ssi.woff +0 -0
  36. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-v.woff +0 -0
  37. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-zero.woff +0 -0
  38. package/es5/output/fonts/mathjax-tex/chtml.js +1 -0
  39. package/es5/output/fonts/mathjax-tex/svg.js +1 -0
  40. package/es5/tex-mml-chtml-mathjax-tex.js +1 -0
  41. package/es5/tex-mml-svg-mathjax-tex.js +1 -0
  42. package/js/output/fonts/mathjax-tex/chtml/bold-italic.d.ts +2 -0
  43. package/js/output/fonts/mathjax-tex/chtml/bold-italic.js +12 -0
  44. package/js/output/fonts/mathjax-tex/chtml/bold-italic.js.map +1 -0
  45. package/js/output/fonts/mathjax-tex/chtml/bold.d.ts +2 -0
  46. package/js/output/fonts/mathjax-tex/chtml/bold.js +252 -0
  47. package/js/output/fonts/mathjax-tex/chtml/bold.js.map +1 -0
  48. package/js/output/fonts/mathjax-tex/chtml/delimiters.d.ts +2 -0
  49. package/js/output/fonts/mathjax-tex/chtml/delimiters.js +807 -0
  50. package/js/output/fonts/mathjax-tex/chtml/delimiters.js.map +1 -0
  51. package/js/output/fonts/mathjax-tex/chtml/fraktur-bold.d.ts +2 -0
  52. package/js/output/fonts/mathjax-tex/chtml/fraktur-bold.js +45 -0
  53. package/js/output/fonts/mathjax-tex/chtml/fraktur-bold.js.map +1 -0
  54. package/js/output/fonts/mathjax-tex/chtml/fraktur.d.ts +2 -0
  55. package/js/output/fonts/mathjax-tex/chtml/fraktur.js +46 -0
  56. package/js/output/fonts/mathjax-tex/chtml/fraktur.js.map +1 -0
  57. package/js/output/fonts/mathjax-tex/chtml/italic.d.ts +2 -0
  58. package/js/output/fonts/mathjax-tex/chtml/italic.js +66 -0
  59. package/js/output/fonts/mathjax-tex/chtml/italic.js.map +1 -0
  60. package/js/output/fonts/mathjax-tex/chtml/largeop.d.ts +2 -0
  61. package/js/output/fonts/mathjax-tex/chtml/largeop.js +56 -0
  62. package/js/output/fonts/mathjax-tex/chtml/largeop.js.map +1 -0
  63. package/js/output/fonts/mathjax-tex/chtml/monospace.d.ts +2 -0
  64. package/js/output/fonts/mathjax-tex/chtml/monospace.js +84 -0
  65. package/js/output/fonts/mathjax-tex/chtml/monospace.js.map +1 -0
  66. package/js/output/fonts/mathjax-tex/chtml/normal.d.ts +2 -0
  67. package/js/output/fonts/mathjax-tex/chtml/normal.js +1304 -0
  68. package/js/output/fonts/mathjax-tex/chtml/normal.js.map +1 -0
  69. package/js/output/fonts/mathjax-tex/chtml/sans-serif-bold.d.ts +2 -0
  70. package/js/output/fonts/mathjax-tex/chtml/sans-serif-bold.js +54 -0
  71. package/js/output/fonts/mathjax-tex/chtml/sans-serif-bold.js.map +1 -0
  72. package/js/output/fonts/mathjax-tex/chtml/sans-serif-italic.d.ts +2 -0
  73. package/js/output/fonts/mathjax-tex/chtml/sans-serif-italic.js +88 -0
  74. package/js/output/fonts/mathjax-tex/chtml/sans-serif-italic.js.map +1 -0
  75. package/js/output/fonts/mathjax-tex/chtml/sans-serif.d.ts +2 -0
  76. package/js/output/fonts/mathjax-tex/chtml/sans-serif.js +78 -0
  77. package/js/output/fonts/mathjax-tex/chtml/sans-serif.js.map +1 -0
  78. package/js/output/fonts/mathjax-tex/chtml/size3.d.ts +2 -0
  79. package/js/output/fonts/mathjax-tex/chtml/size3.js +30 -0
  80. package/js/output/fonts/mathjax-tex/chtml/size3.js.map +1 -0
  81. package/js/output/fonts/mathjax-tex/chtml/size4.d.ts +2 -0
  82. package/js/output/fonts/mathjax-tex/chtml/size4.js +59 -0
  83. package/js/output/fonts/mathjax-tex/chtml/size4.js.map +1 -0
  84. package/js/output/fonts/mathjax-tex/chtml/smallop.d.ts +2 -0
  85. package/js/output/fonts/mathjax-tex/chtml/smallop.js +56 -0
  86. package/js/output/fonts/mathjax-tex/chtml/smallop.js.map +1 -0
  87. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.d.ts +2 -0
  88. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.js +34 -0
  89. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.js.map +1 -0
  90. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.d.ts +2 -0
  91. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.js +32 -0
  92. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.js.map +1 -0
  93. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.d.ts +2 -0
  94. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.js +58 -0
  95. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.js.map +1 -0
  96. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle-bold.d.ts +2 -0
  97. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle-bold.js +42 -0
  98. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle-bold.js.map +1 -0
  99. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle.d.ts +2 -0
  100. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle.js +42 -0
  101. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle.js.map +1 -0
  102. package/js/output/fonts/mathjax-tex/chtml/tex-variant.d.ts +2 -0
  103. package/js/output/fonts/mathjax-tex/chtml/tex-variant.js +44 -0
  104. package/js/output/fonts/mathjax-tex/chtml/tex-variant.js.map +1 -0
  105. package/js/output/fonts/mathjax-tex/chtml.d.ts +167 -0
  106. package/js/output/fonts/mathjax-tex/chtml.js +219 -0
  107. package/js/output/fonts/mathjax-tex/chtml.js.map +1 -0
  108. package/js/output/fonts/mathjax-tex/common.d.ts +2 -0
  109. package/js/output/fonts/mathjax-tex/common.js +90 -0
  110. package/js/output/fonts/mathjax-tex/common.js.map +1 -0
  111. package/js/output/fonts/mathjax-tex/svg/bold-italic.d.ts +2 -0
  112. package/js/output/fonts/mathjax-tex/svg/bold-italic.js +12 -0
  113. package/js/output/fonts/mathjax-tex/svg/bold-italic.js.map +1 -0
  114. package/js/output/fonts/mathjax-tex/svg/bold.d.ts +2 -0
  115. package/js/output/fonts/mathjax-tex/svg/bold.js +252 -0
  116. package/js/output/fonts/mathjax-tex/svg/bold.js.map +1 -0
  117. package/js/output/fonts/mathjax-tex/svg/delimiters.d.ts +2 -0
  118. package/js/output/fonts/mathjax-tex/svg/delimiters.js +807 -0
  119. package/js/output/fonts/mathjax-tex/svg/delimiters.js.map +1 -0
  120. package/js/output/fonts/mathjax-tex/svg/fraktur-bold.d.ts +2 -0
  121. package/js/output/fonts/mathjax-tex/svg/fraktur-bold.js +45 -0
  122. package/js/output/fonts/mathjax-tex/svg/fraktur-bold.js.map +1 -0
  123. package/js/output/fonts/mathjax-tex/svg/fraktur.d.ts +2 -0
  124. package/js/output/fonts/mathjax-tex/svg/fraktur.js +46 -0
  125. package/js/output/fonts/mathjax-tex/svg/fraktur.js.map +1 -0
  126. package/js/output/fonts/mathjax-tex/svg/italic.d.ts +2 -0
  127. package/js/output/fonts/mathjax-tex/svg/italic.js +66 -0
  128. package/js/output/fonts/mathjax-tex/svg/italic.js.map +1 -0
  129. package/js/output/fonts/mathjax-tex/svg/largeop.d.ts +2 -0
  130. package/js/output/fonts/mathjax-tex/svg/largeop.js +56 -0
  131. package/js/output/fonts/mathjax-tex/svg/largeop.js.map +1 -0
  132. package/js/output/fonts/mathjax-tex/svg/monospace.d.ts +2 -0
  133. package/js/output/fonts/mathjax-tex/svg/monospace.js +84 -0
  134. package/js/output/fonts/mathjax-tex/svg/monospace.js.map +1 -0
  135. package/js/output/fonts/mathjax-tex/svg/normal.d.ts +2 -0
  136. package/js/output/fonts/mathjax-tex/svg/normal.js +1304 -0
  137. package/js/output/fonts/mathjax-tex/svg/normal.js.map +1 -0
  138. package/js/output/fonts/mathjax-tex/svg/sans-serif-bold.d.ts +2 -0
  139. package/js/output/fonts/mathjax-tex/svg/sans-serif-bold.js +54 -0
  140. package/js/output/fonts/mathjax-tex/svg/sans-serif-bold.js.map +1 -0
  141. package/js/output/fonts/mathjax-tex/svg/sans-serif-italic.d.ts +2 -0
  142. package/js/output/fonts/mathjax-tex/svg/sans-serif-italic.js +88 -0
  143. package/js/output/fonts/mathjax-tex/svg/sans-serif-italic.js.map +1 -0
  144. package/js/output/fonts/mathjax-tex/svg/sans-serif.d.ts +2 -0
  145. package/js/output/fonts/mathjax-tex/svg/sans-serif.js +78 -0
  146. package/js/output/fonts/mathjax-tex/svg/sans-serif.js.map +1 -0
  147. package/js/output/fonts/mathjax-tex/svg/size3.d.ts +2 -0
  148. package/js/output/fonts/mathjax-tex/svg/size3.js +30 -0
  149. package/js/output/fonts/mathjax-tex/svg/size3.js.map +1 -0
  150. package/js/output/fonts/mathjax-tex/svg/size4.d.ts +2 -0
  151. package/js/output/fonts/mathjax-tex/svg/size4.js +59 -0
  152. package/js/output/fonts/mathjax-tex/svg/size4.js.map +1 -0
  153. package/js/output/fonts/mathjax-tex/svg/smallop.d.ts +2 -0
  154. package/js/output/fonts/mathjax-tex/svg/smallop.js +56 -0
  155. package/js/output/fonts/mathjax-tex/svg/smallop.js.map +1 -0
  156. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic-bold.d.ts +2 -0
  157. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic-bold.js +34 -0
  158. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic-bold.js.map +1 -0
  159. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic.d.ts +2 -0
  160. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic.js +32 -0
  161. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic.js.map +1 -0
  162. package/js/output/fonts/mathjax-tex/svg/tex-mathit.d.ts +2 -0
  163. package/js/output/fonts/mathjax-tex/svg/tex-mathit.js +58 -0
  164. package/js/output/fonts/mathjax-tex/svg/tex-mathit.js.map +1 -0
  165. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle-bold.d.ts +2 -0
  166. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle-bold.js +42 -0
  167. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle-bold.js.map +1 -0
  168. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle.d.ts +2 -0
  169. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle.js +42 -0
  170. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle.js.map +1 -0
  171. package/js/output/fonts/mathjax-tex/svg/tex-variant.d.ts +2 -0
  172. package/js/output/fonts/mathjax-tex/svg/tex-variant.js +44 -0
  173. package/js/output/fonts/mathjax-tex/svg/tex-variant.js.map +1 -0
  174. package/js/output/fonts/mathjax-tex/svg.d.ts +13 -0
  175. package/js/output/fonts/mathjax-tex/svg.js +125 -0
  176. package/js/output/fonts/mathjax-tex/svg.js.map +1 -0
  177. package/package.json +36 -0
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __values = (this && this.__values) || function(o) {
18
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
19
+ if (m) return m.call(o);
20
+ if (o && typeof o.length === "number") return {
21
+ next: function () {
22
+ if (o && i >= o.length) o = void 0;
23
+ return { value: o && o[i++], done: !o };
24
+ }
25
+ };
26
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MathJaxTexFont = void 0;
30
+ var FontData_js_1 = require("mathjax-full/js/output/svg/FontData.js");
31
+ var common_js_1 = require("./common.js");
32
+ var normal_js_1 = require("./svg/normal.js");
33
+ var bold_js_1 = require("./svg/bold.js");
34
+ var italic_js_1 = require("./svg/italic.js");
35
+ var bold_italic_js_1 = require("./svg/bold-italic.js");
36
+ var fraktur_js_1 = require("./svg/fraktur.js");
37
+ var fraktur_bold_js_1 = require("./svg/fraktur-bold.js");
38
+ var sans_serif_js_1 = require("./svg/sans-serif.js");
39
+ var sans_serif_bold_js_1 = require("./svg/sans-serif-bold.js");
40
+ var sans_serif_italic_js_1 = require("./svg/sans-serif-italic.js");
41
+ var monospace_js_1 = require("./svg/monospace.js");
42
+ var smallop_js_1 = require("./svg/smallop.js");
43
+ var largeop_js_1 = require("./svg/largeop.js");
44
+ var tex_calligraphic_js_1 = require("./svg/tex-calligraphic.js");
45
+ var tex_calligraphic_bold_js_1 = require("./svg/tex-calligraphic-bold.js");
46
+ var tex_oldstyle_js_1 = require("./svg/tex-oldstyle.js");
47
+ var tex_oldstyle_bold_js_1 = require("./svg/tex-oldstyle-bold.js");
48
+ var tex_mathit_js_1 = require("./svg/tex-mathit.js");
49
+ var tex_variant_js_1 = require("./svg/tex-variant.js");
50
+ var size3_js_1 = require("./svg/size3.js");
51
+ var size4_js_1 = require("./svg/size4.js");
52
+ var delimiters_js_1 = require("./svg/delimiters.js");
53
+ var Base = common_js_1.CommonMathJaxTexFontMixin(FontData_js_1.SvgFontData);
54
+ var MathJaxTexFont = (function (_super) {
55
+ __extends(MathJaxTexFont, _super);
56
+ function MathJaxTexFont(options) {
57
+ var e_1, _a;
58
+ if (options === void 0) { options = {}; }
59
+ var _this = _super.call(this, options) || this;
60
+ var CLASS = _this.constructor;
61
+ try {
62
+ for (var _b = __values(Object.keys(CLASS.variantCacheIds)), _c = _b.next(); !_c.done; _c = _b.next()) {
63
+ var variant = _c.value;
64
+ _this.variant[variant].cacheID = 'TEX-' + CLASS.variantCacheIds[variant];
65
+ }
66
+ }
67
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
68
+ finally {
69
+ try {
70
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
71
+ }
72
+ finally { if (e_1) throw e_1.error; }
73
+ }
74
+ return _this;
75
+ }
76
+ MathJaxTexFont.NAME = 'MathJaxTex';
77
+ MathJaxTexFont.defaultDelimiters = delimiters_js_1.delimiters;
78
+ MathJaxTexFont.defaultChars = {
79
+ 'normal': normal_js_1.normal,
80
+ 'bold': bold_js_1.bold,
81
+ 'italic': italic_js_1.italic,
82
+ 'bold-italic': bold_italic_js_1.boldItalic,
83
+ 'fraktur': fraktur_js_1.fraktur,
84
+ 'bold-fraktur': fraktur_bold_js_1.frakturBold,
85
+ 'sans-serif': sans_serif_js_1.sansSerif,
86
+ 'bold-sans-serif': sans_serif_bold_js_1.sansSerifBold,
87
+ 'sans-serif-italic': sans_serif_italic_js_1.sansSerifItalic,
88
+ 'monospace': monospace_js_1.monospace,
89
+ '-smallop': smallop_js_1.smallop,
90
+ '-largeop': largeop_js_1.largeop,
91
+ '-tex-calligraphic': tex_calligraphic_js_1.texCalligraphic,
92
+ '-tex-bold-calligraphic': tex_calligraphic_bold_js_1.texCalligraphicBold,
93
+ '-tex-oldstyle': tex_oldstyle_js_1.texOldstyle,
94
+ '-tex-bold-oldstyle': tex_oldstyle_bold_js_1.texOldstyleBold,
95
+ '-tex-mathit': tex_mathit_js_1.texMathit,
96
+ '-tex-variant': tex_variant_js_1.texVariant,
97
+ '-size3': size3_js_1.size3,
98
+ '-size4': size4_js_1.size4
99
+ };
100
+ MathJaxTexFont.variantCacheIds = {
101
+ 'normal': 'N',
102
+ 'bold': 'B',
103
+ 'italic': 'I',
104
+ 'bold-italic': 'BI',
105
+ 'fraktur': 'F',
106
+ 'bold-fraktur': 'FB',
107
+ 'sans-serif': 'SS',
108
+ 'bold-sans-serif': 'SSB',
109
+ 'sans-serif-italic': 'SSI',
110
+ 'monospace': 'M',
111
+ '-smallop': 'SO',
112
+ '-largeop': 'LO',
113
+ '-tex-calligraphic': 'C',
114
+ '-tex-bold-calligraphic': 'CB',
115
+ '-tex-oldstyle': 'OS',
116
+ '-tex-bold-oldstyle': 'OB',
117
+ '-tex-mathit': 'MI',
118
+ '-tex-variant': 'V',
119
+ '-size3': 'S3',
120
+ '-size4': 'S4'
121
+ };
122
+ return MathJaxTexFont;
123
+ }(Base));
124
+ exports.MathJaxTexFont = MathJaxTexFont;
125
+ //# sourceMappingURL=svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../../ts/output/fonts/mathjax-tex/svg.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEACkG;AAClG,yCAAsD;AAGtD,6CAAuC;AACvC,yCAAmC;AACnC,6CAAuC;AACvC,uDAAgD;AAChD,+CAAyC;AACzC,yDAAkD;AAClD,qDAA8C;AAC9C,+DAAuD;AACvD,mEAA2D;AAC3D,mDAA6C;AAC7C,+CAAyC;AACzC,+CAAyC;AACzC,iEAA0D;AAC1D,2EAAmE;AACnE,yDAAkD;AAClD,mEAA2D;AAC3D,qDAA8C;AAC9C,uDAAgD;AAChD,2CAAqC;AACrC,2CAAqC;AAErC,qDAA+C;AAQ/C,IAAM,IAAI,GAAG,qCAAyB,CAEpC,yBAAW,CAAC,CAAC;AAMf;IAAoC,kCAAI;IAiEtC,wBAAY,OAAwB;;QAAxB,wBAAA,EAAA,YAAwB;QAApC,YACE,kBAAM,OAAO,CAAC,SAQf;QAJC,IAAM,KAAK,GAAG,KAAI,CAAC,WAAoC,CAAC;;YACxD,KAAsB,IAAA,KAAA,SAAA,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAA,gBAAA,4BAAE;gBAArD,IAAM,OAAO,WAAA;gBAChB,KAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;aACzE;;;;;;;;;;IACH,CAAC;IAxEa,mBAAI,GAAG,YAAY,CAAC;IAMjB,gCAAiB,GAAmC,0BAAU,CAAC;IAK/D,2BAAY,GAA+B;QAC1D,QAAQ,EAAE,kBAAM;QAChB,MAAM,EAAE,cAAI;QACZ,QAAQ,EAAE,kBAAM;QAChB,aAAa,EAAE,2BAAU;QACzB,SAAS,EAAE,oBAAO;QAClB,cAAc,EAAE,6BAAW;QAC3B,YAAY,EAAE,yBAAS;QACvB,iBAAiB,EAAE,kCAAa;QAChC,mBAAmB,EAAE,sCAAe;QACpC,WAAW,EAAE,wBAAS;QACtB,UAAU,EAAE,oBAAO;QACnB,UAAU,EAAE,oBAAO;QACnB,mBAAmB,EAAE,qCAAe;QACpC,wBAAwB,EAAE,8CAAmB;QAC7C,eAAe,EAAE,6BAAW;QAC5B,oBAAoB,EAAE,sCAAe;QACrC,aAAa,EAAE,yBAAS;QACxB,cAAc,EAAE,2BAAU;QAC1B,QAAQ,EAAE,gBAAK;QACf,QAAQ,EAAE,gBAAK;KAChB,CAAC;IAKe,8BAAe,GAA6B;QAC3D,QAAQ,EAAE,GAAG;QACb,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,GAAG;QACb,aAAa,EAAE,IAAI;QACnB,SAAS,EAAE,GAAG;QACd,cAAc,EAAE,IAAI;QACpB,YAAY,EAAE,IAAI;QAClB,iBAAiB,EAAE,KAAK;QACxB,mBAAmB,EAAE,KAAK;QAC1B,WAAW,EAAE,GAAG;QAChB,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,IAAI;QAChB,mBAAmB,EAAE,GAAG;QACxB,wBAAwB,EAAE,IAAI;QAC9B,eAAe,EAAE,IAAI;QACrB,oBAAoB,EAAE,IAAI;QAC1B,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,GAAG;QACnB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;IAgBJ,qBAAC;CAAA,AA5ED,CAAoC,IAAI,GA4EvC;AA5EY,wCAAc"}
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "mathjax-tex-font",
3
+ "version": "1.0.0-alpha.0",
4
+ "description": "MathJax-Tex font for MathJax v3",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/mathjax/MathJax-fonts/"
9
+ },
10
+ "keywords": [
11
+ "MathJax",
12
+ "fonts",
13
+ "MathJax-Tex"
14
+ ],
15
+ "files": [
16
+ "js/output",
17
+ "es5",
18
+ "build"
19
+ ],
20
+ "scripts": {
21
+ "clear:dirs": "npx rimraf ts/output js/* es5 build",
22
+ "clear:tables": "clear() { npx rimraf tables-$1; }; clear",
23
+ "clean": "echo 'Cleaning directories' && npm run -s clear:dirs",
24
+ "ts-config": "echo 'Processing font configuration' && tsc",
25
+ "precompile": "npm run -s clean && npm run -s ts-config",
26
+ "compile": "node -r esm js/mathjax-tex.js && echo 'Compiling typescript data files' && tsc",
27
+ "make-one": "make() { ../node_modules/mathjax-full/components/bin/makeAll build/output/fonts/mathjax-tex/$1; }; make",
28
+ "make-components": "npm run -s make-one chtml ; npm -s run make-one svg",
29
+ "build-one": "build() { cd build/output/fonts/mathjax-tex/$1; ../../../../../../node_modules/mathjax-full/components/bin/build; echo; }; build",
30
+ "pack-one": "pack() { ../node_modules/mathjax-full/components/bin/makeAll --no-subdirs build/tex-mml-$1-mathjax-tex; }; pack",
31
+ "pack-font": "font() { npm run -s build-one $1; npm run -s pack-one $1; }; font",
32
+ "pack": "npm run -s pack-font chtml; npm run -s pack-font svg",
33
+ "build": "npm run -s compile && echo '' && npm run -s make-components && npm run -s pack",
34
+ "tables": "tables() { npm run -s clear:tables $1; node -r esm ../bin/makeTables.js $1 mathjax-tex; }; tables"
35
+ }
36
+ }