mathjax-tex-font 1.0.0-alpha.1 → 4.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-b.woff +0 -0
  2. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-bi.woff +0 -0
  3. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-brk.woff +0 -0
  4. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-c.woff +0 -0
  5. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-cb.woff +0 -0
  6. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-f.woff +0 -0
  7. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-fb.woff +0 -0
  8. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-i.woff +0 -0
  9. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-lo.woff +0 -0
  10. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-m.woff +0 -0
  11. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-mi.woff +0 -0
  12. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-n.woff +0 -0
  13. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-ob.woff +0 -0
  14. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-os.woff +0 -0
  15. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-s3.woff +0 -0
  16. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-s4.woff +0 -0
  17. package/chtml/woff/mjx-tex-so.woff +0 -0
  18. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-ss.woff +0 -0
  19. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-ssb.woff +0 -0
  20. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-ssi.woff +0 -0
  21. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-v.woff +0 -0
  22. package/{es5/output/fonts/mathjax-tex/chtml → chtml}/woff/mjx-tex-zero.woff +0 -0
  23. package/chtml.js +1 -0
  24. package/cjs/chtml/bold-italic.d.ts +2 -0
  25. package/{js/output/fonts/mathjax-tex → cjs}/chtml/bold-italic.js +2 -2
  26. package/cjs/chtml/bold-italic.js.map +1 -0
  27. package/cjs/chtml/bold.d.ts +2 -0
  28. package/{js/output/fonts/mathjax-tex → cjs}/chtml/bold.js +1 -1
  29. package/cjs/chtml/bold.js.map +1 -0
  30. package/cjs/chtml/default.d.ts +4 -0
  31. package/cjs/chtml/default.js +9 -0
  32. package/cjs/chtml/default.js.map +1 -0
  33. package/cjs/chtml/delimiters.d.ts +2 -0
  34. package/{js/output/fonts/mathjax-tex/svg → cjs/chtml}/delimiters.js +280 -218
  35. package/cjs/chtml/delimiters.js.map +1 -0
  36. package/cjs/chtml/fraktur-bold.d.ts +2 -0
  37. package/cjs/chtml/fraktur-bold.js.map +1 -0
  38. package/cjs/chtml/fraktur.d.ts +2 -0
  39. package/{js/output/fonts/mathjax-tex → cjs}/chtml/fraktur.js +6 -6
  40. package/cjs/chtml/fraktur.js.map +1 -0
  41. package/cjs/chtml/italic.d.ts +2 -0
  42. package/{js/output/fonts/mathjax-tex → cjs}/chtml/italic.js +1 -1
  43. package/cjs/chtml/italic.js.map +1 -0
  44. package/cjs/chtml/largeop.d.ts +2 -0
  45. package/cjs/chtml/largeop.js.map +1 -0
  46. package/cjs/chtml/monospace.d.ts +2 -0
  47. package/cjs/chtml/monospace.js.map +1 -0
  48. package/cjs/chtml/normal.d.ts +2 -0
  49. package/cjs/chtml/normal.js +1332 -0
  50. package/cjs/chtml/normal.js.map +1 -0
  51. package/cjs/chtml/sans-serif-bold.d.ts +2 -0
  52. package/{js/output/fonts/mathjax-tex → cjs}/chtml/sans-serif-bold.js +1 -1
  53. package/cjs/chtml/sans-serif-bold.js.map +1 -0
  54. package/cjs/chtml/sans-serif-italic.d.ts +2 -0
  55. package/{js/output/fonts/mathjax-tex → cjs}/chtml/sans-serif-italic.js +2 -2
  56. package/cjs/chtml/sans-serif-italic.js.map +1 -0
  57. package/cjs/chtml/sans-serif.d.ts +2 -0
  58. package/{js/output/fonts/mathjax-tex → cjs}/chtml/sans-serif.js +1 -1
  59. package/cjs/chtml/sans-serif.js.map +1 -0
  60. package/cjs/chtml/size3.d.ts +2 -0
  61. package/cjs/chtml/size3.js.map +1 -0
  62. package/cjs/chtml/size4.d.ts +2 -0
  63. package/{js/output/fonts/mathjax-tex → cjs}/chtml/size4.js +1 -1
  64. package/cjs/chtml/size4.js.map +1 -0
  65. package/cjs/chtml/smallop.d.ts +2 -0
  66. package/{js/output/fonts/mathjax-tex → cjs}/chtml/smallop.js +23 -1
  67. package/cjs/chtml/smallop.js.map +1 -0
  68. package/cjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  69. package/cjs/chtml/tex-calligraphic-bold.js +34 -0
  70. package/cjs/chtml/tex-calligraphic-bold.js.map +1 -0
  71. package/cjs/chtml/tex-calligraphic.d.ts +2 -0
  72. package/cjs/chtml/tex-calligraphic.js +32 -0
  73. package/cjs/chtml/tex-calligraphic.js.map +1 -0
  74. package/cjs/chtml/tex-mathit.d.ts +2 -0
  75. package/cjs/chtml/tex-mathit.js +58 -0
  76. package/cjs/chtml/tex-mathit.js.map +1 -0
  77. package/cjs/chtml/tex-oldstyle-bold.d.ts +2 -0
  78. package/cjs/chtml/tex-oldstyle-bold.js.map +1 -0
  79. package/cjs/chtml/tex-oldstyle.d.ts +2 -0
  80. package/{js/output/fonts/mathjax-tex → cjs}/chtml/tex-oldstyle.js +14 -14
  81. package/cjs/chtml/tex-oldstyle.js.map +1 -0
  82. package/cjs/chtml/tex-variant.d.ts +2 -0
  83. package/{js/output/fonts/mathjax-tex → cjs}/chtml/tex-variant.js +1 -1
  84. package/cjs/chtml/tex-variant.js.map +1 -0
  85. package/{js/output/fonts/mathjax-tex → cjs}/chtml.d.ts +4 -7
  86. package/{js/output/fonts/mathjax-tex → cjs}/chtml.js +6 -7
  87. package/cjs/chtml.js.map +1 -0
  88. package/{js/output/fonts/mathjax-tex → cjs}/common.d.ts +1 -1
  89. package/{js/output/fonts/mathjax-tex → cjs}/common.js +12 -7
  90. package/cjs/common.js.map +1 -0
  91. package/cjs/svg/bold-italic.d.ts +2 -0
  92. package/{js/output/fonts/mathjax-tex → cjs}/svg/bold-italic.js +2 -2
  93. package/cjs/svg/bold-italic.js.map +1 -0
  94. package/cjs/svg/bold.d.ts +2 -0
  95. package/{js/output/fonts/mathjax-tex → cjs}/svg/bold.js +1 -1
  96. package/cjs/svg/bold.js.map +1 -0
  97. package/cjs/svg/default.d.ts +4 -0
  98. package/cjs/svg/default.js +9 -0
  99. package/cjs/svg/default.js.map +1 -0
  100. package/cjs/svg/delimiters.d.ts +2 -0
  101. package/{js/output/fonts/mathjax-tex/chtml → cjs/svg}/delimiters.js +280 -218
  102. package/cjs/svg/delimiters.js.map +1 -0
  103. package/cjs/svg/fraktur-bold.d.ts +2 -0
  104. package/cjs/svg/fraktur-bold.js.map +1 -0
  105. package/cjs/svg/fraktur.d.ts +2 -0
  106. package/{js/output/fonts/mathjax-tex → cjs}/svg/fraktur.js +6 -6
  107. package/cjs/svg/fraktur.js.map +1 -0
  108. package/cjs/svg/italic.d.ts +2 -0
  109. package/{js/output/fonts/mathjax-tex → cjs}/svg/italic.js +1 -1
  110. package/cjs/svg/italic.js.map +1 -0
  111. package/cjs/svg/largeop.d.ts +2 -0
  112. package/cjs/svg/largeop.js.map +1 -0
  113. package/cjs/svg/monospace.d.ts +2 -0
  114. package/cjs/svg/monospace.js.map +1 -0
  115. package/cjs/svg/normal.d.ts +2 -0
  116. package/{js/output/fonts/mathjax-tex → cjs}/svg/normal.js +578 -550
  117. package/cjs/svg/normal.js.map +1 -0
  118. package/cjs/svg/sans-serif-bold.d.ts +2 -0
  119. package/{js/output/fonts/mathjax-tex → cjs}/svg/sans-serif-bold.js +1 -1
  120. package/cjs/svg/sans-serif-bold.js.map +1 -0
  121. package/cjs/svg/sans-serif-italic.d.ts +2 -0
  122. package/{js/output/fonts/mathjax-tex → cjs}/svg/sans-serif-italic.js +2 -2
  123. package/cjs/svg/sans-serif-italic.js.map +1 -0
  124. package/cjs/svg/sans-serif.d.ts +2 -0
  125. package/{js/output/fonts/mathjax-tex → cjs}/svg/sans-serif.js +1 -1
  126. package/cjs/svg/sans-serif.js.map +1 -0
  127. package/cjs/svg/size3.d.ts +2 -0
  128. package/cjs/svg/size3.js.map +1 -0
  129. package/cjs/svg/size4.d.ts +2 -0
  130. package/{js/output/fonts/mathjax-tex → cjs}/svg/size4.js +1 -1
  131. package/cjs/svg/size4.js.map +1 -0
  132. package/cjs/svg/smallop.d.ts +2 -0
  133. package/{js/output/fonts/mathjax-tex → cjs}/svg/smallop.js +23 -1
  134. package/cjs/svg/smallop.js.map +1 -0
  135. package/cjs/svg/tex-calligraphic-bold.d.ts +2 -0
  136. package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-calligraphic-bold.js +28 -28
  137. package/cjs/svg/tex-calligraphic-bold.js.map +1 -0
  138. package/cjs/svg/tex-calligraphic.d.ts +2 -0
  139. package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-calligraphic.js +26 -26
  140. package/cjs/svg/tex-calligraphic.js.map +1 -0
  141. package/cjs/svg/tex-mathit.d.ts +2 -0
  142. package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-mathit.js +50 -50
  143. package/cjs/svg/tex-mathit.js.map +1 -0
  144. package/cjs/svg/tex-oldstyle-bold.d.ts +2 -0
  145. package/cjs/svg/tex-oldstyle-bold.js.map +1 -0
  146. package/cjs/svg/tex-oldstyle.d.ts +2 -0
  147. package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-oldstyle.js +14 -14
  148. package/cjs/svg/tex-oldstyle.js.map +1 -0
  149. package/cjs/svg/tex-variant.d.ts +2 -0
  150. package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-variant.js +1 -1
  151. package/cjs/svg/tex-variant.js.map +1 -0
  152. package/{js/output/fonts/mathjax-tex → cjs}/svg.d.ts +3 -3
  153. package/{js/output/fonts/mathjax-tex → cjs}/svg.js +3 -4
  154. package/cjs/svg.js.map +1 -0
  155. package/def/mathjax-tex.d.ts +1 -0
  156. package/def/mathjax-tex.ts +1564 -0
  157. package/examples/chtml.html +116 -0
  158. package/examples/svg.html +117 -0
  159. package/mjs/chtml/bold-italic.d.ts +2 -0
  160. package/mjs/chtml/bold-italic.js +9 -0
  161. package/mjs/chtml/bold-italic.js.map +1 -0
  162. package/mjs/chtml/bold.d.ts +2 -0
  163. package/mjs/chtml/bold.js +249 -0
  164. package/mjs/chtml/bold.js.map +1 -0
  165. package/mjs/chtml/default.d.ts +4 -0
  166. package/mjs/chtml/default.js +6 -0
  167. package/mjs/chtml/default.js.map +1 -0
  168. package/mjs/chtml/delimiters.d.ts +2 -0
  169. package/mjs/chtml/delimiters.js +866 -0
  170. package/mjs/chtml/delimiters.js.map +1 -0
  171. package/mjs/chtml/fraktur-bold.d.ts +2 -0
  172. package/mjs/chtml/fraktur-bold.js +42 -0
  173. package/mjs/chtml/fraktur-bold.js.map +1 -0
  174. package/mjs/chtml/fraktur.d.ts +2 -0
  175. package/mjs/chtml/fraktur.js +43 -0
  176. package/mjs/chtml/fraktur.js.map +1 -0
  177. package/mjs/chtml/italic.d.ts +2 -0
  178. package/mjs/chtml/italic.js +63 -0
  179. package/mjs/chtml/italic.js.map +1 -0
  180. package/mjs/chtml/largeop.d.ts +2 -0
  181. package/mjs/chtml/largeop.js +53 -0
  182. package/mjs/chtml/largeop.js.map +1 -0
  183. package/mjs/chtml/monospace.d.ts +2 -0
  184. package/mjs/chtml/monospace.js +81 -0
  185. package/mjs/chtml/monospace.js.map +1 -0
  186. package/mjs/chtml/normal.d.ts +2 -0
  187. package/mjs/chtml/normal.js +1329 -0
  188. package/mjs/chtml/normal.js.map +1 -0
  189. package/mjs/chtml/sans-serif-bold.d.ts +2 -0
  190. package/mjs/chtml/sans-serif-bold.js +51 -0
  191. package/mjs/chtml/sans-serif-bold.js.map +1 -0
  192. package/mjs/chtml/sans-serif-italic.d.ts +2 -0
  193. package/mjs/chtml/sans-serif-italic.js +85 -0
  194. package/mjs/chtml/sans-serif-italic.js.map +1 -0
  195. package/mjs/chtml/sans-serif.d.ts +2 -0
  196. package/mjs/chtml/sans-serif.js +75 -0
  197. package/mjs/chtml/sans-serif.js.map +1 -0
  198. package/mjs/chtml/size3.d.ts +2 -0
  199. package/mjs/chtml/size3.js +27 -0
  200. package/mjs/chtml/size3.js.map +1 -0
  201. package/mjs/chtml/size4.d.ts +2 -0
  202. package/mjs/chtml/size4.js +56 -0
  203. package/mjs/chtml/size4.js.map +1 -0
  204. package/mjs/chtml/smallop.d.ts +2 -0
  205. package/mjs/chtml/smallop.js +75 -0
  206. package/mjs/chtml/smallop.js.map +1 -0
  207. package/mjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  208. package/mjs/chtml/tex-calligraphic-bold.js +31 -0
  209. package/mjs/chtml/tex-calligraphic-bold.js.map +1 -0
  210. package/mjs/chtml/tex-calligraphic.d.ts +2 -0
  211. package/mjs/chtml/tex-calligraphic.js +29 -0
  212. package/mjs/chtml/tex-calligraphic.js.map +1 -0
  213. package/mjs/chtml/tex-mathit.d.ts +2 -0
  214. package/mjs/chtml/tex-mathit.js +55 -0
  215. package/mjs/chtml/tex-mathit.js.map +1 -0
  216. package/mjs/chtml/tex-oldstyle-bold.d.ts +2 -0
  217. package/{js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.js → mjs/chtml/tex-oldstyle-bold.js} +13 -8
  218. package/mjs/chtml/tex-oldstyle-bold.js.map +1 -0
  219. package/mjs/chtml/tex-oldstyle.d.ts +2 -0
  220. package/mjs/chtml/tex-oldstyle.js +39 -0
  221. package/mjs/chtml/tex-oldstyle.js.map +1 -0
  222. package/mjs/chtml/tex-variant.d.ts +2 -0
  223. package/mjs/chtml/tex-variant.js +41 -0
  224. package/mjs/chtml/tex-variant.js.map +1 -0
  225. package/mjs/chtml.d.ts +164 -0
  226. package/mjs/chtml.js +186 -0
  227. package/mjs/chtml.js.map +1 -0
  228. package/mjs/common.d.ts +2 -0
  229. package/mjs/common.js +36 -0
  230. package/mjs/common.js.map +1 -0
  231. package/mjs/package.json +3 -0
  232. package/mjs/svg/bold-italic.d.ts +2 -0
  233. package/mjs/svg/bold-italic.js +9 -0
  234. package/mjs/svg/bold-italic.js.map +1 -0
  235. package/mjs/svg/bold.d.ts +2 -0
  236. package/mjs/svg/bold.js +249 -0
  237. package/mjs/svg/bold.js.map +1 -0
  238. package/mjs/svg/default.d.ts +4 -0
  239. package/mjs/svg/default.js +6 -0
  240. package/mjs/svg/default.js.map +1 -0
  241. package/mjs/svg/delimiters.d.ts +2 -0
  242. package/mjs/svg/delimiters.js +866 -0
  243. package/mjs/svg/delimiters.js.map +1 -0
  244. package/mjs/svg/fraktur-bold.d.ts +2 -0
  245. package/mjs/svg/fraktur-bold.js +42 -0
  246. package/mjs/svg/fraktur-bold.js.map +1 -0
  247. package/mjs/svg/fraktur.d.ts +2 -0
  248. package/mjs/svg/fraktur.js +43 -0
  249. package/mjs/svg/fraktur.js.map +1 -0
  250. package/mjs/svg/italic.d.ts +2 -0
  251. package/mjs/svg/italic.js +63 -0
  252. package/mjs/svg/italic.js.map +1 -0
  253. package/mjs/svg/largeop.d.ts +2 -0
  254. package/mjs/svg/largeop.js +53 -0
  255. package/mjs/svg/largeop.js.map +1 -0
  256. package/mjs/svg/monospace.d.ts +2 -0
  257. package/mjs/svg/monospace.js +81 -0
  258. package/mjs/svg/monospace.js.map +1 -0
  259. package/mjs/svg/normal.d.ts +2 -0
  260. package/mjs/svg/normal.js +1329 -0
  261. package/mjs/svg/normal.js.map +1 -0
  262. package/mjs/svg/sans-serif-bold.d.ts +2 -0
  263. package/mjs/svg/sans-serif-bold.js +51 -0
  264. package/mjs/svg/sans-serif-bold.js.map +1 -0
  265. package/mjs/svg/sans-serif-italic.d.ts +2 -0
  266. package/mjs/svg/sans-serif-italic.js +85 -0
  267. package/mjs/svg/sans-serif-italic.js.map +1 -0
  268. package/mjs/svg/sans-serif.d.ts +2 -0
  269. package/mjs/svg/sans-serif.js +75 -0
  270. package/mjs/svg/sans-serif.js.map +1 -0
  271. package/mjs/svg/size3.d.ts +2 -0
  272. package/mjs/svg/size3.js +27 -0
  273. package/mjs/svg/size3.js.map +1 -0
  274. package/mjs/svg/size4.d.ts +2 -0
  275. package/mjs/svg/size4.js +56 -0
  276. package/mjs/svg/size4.js.map +1 -0
  277. package/mjs/svg/smallop.d.ts +2 -0
  278. package/mjs/svg/smallop.js +75 -0
  279. package/mjs/svg/smallop.js.map +1 -0
  280. package/mjs/svg/tex-calligraphic-bold.d.ts +2 -0
  281. package/mjs/svg/tex-calligraphic-bold.js +31 -0
  282. package/mjs/svg/tex-calligraphic-bold.js.map +1 -0
  283. package/mjs/svg/tex-calligraphic.d.ts +2 -0
  284. package/mjs/svg/tex-calligraphic.js +29 -0
  285. package/mjs/svg/tex-calligraphic.js.map +1 -0
  286. package/mjs/svg/tex-mathit.d.ts +2 -0
  287. package/mjs/svg/tex-mathit.js +55 -0
  288. package/mjs/svg/tex-mathit.js.map +1 -0
  289. package/mjs/svg/tex-oldstyle-bold.d.ts +2 -0
  290. package/mjs/svg/tex-oldstyle-bold.js +39 -0
  291. package/mjs/svg/tex-oldstyle-bold.js.map +1 -0
  292. package/mjs/svg/tex-oldstyle.d.ts +2 -0
  293. package/mjs/svg/tex-oldstyle.js +39 -0
  294. package/mjs/svg/tex-oldstyle.js.map +1 -0
  295. package/mjs/svg/tex-variant.d.ts +2 -0
  296. package/mjs/svg/tex-variant.js +41 -0
  297. package/mjs/svg/tex-variant.js.map +1 -0
  298. package/mjs/svg.d.ts +13 -0
  299. package/mjs/svg.js +80 -0
  300. package/mjs/svg.js.map +1 -0
  301. package/package.json +56 -18
  302. package/svg.js +1 -0
  303. package/tex-mml-chtml-mathjax-tex.js +1 -0
  304. package/tex-mml-svg-mathjax-tex.js +1 -0
  305. package/tsconfig/cjs.json +8 -0
  306. package/tsconfig/common.json +13 -0
  307. package/tsconfig/def.json +10 -0
  308. package/tsconfig/mjs.json +9 -0
  309. package/tsconfig.json +3 -0
  310. package/build/output/fonts/mathjax-tex/chtml/build.json +0 -7
  311. package/build/output/fonts/mathjax-tex/chtml/chtml.js +0 -22
  312. package/build/output/fonts/mathjax-tex/chtml/copy.json +0 -5
  313. package/build/output/fonts/mathjax-tex/chtml/lib/chtml.js +0 -18
  314. package/build/output/fonts/mathjax-tex/chtml/lib/output/fonts/mathjax-tex/chtml.js +0 -3
  315. package/build/output/fonts/mathjax-tex/chtml/webpack.config.js +0 -11
  316. package/build/output/fonts/mathjax-tex/svg/build.json +0 -7
  317. package/build/output/fonts/mathjax-tex/svg/lib/output/fonts/mathjax-tex/svg.js +0 -3
  318. package/build/output/fonts/mathjax-tex/svg/lib/svg.js +0 -18
  319. package/build/output/fonts/mathjax-tex/svg/svg.js +0 -18
  320. package/build/output/fonts/mathjax-tex/svg/webpack.config.js +0 -11
  321. package/build/tex-mml-chtml-mathjax-tex/DefaultFont.js +0 -2
  322. package/build/tex-mml-chtml-mathjax-tex/tex-mml-chtml-mathjax-tex.js +0 -1
  323. package/build/tex-mml-chtml-mathjax-tex/webpack.config.js +0 -18
  324. package/build/tex-mml-svg-mathjax-tex/DefaultFont.js +0 -2
  325. package/build/tex-mml-svg-mathjax-tex/tex-mml-svg-mathjax-tex.js +0 -1
  326. package/build/tex-mml-svg-mathjax-tex/webpack.config.js +0 -18
  327. package/es5/output/fonts/mathjax-tex/chtml/woff/mjx-tex-so.woff +0 -0
  328. package/es5/output/fonts/mathjax-tex/chtml.js +0 -1
  329. package/es5/output/fonts/mathjax-tex/svg.js +0 -1
  330. package/es5/tex-mml-chtml-mathjax-tex.js +0 -1
  331. package/es5/tex-mml-svg-mathjax-tex.js +0 -1
  332. package/js/output/fonts/mathjax-tex/chtml/bold-italic.d.ts +0 -2
  333. package/js/output/fonts/mathjax-tex/chtml/bold-italic.js.map +0 -1
  334. package/js/output/fonts/mathjax-tex/chtml/bold.d.ts +0 -2
  335. package/js/output/fonts/mathjax-tex/chtml/bold.js.map +0 -1
  336. package/js/output/fonts/mathjax-tex/chtml/delimiters.d.ts +0 -2
  337. package/js/output/fonts/mathjax-tex/chtml/delimiters.js.map +0 -1
  338. package/js/output/fonts/mathjax-tex/chtml/fraktur-bold.d.ts +0 -2
  339. package/js/output/fonts/mathjax-tex/chtml/fraktur-bold.js.map +0 -1
  340. package/js/output/fonts/mathjax-tex/chtml/fraktur.d.ts +0 -2
  341. package/js/output/fonts/mathjax-tex/chtml/fraktur.js.map +0 -1
  342. package/js/output/fonts/mathjax-tex/chtml/italic.d.ts +0 -2
  343. package/js/output/fonts/mathjax-tex/chtml/italic.js.map +0 -1
  344. package/js/output/fonts/mathjax-tex/chtml/largeop.d.ts +0 -2
  345. package/js/output/fonts/mathjax-tex/chtml/largeop.js.map +0 -1
  346. package/js/output/fonts/mathjax-tex/chtml/monospace.d.ts +0 -2
  347. package/js/output/fonts/mathjax-tex/chtml/monospace.js.map +0 -1
  348. package/js/output/fonts/mathjax-tex/chtml/normal.d.ts +0 -2
  349. package/js/output/fonts/mathjax-tex/chtml/normal.js +0 -1304
  350. package/js/output/fonts/mathjax-tex/chtml/normal.js.map +0 -1
  351. package/js/output/fonts/mathjax-tex/chtml/sans-serif-bold.d.ts +0 -2
  352. package/js/output/fonts/mathjax-tex/chtml/sans-serif-bold.js.map +0 -1
  353. package/js/output/fonts/mathjax-tex/chtml/sans-serif-italic.d.ts +0 -2
  354. package/js/output/fonts/mathjax-tex/chtml/sans-serif-italic.js.map +0 -1
  355. package/js/output/fonts/mathjax-tex/chtml/sans-serif.d.ts +0 -2
  356. package/js/output/fonts/mathjax-tex/chtml/sans-serif.js.map +0 -1
  357. package/js/output/fonts/mathjax-tex/chtml/size3.d.ts +0 -2
  358. package/js/output/fonts/mathjax-tex/chtml/size3.js.map +0 -1
  359. package/js/output/fonts/mathjax-tex/chtml/size4.d.ts +0 -2
  360. package/js/output/fonts/mathjax-tex/chtml/size4.js.map +0 -1
  361. package/js/output/fonts/mathjax-tex/chtml/smallop.d.ts +0 -2
  362. package/js/output/fonts/mathjax-tex/chtml/smallop.js.map +0 -1
  363. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.d.ts +0 -2
  364. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic-bold.js.map +0 -1
  365. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.d.ts +0 -2
  366. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.js +0 -32
  367. package/js/output/fonts/mathjax-tex/chtml/tex-calligraphic.js.map +0 -1
  368. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.d.ts +0 -2
  369. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.js +0 -58
  370. package/js/output/fonts/mathjax-tex/chtml/tex-mathit.js.map +0 -1
  371. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle-bold.d.ts +0 -2
  372. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle-bold.js.map +0 -1
  373. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle.d.ts +0 -2
  374. package/js/output/fonts/mathjax-tex/chtml/tex-oldstyle.js.map +0 -1
  375. package/js/output/fonts/mathjax-tex/chtml/tex-variant.d.ts +0 -2
  376. package/js/output/fonts/mathjax-tex/chtml/tex-variant.js.map +0 -1
  377. package/js/output/fonts/mathjax-tex/chtml.js.map +0 -1
  378. package/js/output/fonts/mathjax-tex/common.js.map +0 -1
  379. package/js/output/fonts/mathjax-tex/svg/bold-italic.d.ts +0 -2
  380. package/js/output/fonts/mathjax-tex/svg/bold-italic.js.map +0 -1
  381. package/js/output/fonts/mathjax-tex/svg/bold.d.ts +0 -2
  382. package/js/output/fonts/mathjax-tex/svg/bold.js.map +0 -1
  383. package/js/output/fonts/mathjax-tex/svg/delimiters.d.ts +0 -2
  384. package/js/output/fonts/mathjax-tex/svg/delimiters.js.map +0 -1
  385. package/js/output/fonts/mathjax-tex/svg/fraktur-bold.d.ts +0 -2
  386. package/js/output/fonts/mathjax-tex/svg/fraktur-bold.js.map +0 -1
  387. package/js/output/fonts/mathjax-tex/svg/fraktur.d.ts +0 -2
  388. package/js/output/fonts/mathjax-tex/svg/fraktur.js.map +0 -1
  389. package/js/output/fonts/mathjax-tex/svg/italic.d.ts +0 -2
  390. package/js/output/fonts/mathjax-tex/svg/italic.js.map +0 -1
  391. package/js/output/fonts/mathjax-tex/svg/largeop.d.ts +0 -2
  392. package/js/output/fonts/mathjax-tex/svg/largeop.js.map +0 -1
  393. package/js/output/fonts/mathjax-tex/svg/monospace.d.ts +0 -2
  394. package/js/output/fonts/mathjax-tex/svg/monospace.js.map +0 -1
  395. package/js/output/fonts/mathjax-tex/svg/normal.d.ts +0 -2
  396. package/js/output/fonts/mathjax-tex/svg/normal.js.map +0 -1
  397. package/js/output/fonts/mathjax-tex/svg/sans-serif-bold.d.ts +0 -2
  398. package/js/output/fonts/mathjax-tex/svg/sans-serif-bold.js.map +0 -1
  399. package/js/output/fonts/mathjax-tex/svg/sans-serif-italic.d.ts +0 -2
  400. package/js/output/fonts/mathjax-tex/svg/sans-serif-italic.js.map +0 -1
  401. package/js/output/fonts/mathjax-tex/svg/sans-serif.d.ts +0 -2
  402. package/js/output/fonts/mathjax-tex/svg/sans-serif.js.map +0 -1
  403. package/js/output/fonts/mathjax-tex/svg/size3.d.ts +0 -2
  404. package/js/output/fonts/mathjax-tex/svg/size3.js.map +0 -1
  405. package/js/output/fonts/mathjax-tex/svg/size4.d.ts +0 -2
  406. package/js/output/fonts/mathjax-tex/svg/size4.js.map +0 -1
  407. package/js/output/fonts/mathjax-tex/svg/smallop.d.ts +0 -2
  408. package/js/output/fonts/mathjax-tex/svg/smallop.js.map +0 -1
  409. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic-bold.d.ts +0 -2
  410. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic-bold.js.map +0 -1
  411. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic.d.ts +0 -2
  412. package/js/output/fonts/mathjax-tex/svg/tex-calligraphic.js.map +0 -1
  413. package/js/output/fonts/mathjax-tex/svg/tex-mathit.d.ts +0 -2
  414. package/js/output/fonts/mathjax-tex/svg/tex-mathit.js.map +0 -1
  415. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle-bold.d.ts +0 -2
  416. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle-bold.js.map +0 -1
  417. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle.d.ts +0 -2
  418. package/js/output/fonts/mathjax-tex/svg/tex-oldstyle.js.map +0 -1
  419. package/js/output/fonts/mathjax-tex/svg/tex-variant.d.ts +0 -2
  420. package/js/output/fonts/mathjax-tex/svg/tex-variant.js.map +0 -1
  421. package/js/output/fonts/mathjax-tex/svg.js.map +0 -1
  422. /package/{js/output/fonts/mathjax-tex → cjs}/chtml/fraktur-bold.js +0 -0
  423. /package/{js/output/fonts/mathjax-tex → cjs}/chtml/largeop.js +0 -0
  424. /package/{js/output/fonts/mathjax-tex → cjs}/chtml/monospace.js +0 -0
  425. /package/{js/output/fonts/mathjax-tex → cjs}/chtml/size3.js +0 -0
  426. /package/{js/output/fonts/mathjax-tex → cjs}/chtml/tex-oldstyle-bold.js +0 -0
  427. /package/{js/output/fonts/mathjax-tex → cjs}/svg/fraktur-bold.js +0 -0
  428. /package/{js/output/fonts/mathjax-tex → cjs}/svg/largeop.js +0 -0
  429. /package/{js/output/fonts/mathjax-tex → cjs}/svg/monospace.js +0 -0
  430. /package/{js/output/fonts/mathjax-tex → cjs}/svg/size3.js +0 -0
  431. /package/{js/output/fonts/mathjax-tex → cjs}/svg/tex-o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AC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,+PAA+P,EAAC,CAAC;IAC/R,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,uPAAuP,EAAC,CAAC;IACxR,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,w9BAAw9B,EAAC,CAAC;IACz/B,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,o7BAAo7B,EAAC,CAAC;IACr9B,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,w9BAAw9B,EAAC,CAAC;IACz/B,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,2gCAA2gC,EAAC,CAAC;CAC7iC,CAAC"}
package/mjs/svg.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { SvgFontData, SvgCharOptions, SvgVariantData, SvgDelimiterData, DelimiterMap, CharMapMap } from 'mathjax-full/mjs/output/svg/FontData.js';
2
+ import { OptionList } from 'mathjax-full/mjs/util/Options.js';
3
+ declare const Base: import("mathjax-full/mjs/output/common/FontData.js").FontDataClass<SvgCharOptions, SvgVariantData, SvgDelimiterData> & typeof SvgFontData;
4
+ export declare class MathJaxTexFont extends Base {
5
+ static NAME: string;
6
+ protected static defaultDelimiters: DelimiterMap<SvgDelimiterData>;
7
+ protected static defaultChars: CharMapMap<SvgCharOptions>;
8
+ protected static variantCacheIds: {
9
+ [name: string]: string;
10
+ };
11
+ constructor(options?: OptionList);
12
+ }
13
+ export {};
package/mjs/svg.js ADDED
@@ -0,0 +1,80 @@
1
+ import { SvgFontData } from 'mathjax-full/mjs/output/svg/FontData.js';
2
+ import { CommonMathJaxTexFontMixin } from './common.js';
3
+ import { normal } from './svg/normal.js';
4
+ import { bold } from './svg/bold.js';
5
+ import { italic } from './svg/italic.js';
6
+ import { boldItalic } from './svg/bold-italic.js';
7
+ import { fraktur } from './svg/fraktur.js';
8
+ import { frakturBold } from './svg/fraktur-bold.js';
9
+ import { sansSerif } from './svg/sans-serif.js';
10
+ import { sansSerifBold } from './svg/sans-serif-bold.js';
11
+ import { sansSerifItalic } from './svg/sans-serif-italic.js';
12
+ import { monospace } from './svg/monospace.js';
13
+ import { smallop } from './svg/smallop.js';
14
+ import { largeop } from './svg/largeop.js';
15
+ import { texCalligraphic } from './svg/tex-calligraphic.js';
16
+ import { texCalligraphicBold } from './svg/tex-calligraphic-bold.js';
17
+ import { texOldstyle } from './svg/tex-oldstyle.js';
18
+ import { texOldstyleBold } from './svg/tex-oldstyle-bold.js';
19
+ import { texMathit } from './svg/tex-mathit.js';
20
+ import { texVariant } from './svg/tex-variant.js';
21
+ import { size3 } from './svg/size3.js';
22
+ import { size4 } from './svg/size4.js';
23
+ import { delimiters } from './svg/delimiters.js';
24
+ const Base = CommonMathJaxTexFontMixin(SvgFontData);
25
+ export class MathJaxTexFont extends Base {
26
+ constructor(options = {}) {
27
+ super(options);
28
+ const CLASS = this.constructor;
29
+ for (const variant of Object.keys(CLASS.variantCacheIds)) {
30
+ this.variant[variant].cacheID = 'TEX-' + CLASS.variantCacheIds[variant];
31
+ }
32
+ }
33
+ }
34
+ MathJaxTexFont.NAME = 'MathJaxTex';
35
+ MathJaxTexFont.defaultDelimiters = delimiters;
36
+ MathJaxTexFont.defaultChars = {
37
+ 'normal': normal,
38
+ 'bold': bold,
39
+ 'italic': italic,
40
+ 'bold-italic': boldItalic,
41
+ 'fraktur': fraktur,
42
+ 'bold-fraktur': frakturBold,
43
+ 'sans-serif': sansSerif,
44
+ 'bold-sans-serif': sansSerifBold,
45
+ 'sans-serif-italic': sansSerifItalic,
46
+ 'monospace': monospace,
47
+ '-smallop': smallop,
48
+ '-largeop': largeop,
49
+ '-tex-calligraphic': texCalligraphic,
50
+ '-tex-bold-calligraphic': texCalligraphicBold,
51
+ '-tex-oldstyle': texOldstyle,
52
+ '-tex-bold-oldstyle': texOldstyleBold,
53
+ '-tex-mathit': texMathit,
54
+ '-tex-variant': texVariant,
55
+ '-size3': size3,
56
+ '-size4': size4
57
+ };
58
+ MathJaxTexFont.variantCacheIds = {
59
+ 'normal': 'N',
60
+ 'bold': 'B',
61
+ 'italic': 'I',
62
+ 'bold-italic': 'BI',
63
+ 'fraktur': 'F',
64
+ 'bold-fraktur': 'FB',
65
+ 'sans-serif': 'SS',
66
+ 'bold-sans-serif': 'SSB',
67
+ 'sans-serif-italic': 'SSI',
68
+ 'monospace': 'M',
69
+ '-smallop': 'SO',
70
+ '-largeop': 'LO',
71
+ '-tex-calligraphic': 'C',
72
+ '-tex-bold-calligraphic': 'CB',
73
+ '-tex-oldstyle': 'OS',
74
+ '-tex-bold-oldstyle': 'OB',
75
+ '-tex-mathit': 'MI',
76
+ '-tex-variant': 'V',
77
+ '-size3': 'S3',
78
+ '-size4': 'S4'
79
+ };
80
+ //# sourceMappingURL=svg.js.map
package/mjs/svg.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svg.js","sourceRoot":"","sources":["../ts/svg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EACgC,MAAM,yCAAyC,CAAC;AACnG,OAAO,EAAC,yBAAyB,EAAC,MAAM,aAAa,CAAC;AAGtD,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EA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EAAE,MAAM;IAChB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,MAAM;IAChB,aAAa,EAAE,UAAU;IACzB,SAAS,EAAE,OAAO;IAClB,cAAc,EAAE,WAAW;IAC3B,YAAY,EAAE,SAAS;IACvB,iBAAiB,EAAE,aAAa;IAChC,mBAAmB,EAAE,eAAe;IACpC,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,OAAO;IACnB,mBAAmB,EAAE,eAAe;IACpC,wBAAwB,EAAE,mBAAmB;IAC7C,eAAe,EAAE,WAAW;IAC5B,oBAAoB,EAAE,eAAe;IACrC,aAAa,EAAE,SAAS;IACxB,cAAc,EAAE,UAAU;IAC1B,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,KAAK;CAChB,CAAC;AAKe,8BAAe,GAA6B;IAC3D,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,GAAG;IACX,QAAQ,EAAE,GAAG;IACb,aAAa,EAAE,IAAI;IACnB,SAAS,EAAE,GAAG;IACd,cAAc,EAAE,IAAI;IACpB,YAAY,EAAE,IAAI;IAClB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,WAAW,EAAE,GAAG;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,mBAAmB,EAAE,GAAG;IACxB,wBAAwB,EAAE,IAAI;IAC9B,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,GAAG;IACnB,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,IAAI;CACf,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mathjax-tex-font",
3
- "version": "1.0.0-alpha.1",
4
- "description": "MathJax-Tex font for MathJax v3",
3
+ "version": "4.0.0-beta.1",
4
+ "description": "MathJax-Tex font for MathJax v4",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,24 +13,62 @@
13
13
  "MathJax-Tex"
14
14
  ],
15
15
  "files": [
16
- "js/output",
17
- "es5",
18
- "build"
16
+ "def/*.ts",
17
+ "cjs",
18
+ "mjs",
19
+ "chtml",
20
+ "chtml.js",
21
+ "svg",
22
+ "svg.js",
23
+ "tex-mml-*",
24
+ "tsconfig",
25
+ "tsconfig.json",
26
+ "examples/chtml.html",
27
+ "examples/svg.html"
19
28
  ],
20
29
  "scripts": {
21
- "clear:dirs": "npx rimraf ts/output js/* es5 build",
30
+ "clear:dirs": "clear() { npx rimraf ts/* def/*.js build $1 $2 $3 $4; }; clear",
22
31
  "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"
32
+ "clean:mod": "clean() { echo Cleaning $1 directories; npm run -s clear:dirs $1 $2 $3 $4; }; clean",
33
+ "clean:cjs": "npm run -s clean:mod cjs bundle-cjs",
34
+ "clean:mjs": "npm run -s clean:mod mjs chtml svg '*.js'",
35
+ "clean": "npm run -s clean:cjs && npm run -s clean:mjs",
36
+ "======================================================================== def": "",
37
+ "predef:compile": "echo 'Compiling font definition'",
38
+ "def:compile": "tsc --project tsconfig/def.json",
39
+ "predef:run": "echo 'Processing font definition'",
40
+ "def:run": "node -r esm def/mathjax-tex.js",
41
+ "======================================================================== compile": "",
42
+ "_pre_compile": "pre() { npm run -s clean:$1 && npm run -s def:compile && npm run -s def:run $1; }; pre",
43
+ "_compile": "comp() { echo \"Compiling $1 typescript files\" && tsc --project tsconfig/$1.json; }; comp",
44
+ "_compile_": "comp() { npm run _pre_compile $1 && npm run _compile $1; }; comp",
45
+ "compile-cjs": "npm run -s _compile_ cjs",
46
+ "compile-mjs": "npm run -s _compile_ mjs",
47
+ "postcompile-mjs": "echo '{\n \"type\": \"module\"\n}' > mjs/package.json",
48
+ "compile": "npm run -s compile-mjs",
49
+ "======================================================================== make": "",
50
+ "make-one": "make() { ../node_modules/mathjax-full/components/bin/makeAll --$2 $3 $4 build/$1; }; make",
51
+ "_make-font_": "font() { npm run -- make-one chtml $1 $2 $3; npm run -- make-one svg $1 $2 $3; }; font",
52
+ "make-cjs-font": "npm run -s -- _make-font_ cjs --bundle-cjs",
53
+ "make-mjs-font": "npm run -s -- _make-font_ mjs",
54
+ "make-font": "npm run -s make-mjs-font",
55
+ "======================================================================== combine": "",
56
+ "_combine-one": "one() { npm run -- make-one tex-mml-$1-mathjax-tex $2 $3; }; one",
57
+ "combine-one": "one() { npm run -s -- make-one $1 $2 --build; npm run -s -- _combine-one $1 $2 $3; }; one",
58
+ "_combine_": "combine() { npm run -- combine-one chtml $1 $2 $3; npm run -- combine-one svg $1 $2 $3; }; combine",
59
+ "combine-cjs": "npm run -s -- _combine_ cjs --bundle-cjs",
60
+ "combine-mjs": "npm run -s -- _combine_ mjs",
61
+ "combine": "npm run -s combine-mjs",
62
+ "======================================================================== build": "",
63
+ "build-one": "one() { npm run -s compile-$2; echo; npm run -s make-one $1 $2; npm run -s pack-one $1 $2; }; one",
64
+ "_build": "one() { npm run make-one $1 $2; npm run make-one tex-mml-$1-mathjax-tex $2; }; one",
65
+ "_build_": "build() { npm run compile-$1; echo; npm run _build chtml $1; npm run _build svg $1; }; build",
66
+ "build-cjs": "echo '============='; echo 'Building cjs:'; echo '============='; npm run -s compile-cjs",
67
+ "build-mjs": "echo '============='; echo 'Building mjs:'; echo '============='; npm run -s _build_ mjs",
68
+ "build": "npm run -s build-mjs",
69
+ "build-all": "npm run -s build-cjs && echo && npm run -s build-mjs",
70
+ "======================================================================== tables": "",
71
+ "table": "table() { npm run -s clear:tables $1; node ../bin/makeTables.js $1 mathjax-tex; }; table",
72
+ "tables": "npm run -s table svg && npm run -s table chtml"
35
73
  }
36
74
  }