mathjax-asana-font 1.0.0-beta.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 (883) hide show
  1. package/chtml/dynamic/accents.js +1 -0
  2. package/chtml/dynamic/arrows.js +1 -0
  3. package/chtml/dynamic/calligraphic.js +1 -0
  4. package/chtml/dynamic/cherokee.js +1 -0
  5. package/chtml/dynamic/double-struck.js +1 -0
  6. package/chtml/dynamic/fraktur.js +1 -0
  7. package/chtml/dynamic/greek.js +1 -0
  8. package/chtml/dynamic/latin.js +1 -0
  9. package/chtml/dynamic/math.js +1 -0
  10. package/chtml/dynamic/monospace.js +1 -0
  11. package/chtml/dynamic/sans-serif.js +1 -0
  12. package/chtml/dynamic/script.js +1 -0
  13. package/chtml/dynamic/shapes.js +1 -0
  14. package/chtml/dynamic/stretchy.js +1 -0
  15. package/chtml/dynamic/symbols.js +1 -0
  16. package/chtml/woff/mjx-asna-ar.woff +0 -0
  17. package/chtml/woff/mjx-asna-b.woff +0 -0
  18. package/chtml/woff/mjx-asna-bi.woff +0 -0
  19. package/chtml/woff/mjx-asna-brk.woff +0 -0
  20. package/chtml/woff/mjx-asna-c.woff +0 -0
  21. package/chtml/woff/mjx-asna-cb.woff +0 -0
  22. package/chtml/woff/mjx-asna-ck.woff +0 -0
  23. package/chtml/woff/mjx-asna-ds.woff +0 -0
  24. package/chtml/woff/mjx-asna-e.woff +0 -0
  25. package/chtml/woff/mjx-asna-f.woff +0 -0
  26. package/chtml/woff/mjx-asna-fb.woff +0 -0
  27. package/chtml/woff/mjx-asna-gk.woff +0 -0
  28. package/chtml/woff/mjx-asna-i.woff +0 -0
  29. package/chtml/woff/mjx-asna-lo.woff +0 -0
  30. package/chtml/woff/mjx-asna-lr.woff +0 -0
  31. package/chtml/woff/mjx-asna-m.woff +0 -0
  32. package/chtml/woff/mjx-asna-mm.woff +0 -0
  33. package/chtml/woff/mjx-asna-n.woff +0 -0
  34. package/chtml/woff/mjx-asna-os.woff +0 -0
  35. package/chtml/woff/mjx-asna-s.woff +0 -0
  36. package/chtml/woff/mjx-asna-s3.woff +0 -0
  37. package/chtml/woff/mjx-asna-s4.woff +0 -0
  38. package/chtml/woff/mjx-asna-s5.woff +0 -0
  39. package/chtml/woff/mjx-asna-s6.woff +0 -0
  40. package/chtml/woff/mjx-asna-sb.woff +0 -0
  41. package/chtml/woff/mjx-asna-sh.woff +0 -0
  42. package/chtml/woff/mjx-asna-so.woff +0 -0
  43. package/chtml/woff/mjx-asna-ss.woff +0 -0
  44. package/chtml/woff/mjx-asna-ssb.woff +0 -0
  45. package/chtml/woff/mjx-asna-ssbi.woff +0 -0
  46. package/chtml/woff/mjx-asna-ssi.woff +0 -0
  47. package/chtml/woff/mjx-asna-sy.woff +0 -0
  48. package/chtml/woff/mjx-asna-v.woff +0 -0
  49. package/chtml/woff/mjx-asna-zero.woff +0 -0
  50. package/chtml.js +1 -0
  51. package/cjs/chtml/bold-italic.d.ts +2 -0
  52. package/cjs/chtml/bold.d.ts +2 -0
  53. package/cjs/chtml/delimiters.d.ts +2 -0
  54. package/cjs/chtml/delimiters.js +1001 -0
  55. package/cjs/chtml/delimiters.js.map +1 -0
  56. package/cjs/chtml/double-struck.d.ts +2 -0
  57. package/cjs/chtml/dynamic/accents.js +85 -0
  58. package/cjs/chtml/dynamic/accents.js.map +1 -0
  59. package/cjs/chtml/dynamic/arrows.js +296 -0
  60. package/cjs/chtml/dynamic/arrows.js.map +1 -0
  61. package/cjs/chtml/dynamic/calligraphic.js +67 -0
  62. package/cjs/chtml/dynamic/calligraphic.js.map +1 -0
  63. package/cjs/chtml/dynamic/cherokee.js +96 -0
  64. package/cjs/chtml/dynamic/cherokee.js.map +1 -0
  65. package/cjs/chtml/dynamic/double-struck.js +87 -0
  66. package/cjs/chtml/dynamic/double-struck.js.map +1 -0
  67. package/cjs/chtml/dynamic/fraktur.js +127 -0
  68. package/cjs/chtml/dynamic/fraktur.js.map +1 -0
  69. package/cjs/chtml/dynamic/greek.js +44 -0
  70. package/cjs/chtml/dynamic/greek.js.map +1 -0
  71. package/cjs/chtml/dynamic/latin.js +72 -0
  72. package/cjs/chtml/dynamic/latin.js.map +1 -0
  73. package/cjs/chtml/dynamic/math.js +428 -0
  74. package/cjs/chtml/dynamic/math.js.map +1 -0
  75. package/cjs/chtml/dynamic/monospace.js +77 -0
  76. package/cjs/chtml/dynamic/monospace.js.map +1 -0
  77. package/cjs/chtml/dynamic/sans-serif.js +271 -0
  78. package/cjs/chtml/dynamic/sans-serif.js.map +1 -0
  79. package/cjs/chtml/dynamic/script.js +129 -0
  80. package/cjs/chtml/dynamic/script.js.map +1 -0
  81. package/cjs/chtml/dynamic/shapes.js +91 -0
  82. package/cjs/chtml/dynamic/shapes.js.map +1 -0
  83. package/cjs/chtml/dynamic/stretchy.js +212 -0
  84. package/cjs/chtml/dynamic/stretchy.js.map +1 -0
  85. package/cjs/chtml/dynamic/symbols.js +187 -0
  86. package/cjs/chtml/dynamic/symbols.js.map +1 -0
  87. package/cjs/chtml/extend.d.ts +2 -0
  88. package/cjs/chtml/extend.js +48 -0
  89. package/cjs/chtml/extend.js.map +1 -0
  90. package/cjs/chtml/fraktur-bold.d.ts +2 -0
  91. package/cjs/chtml/fraktur.d.ts +2 -0
  92. package/cjs/chtml/italic.d.ts +2 -0
  93. package/cjs/chtml/largeop.d.ts +2 -0
  94. package/cjs/chtml/monospace.d.ts +2 -0
  95. package/cjs/chtml/normal.d.ts +2 -0
  96. package/cjs/chtml/normal.js +1197 -0
  97. package/cjs/chtml/normal.js.map +1 -0
  98. package/cjs/chtml/sans-serif-bold-italic.d.ts +2 -0
  99. package/cjs/chtml/sans-serif-bold.d.ts +2 -0
  100. package/cjs/chtml/sans-serif-italic.d.ts +2 -0
  101. package/cjs/chtml/sans-serif.d.ts +2 -0
  102. package/cjs/chtml/script-bold.d.ts +2 -0
  103. package/cjs/chtml/script.d.ts +2 -0
  104. package/cjs/chtml/size3.d.ts +2 -0
  105. package/cjs/chtml/size4.d.ts +2 -0
  106. package/cjs/chtml/size5.d.ts +2 -0
  107. package/cjs/chtml/size6.d.ts +2 -0
  108. package/cjs/chtml/smallop.d.ts +2 -0
  109. package/cjs/chtml/smallop.js +47 -0
  110. package/cjs/chtml/smallop.js.map +1 -0
  111. package/cjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  112. package/cjs/chtml/tex-calligraphic.d.ts +2 -0
  113. package/cjs/chtml/tex-oldstyle.d.ts +2 -0
  114. package/cjs/chtml/tex-variant.d.ts +2 -0
  115. package/cjs/chtml/tex-variant.js +68 -0
  116. package/cjs/chtml/tex-variant.js.map +1 -0
  117. package/cjs/chtml.d.ts +204 -0
  118. package/cjs/chtml.js +389 -0
  119. package/cjs/chtml.js.map +1 -0
  120. package/cjs/common.d.ts +2 -0
  121. package/cjs/common.js +98 -0
  122. package/cjs/common.js.map +1 -0
  123. package/cjs/svg/bold-italic.d.ts +2 -0
  124. package/cjs/svg/bold.d.ts +2 -0
  125. package/cjs/svg/delimiters.d.ts +2 -0
  126. package/cjs/svg/delimiters.js +1001 -0
  127. package/cjs/svg/delimiters.js.map +1 -0
  128. package/cjs/svg/double-struck.d.ts +2 -0
  129. package/cjs/svg/dynamic/accents.js +82 -0
  130. package/cjs/svg/dynamic/accents.js.map +1 -0
  131. package/cjs/svg/dynamic/arrows.js +291 -0
  132. package/cjs/svg/dynamic/arrows.js.map +1 -0
  133. package/cjs/svg/dynamic/calligraphic.js +62 -0
  134. package/cjs/svg/dynamic/calligraphic.js.map +1 -0
  135. package/cjs/svg/dynamic/cherokee.js +93 -0
  136. package/cjs/svg/dynamic/cherokee.js.map +1 -0
  137. package/cjs/svg/dynamic/double-struck.js +84 -0
  138. package/cjs/svg/dynamic/double-struck.js.map +1 -0
  139. package/cjs/svg/dynamic/fraktur.js +120 -0
  140. package/cjs/svg/dynamic/fraktur.js.map +1 -0
  141. package/cjs/svg/dynamic/greek.js +41 -0
  142. package/cjs/svg/dynamic/greek.js.map +1 -0
  143. package/cjs/svg/dynamic/latin.js +69 -0
  144. package/cjs/svg/dynamic/latin.js.map +1 -0
  145. package/cjs/svg/dynamic/math.js +425 -0
  146. package/cjs/svg/dynamic/math.js.map +1 -0
  147. package/cjs/svg/dynamic/monospace.js +74 -0
  148. package/cjs/svg/dynamic/monospace.js.map +1 -0
  149. package/cjs/svg/dynamic/sans-serif.js +256 -0
  150. package/cjs/svg/dynamic/sans-serif.js.map +1 -0
  151. package/cjs/svg/dynamic/script.js +122 -0
  152. package/cjs/svg/dynamic/script.js.map +1 -0
  153. package/cjs/svg/dynamic/shapes.js +88 -0
  154. package/cjs/svg/dynamic/shapes.js.map +1 -0
  155. package/cjs/svg/dynamic/stretchy.js +209 -0
  156. package/cjs/svg/dynamic/stretchy.js.map +1 -0
  157. package/cjs/svg/dynamic/symbols.js +182 -0
  158. package/cjs/svg/dynamic/symbols.js.map +1 -0
  159. package/cjs/svg/extend.d.ts +2 -0
  160. package/cjs/svg/extend.js +48 -0
  161. package/cjs/svg/extend.js.map +1 -0
  162. package/cjs/svg/fraktur-bold.d.ts +2 -0
  163. package/cjs/svg/fraktur.d.ts +2 -0
  164. package/cjs/svg/italic.d.ts +2 -0
  165. package/cjs/svg/largeop.d.ts +2 -0
  166. package/cjs/svg/monospace.d.ts +2 -0
  167. package/cjs/svg/normal.d.ts +2 -0
  168. package/cjs/svg/normal.js +1197 -0
  169. package/cjs/svg/normal.js.map +1 -0
  170. package/cjs/svg/sans-serif-bold-italic.d.ts +2 -0
  171. package/cjs/svg/sans-serif-bold.d.ts +2 -0
  172. package/cjs/svg/sans-serif-italic.d.ts +2 -0
  173. package/cjs/svg/sans-serif.d.ts +2 -0
  174. package/cjs/svg/script-bold.d.ts +2 -0
  175. package/cjs/svg/script.d.ts +2 -0
  176. package/cjs/svg/size3.d.ts +2 -0
  177. package/cjs/svg/size4.d.ts +2 -0
  178. package/cjs/svg/size5.d.ts +2 -0
  179. package/cjs/svg/size6.d.ts +2 -0
  180. package/cjs/svg/smallop.d.ts +2 -0
  181. package/cjs/svg/smallop.js +47 -0
  182. package/cjs/svg/smallop.js.map +1 -0
  183. package/cjs/svg/tex-calligraphic-bold.d.ts +2 -0
  184. package/cjs/svg/tex-calligraphic.d.ts +2 -0
  185. package/cjs/svg/tex-oldstyle.d.ts +2 -0
  186. package/cjs/svg/tex-variant.d.ts +2 -0
  187. package/cjs/svg/tex-variant.js +68 -0
  188. package/cjs/svg/tex-variant.js.map +1 -0
  189. package/cjs/svg.d.ts +17 -0
  190. package/cjs/svg.js +281 -0
  191. package/cjs/svg.js.map +1 -0
  192. package/def/mathjax-asana.d.ts +1 -0
  193. package/def/mathjax-asana.ts +466 -0
  194. package/examples/chtml.html +116 -0
  195. package/examples/svg.html +117 -0
  196. package/mjs/chtml/bold-italic.d.ts +2 -0
  197. package/mjs/chtml/bold-italic.js +5 -0
  198. package/mjs/chtml/bold-italic.js.map +1 -0
  199. package/mjs/chtml/bold.d.ts +2 -0
  200. package/mjs/chtml/bold.js +5 -0
  201. package/mjs/chtml/bold.js.map +1 -0
  202. package/mjs/chtml/default.d.ts +4 -0
  203. package/mjs/chtml/default.js +6 -0
  204. package/mjs/chtml/default.js.map +1 -0
  205. package/mjs/chtml/delimiters.d.ts +2 -0
  206. package/mjs/chtml/delimiters.js +998 -0
  207. package/mjs/chtml/delimiters.js.map +1 -0
  208. package/mjs/chtml/double-struck.d.ts +2 -0
  209. package/mjs/chtml/double-struck.js +2 -0
  210. package/mjs/chtml/double-struck.js.map +1 -0
  211. package/mjs/chtml/dynamic/accents.d.ts +1 -0
  212. package/mjs/chtml/dynamic/accents.js +83 -0
  213. package/mjs/chtml/dynamic/accents.js.map +1 -0
  214. package/mjs/chtml/dynamic/arrows.d.ts +1 -0
  215. package/mjs/chtml/dynamic/arrows.js +294 -0
  216. package/mjs/chtml/dynamic/arrows.js.map +1 -0
  217. package/mjs/chtml/dynamic/calligraphic.d.ts +1 -0
  218. package/mjs/chtml/dynamic/calligraphic.js +65 -0
  219. package/mjs/chtml/dynamic/calligraphic.js.map +1 -0
  220. package/mjs/chtml/dynamic/cherokee.d.ts +1 -0
  221. package/mjs/chtml/dynamic/cherokee.js +94 -0
  222. package/mjs/chtml/dynamic/cherokee.js.map +1 -0
  223. package/mjs/chtml/dynamic/double-struck.d.ts +1 -0
  224. package/mjs/chtml/dynamic/double-struck.js +85 -0
  225. package/mjs/chtml/dynamic/double-struck.js.map +1 -0
  226. package/mjs/chtml/dynamic/fraktur.d.ts +1 -0
  227. package/mjs/chtml/dynamic/fraktur.js +125 -0
  228. package/mjs/chtml/dynamic/fraktur.js.map +1 -0
  229. package/mjs/chtml/dynamic/greek.d.ts +1 -0
  230. package/mjs/chtml/dynamic/greek.js +42 -0
  231. package/mjs/chtml/dynamic/greek.js.map +1 -0
  232. package/mjs/chtml/dynamic/latin.d.ts +1 -0
  233. package/mjs/chtml/dynamic/latin.js +70 -0
  234. package/mjs/chtml/dynamic/latin.js.map +1 -0
  235. package/mjs/chtml/dynamic/math.d.ts +1 -0
  236. package/mjs/chtml/dynamic/math.js +426 -0
  237. package/mjs/chtml/dynamic/math.js.map +1 -0
  238. package/mjs/chtml/dynamic/monospace.d.ts +1 -0
  239. package/mjs/chtml/dynamic/monospace.js +75 -0
  240. package/mjs/chtml/dynamic/monospace.js.map +1 -0
  241. package/mjs/chtml/dynamic/sans-serif.d.ts +1 -0
  242. package/mjs/chtml/dynamic/sans-serif.js +269 -0
  243. package/mjs/chtml/dynamic/sans-serif.js.map +1 -0
  244. package/mjs/chtml/dynamic/script.d.ts +1 -0
  245. package/mjs/chtml/dynamic/script.js +127 -0
  246. package/mjs/chtml/dynamic/script.js.map +1 -0
  247. package/mjs/chtml/dynamic/shapes.d.ts +1 -0
  248. package/mjs/chtml/dynamic/shapes.js +89 -0
  249. package/mjs/chtml/dynamic/shapes.js.map +1 -0
  250. package/mjs/chtml/dynamic/stretchy.d.ts +1 -0
  251. package/mjs/chtml/dynamic/stretchy.js +210 -0
  252. package/mjs/chtml/dynamic/stretchy.js.map +1 -0
  253. package/mjs/chtml/dynamic/symbols.d.ts +1 -0
  254. package/mjs/chtml/dynamic/symbols.js +185 -0
  255. package/mjs/chtml/dynamic/symbols.js.map +1 -0
  256. package/mjs/chtml/extend.d.ts +2 -0
  257. package/mjs/chtml/extend.js +45 -0
  258. package/mjs/chtml/extend.js.map +1 -0
  259. package/mjs/chtml/fraktur-bold.d.ts +2 -0
  260. package/mjs/chtml/fraktur-bold.js +2 -0
  261. package/mjs/chtml/fraktur-bold.js.map +1 -0
  262. package/mjs/chtml/fraktur.d.ts +2 -0
  263. package/mjs/chtml/fraktur.js +2 -0
  264. package/mjs/chtml/fraktur.js.map +1 -0
  265. package/mjs/chtml/italic.d.ts +2 -0
  266. package/mjs/chtml/italic.js +5 -0
  267. package/mjs/chtml/italic.js.map +1 -0
  268. package/mjs/chtml/largeop.d.ts +2 -0
  269. package/mjs/chtml/largeop.js +71 -0
  270. package/mjs/chtml/largeop.js.map +1 -0
  271. package/mjs/chtml/monospace.d.ts +2 -0
  272. package/mjs/chtml/monospace.js +2 -0
  273. package/mjs/chtml/monospace.js.map +1 -0
  274. package/mjs/chtml/normal.d.ts +2 -0
  275. package/mjs/chtml/normal.js +1194 -0
  276. package/mjs/chtml/normal.js.map +1 -0
  277. package/mjs/chtml/sans-serif-bold-italic.d.ts +2 -0
  278. package/mjs/chtml/sans-serif-bold-italic.js +2 -0
  279. package/mjs/chtml/sans-serif-bold-italic.js.map +1 -0
  280. package/mjs/chtml/sans-serif-bold.d.ts +2 -0
  281. package/mjs/chtml/sans-serif-bold.js +2 -0
  282. package/mjs/chtml/sans-serif-bold.js.map +1 -0
  283. package/mjs/chtml/sans-serif-italic.d.ts +2 -0
  284. package/mjs/chtml/sans-serif-italic.js +2 -0
  285. package/mjs/chtml/sans-serif-italic.js.map +1 -0
  286. package/mjs/chtml/sans-serif.d.ts +2 -0
  287. package/mjs/chtml/sans-serif.js +2 -0
  288. package/mjs/chtml/sans-serif.js.map +1 -0
  289. package/mjs/chtml/script-bold.d.ts +2 -0
  290. package/mjs/chtml/script-bold.js +2 -0
  291. package/mjs/chtml/script-bold.js.map +1 -0
  292. package/mjs/chtml/script.d.ts +2 -0
  293. package/mjs/chtml/script.js +2 -0
  294. package/mjs/chtml/script.js.map +1 -0
  295. package/mjs/chtml/size3.d.ts +2 -0
  296. package/mjs/chtml/size3.js +49 -0
  297. package/mjs/chtml/size3.js.map +1 -0
  298. package/mjs/chtml/size4.d.ts +2 -0
  299. package/mjs/chtml/size4.js +19 -0
  300. package/mjs/chtml/size4.js.map +1 -0
  301. package/mjs/chtml/size5.d.ts +2 -0
  302. package/mjs/chtml/size5.js +9 -0
  303. package/mjs/chtml/size5.js.map +1 -0
  304. package/mjs/chtml/size6.d.ts +2 -0
  305. package/mjs/chtml/size6.js +4 -0
  306. package/mjs/chtml/size6.js.map +1 -0
  307. package/mjs/chtml/smallop.d.ts +2 -0
  308. package/mjs/chtml/smallop.js +44 -0
  309. package/mjs/chtml/smallop.js.map +1 -0
  310. package/mjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  311. package/mjs/chtml/tex-calligraphic-bold.js +2 -0
  312. package/mjs/chtml/tex-calligraphic-bold.js.map +1 -0
  313. package/mjs/chtml/tex-calligraphic.d.ts +2 -0
  314. package/mjs/chtml/tex-calligraphic.js +2 -0
  315. package/mjs/chtml/tex-calligraphic.js.map +1 -0
  316. package/mjs/chtml/tex-oldstyle.d.ts +2 -0
  317. package/mjs/chtml/tex-oldstyle.js +13 -0
  318. package/mjs/chtml/tex-oldstyle.js.map +1 -0
  319. package/mjs/chtml/tex-variant.d.ts +2 -0
  320. package/mjs/chtml/tex-variant.js +65 -0
  321. package/mjs/chtml/tex-variant.js.map +1 -0
  322. package/mjs/chtml.d.ts +204 -0
  323. package/mjs/chtml.js +357 -0
  324. package/mjs/chtml.js.map +1 -0
  325. package/mjs/common.d.ts +2 -0
  326. package/mjs/common.js +39 -0
  327. package/mjs/common.js.map +1 -0
  328. package/mjs/package.json +3 -0
  329. package/mjs/svg/bold-italic.d.ts +2 -0
  330. package/mjs/svg/bold-italic.js +5 -0
  331. package/mjs/svg/bold-italic.js.map +1 -0
  332. package/mjs/svg/bold.d.ts +2 -0
  333. package/mjs/svg/bold.js +5 -0
  334. package/mjs/svg/bold.js.map +1 -0
  335. package/mjs/svg/default.d.ts +4 -0
  336. package/mjs/svg/default.js +6 -0
  337. package/mjs/svg/default.js.map +1 -0
  338. package/mjs/svg/delimiters.d.ts +2 -0
  339. package/mjs/svg/delimiters.js +998 -0
  340. package/mjs/svg/delimiters.js.map +1 -0
  341. package/mjs/svg/double-struck.d.ts +2 -0
  342. package/mjs/svg/double-struck.js +2 -0
  343. package/mjs/svg/double-struck.js.map +1 -0
  344. package/mjs/svg/dynamic/accents.d.ts +1 -0
  345. package/mjs/svg/dynamic/accents.js +80 -0
  346. package/mjs/svg/dynamic/accents.js.map +1 -0
  347. package/mjs/svg/dynamic/arrows.d.ts +1 -0
  348. package/mjs/svg/dynamic/arrows.js +289 -0
  349. package/mjs/svg/dynamic/arrows.js.map +1 -0
  350. package/mjs/svg/dynamic/calligraphic.d.ts +1 -0
  351. package/mjs/svg/dynamic/calligraphic.js +60 -0
  352. package/mjs/svg/dynamic/calligraphic.js.map +1 -0
  353. package/mjs/svg/dynamic/cherokee.d.ts +1 -0
  354. package/mjs/svg/dynamic/cherokee.js +91 -0
  355. package/mjs/svg/dynamic/cherokee.js.map +1 -0
  356. package/mjs/svg/dynamic/double-struck.d.ts +1 -0
  357. package/mjs/svg/dynamic/double-struck.js +82 -0
  358. package/mjs/svg/dynamic/double-struck.js.map +1 -0
  359. package/mjs/svg/dynamic/fraktur.d.ts +1 -0
  360. package/mjs/svg/dynamic/fraktur.js +118 -0
  361. package/mjs/svg/dynamic/fraktur.js.map +1 -0
  362. package/mjs/svg/dynamic/greek.d.ts +1 -0
  363. package/mjs/svg/dynamic/greek.js +39 -0
  364. package/mjs/svg/dynamic/greek.js.map +1 -0
  365. package/mjs/svg/dynamic/latin.d.ts +1 -0
  366. package/mjs/svg/dynamic/latin.js +67 -0
  367. package/mjs/svg/dynamic/latin.js.map +1 -0
  368. package/mjs/svg/dynamic/math.d.ts +1 -0
  369. package/mjs/svg/dynamic/math.js +423 -0
  370. package/mjs/svg/dynamic/math.js.map +1 -0
  371. package/mjs/svg/dynamic/monospace.d.ts +1 -0
  372. package/mjs/svg/dynamic/monospace.js +72 -0
  373. package/mjs/svg/dynamic/monospace.js.map +1 -0
  374. package/mjs/svg/dynamic/sans-serif.d.ts +1 -0
  375. package/mjs/svg/dynamic/sans-serif.js +254 -0
  376. package/mjs/svg/dynamic/sans-serif.js.map +1 -0
  377. package/mjs/svg/dynamic/script.d.ts +1 -0
  378. package/mjs/svg/dynamic/script.js +120 -0
  379. package/mjs/svg/dynamic/script.js.map +1 -0
  380. package/mjs/svg/dynamic/shapes.d.ts +1 -0
  381. package/mjs/svg/dynamic/shapes.js +86 -0
  382. package/mjs/svg/dynamic/shapes.js.map +1 -0
  383. package/mjs/svg/dynamic/stretchy.d.ts +1 -0
  384. package/mjs/svg/dynamic/stretchy.js +207 -0
  385. package/mjs/svg/dynamic/stretchy.js.map +1 -0
  386. package/mjs/svg/dynamic/symbols.d.ts +1 -0
  387. package/mjs/svg/dynamic/symbols.js +180 -0
  388. package/mjs/svg/dynamic/symbols.js.map +1 -0
  389. package/mjs/svg/extend.d.ts +2 -0
  390. package/mjs/svg/extend.js +45 -0
  391. package/mjs/svg/extend.js.map +1 -0
  392. package/mjs/svg/fraktur-bold.d.ts +2 -0
  393. package/mjs/svg/fraktur-bold.js +2 -0
  394. package/mjs/svg/fraktur-bold.js.map +1 -0
  395. package/mjs/svg/fraktur.d.ts +2 -0
  396. package/mjs/svg/fraktur.js +2 -0
  397. package/mjs/svg/fraktur.js.map +1 -0
  398. package/mjs/svg/italic.d.ts +2 -0
  399. package/mjs/svg/italic.js +5 -0
  400. package/mjs/svg/italic.js.map +1 -0
  401. package/mjs/svg/largeop.d.ts +2 -0
  402. package/mjs/svg/largeop.js +71 -0
  403. package/mjs/svg/largeop.js.map +1 -0
  404. package/mjs/svg/monospace.d.ts +2 -0
  405. package/mjs/svg/monospace.js +2 -0
  406. package/mjs/svg/monospace.js.map +1 -0
  407. package/mjs/svg/normal.d.ts +2 -0
  408. package/mjs/svg/normal.js +1194 -0
  409. package/mjs/svg/normal.js.map +1 -0
  410. package/mjs/svg/sans-serif-bold-italic.d.ts +2 -0
  411. package/mjs/svg/sans-serif-bold-italic.js +2 -0
  412. package/mjs/svg/sans-serif-bold-italic.js.map +1 -0
  413. package/mjs/svg/sans-serif-bold.d.ts +2 -0
  414. package/mjs/svg/sans-serif-bold.js +2 -0
  415. package/mjs/svg/sans-serif-bold.js.map +1 -0
  416. package/mjs/svg/sans-serif-italic.d.ts +2 -0
  417. package/mjs/svg/sans-serif-italic.js +2 -0
  418. package/mjs/svg/sans-serif-italic.js.map +1 -0
  419. package/mjs/svg/sans-serif.d.ts +2 -0
  420. package/mjs/svg/sans-serif.js +2 -0
  421. package/mjs/svg/sans-serif.js.map +1 -0
  422. package/mjs/svg/script-bold.d.ts +2 -0
  423. package/mjs/svg/script-bold.js +2 -0
  424. package/mjs/svg/script-bold.js.map +1 -0
  425. package/mjs/svg/script.d.ts +2 -0
  426. package/mjs/svg/script.js +2 -0
  427. package/mjs/svg/script.js.map +1 -0
  428. package/mjs/svg/size3.d.ts +2 -0
  429. package/mjs/svg/size3.js +49 -0
  430. package/mjs/svg/size3.js.map +1 -0
  431. package/mjs/svg/size4.d.ts +2 -0
  432. package/mjs/svg/size4.js +19 -0
  433. package/mjs/svg/size4.js.map +1 -0
  434. package/mjs/svg/size5.d.ts +2 -0
  435. package/mjs/svg/size5.js +9 -0
  436. package/mjs/svg/size5.js.map +1 -0
  437. package/mjs/svg/size6.d.ts +2 -0
  438. package/mjs/svg/size6.js +4 -0
  439. package/mjs/svg/size6.js.map +1 -0
  440. package/mjs/svg/smallop.d.ts +2 -0
  441. package/mjs/svg/smallop.js +44 -0
  442. package/mjs/svg/smallop.js.map +1 -0
  443. package/mjs/svg/tex-calligraphic-bold.d.ts +2 -0
  444. package/mjs/svg/tex-calligraphic-bold.js +2 -0
  445. package/mjs/svg/tex-calligraphic-bold.js.map +1 -0
  446. package/mjs/svg/tex-calligraphic.d.ts +2 -0
  447. package/mjs/svg/tex-calligraphic.js +2 -0
  448. package/mjs/svg/tex-calligraphic.js.map +1 -0
  449. package/mjs/svg/tex-oldstyle.d.ts +2 -0
  450. package/mjs/svg/tex-oldstyle.js +13 -0
  451. package/mjs/svg/tex-oldstyle.js.map +1 -0
  452. package/mjs/svg/tex-variant.d.ts +2 -0
  453. package/mjs/svg/tex-variant.js +65 -0
  454. package/mjs/svg/tex-variant.js.map +1 -0
  455. package/mjs/svg.d.ts +17 -0
  456. package/mjs/svg.js +226 -0
  457. package/mjs/svg.js.map +1 -0
  458. package/package.json +55 -19
  459. package/svg/dynamic/accents.js +1 -0
  460. package/svg/dynamic/arrows.js +1 -0
  461. package/svg/dynamic/calligraphic.js +1 -0
  462. package/svg/dynamic/cherokee.js +1 -0
  463. package/svg/dynamic/double-struck.js +1 -0
  464. package/svg/dynamic/fraktur.js +1 -0
  465. package/svg/dynamic/greek.js +1 -0
  466. package/svg/dynamic/latin.js +1 -0
  467. package/svg/dynamic/math.js +1 -0
  468. package/svg/dynamic/monospace.js +1 -0
  469. package/svg/dynamic/sans-serif.js +1 -0
  470. package/svg/dynamic/script.js +1 -0
  471. package/svg/dynamic/shapes.js +1 -0
  472. package/svg/dynamic/stretchy.js +1 -0
  473. package/svg/dynamic/symbols.js +1 -0
  474. package/svg.js +1 -0
  475. package/tex-mml-chtml-mathjax-asana.js +1 -0
  476. package/tex-mml-svg-mathjax-asana.js +1 -0
  477. package/tsconfig/cjs.json +8 -0
  478. package/tsconfig/common.json +13 -0
  479. package/tsconfig/def.json +10 -0
  480. package/tsconfig/mjs.json +9 -0
  481. package/tsconfig.json +3 -0
  482. package/build/chtml/accents/accents.js +0 -6
  483. package/build/chtml/accents/webpack.config.js +0 -8
  484. package/build/chtml/arrows/arrows.js +0 -6
  485. package/build/chtml/arrows/webpack.config.js +0 -8
  486. package/build/chtml/build.json +0 -8
  487. package/build/chtml/calligraphic/calligraphic.js +0 -6
  488. package/build/chtml/calligraphic/webpack.config.js +0 -8
  489. package/build/chtml/cherokee/cherokee.js +0 -6
  490. package/build/chtml/cherokee/webpack.config.js +0 -8
  491. package/build/chtml/chtml.js +0 -22
  492. package/build/chtml/copy.json +0 -5
  493. package/build/chtml/double-struck/double-struck.js +0 -6
  494. package/build/chtml/double-struck/webpack.config.js +0 -8
  495. package/build/chtml/fraktur/fraktur.js +0 -6
  496. package/build/chtml/fraktur/webpack.config.js +0 -8
  497. package/build/chtml/greek/greek.js +0 -6
  498. package/build/chtml/greek/webpack.config.js +0 -8
  499. package/build/chtml/latin/latin.js +0 -6
  500. package/build/chtml/latin/webpack.config.js +0 -8
  501. package/build/chtml/lib/chtml.js +0 -18
  502. package/build/chtml/math/math.js +0 -6
  503. package/build/chtml/math/webpack.config.js +0 -8
  504. package/build/chtml/monospace/monospace.js +0 -6
  505. package/build/chtml/monospace/webpack.config.js +0 -8
  506. package/build/chtml/sans-serif/sans-serif.js +0 -6
  507. package/build/chtml/sans-serif/webpack.config.js +0 -8
  508. package/build/chtml/script/script.js +0 -6
  509. package/build/chtml/script/webpack.config.js +0 -8
  510. package/build/chtml/shapes/shapes.js +0 -6
  511. package/build/chtml/shapes/webpack.config.js +0 -8
  512. package/build/chtml/stretchy/stretchy.js +0 -6
  513. package/build/chtml/stretchy/webpack.config.js +0 -8
  514. package/build/chtml/symbols/symbols.js +0 -6
  515. package/build/chtml/symbols/webpack.config.js +0 -8
  516. package/build/chtml/webpack.config.js +0 -11
  517. package/build/svg/accents/accents.js +0 -6
  518. package/build/svg/accents/webpack.config.js +0 -8
  519. package/build/svg/arrows/arrows.js +0 -6
  520. package/build/svg/arrows/webpack.config.js +0 -8
  521. package/build/svg/build.json +0 -8
  522. package/build/svg/calligraphic/calligraphic.js +0 -6
  523. package/build/svg/calligraphic/webpack.config.js +0 -8
  524. package/build/svg/cherokee/cherokee.js +0 -6
  525. package/build/svg/cherokee/webpack.config.js +0 -8
  526. package/build/svg/double-struck/double-struck.js +0 -6
  527. package/build/svg/double-struck/webpack.config.js +0 -8
  528. package/build/svg/fraktur/fraktur.js +0 -6
  529. package/build/svg/fraktur/webpack.config.js +0 -8
  530. package/build/svg/greek/greek.js +0 -6
  531. package/build/svg/greek/webpack.config.js +0 -8
  532. package/build/svg/latin/latin.js +0 -6
  533. package/build/svg/latin/webpack.config.js +0 -8
  534. package/build/svg/lib/svg.js +0 -18
  535. package/build/svg/math/math.js +0 -6
  536. package/build/svg/math/webpack.config.js +0 -8
  537. package/build/svg/monospace/monospace.js +0 -6
  538. package/build/svg/monospace/webpack.config.js +0 -8
  539. package/build/svg/sans-serif/sans-serif.js +0 -6
  540. package/build/svg/sans-serif/webpack.config.js +0 -8
  541. package/build/svg/script/script.js +0 -6
  542. package/build/svg/script/webpack.config.js +0 -8
  543. package/build/svg/shapes/shapes.js +0 -6
  544. package/build/svg/shapes/webpack.config.js +0 -8
  545. package/build/svg/stretchy/stretchy.js +0 -6
  546. package/build/svg/stretchy/webpack.config.js +0 -8
  547. package/build/svg/svg.js +0 -18
  548. package/build/svg/symbols/symbols.js +0 -6
  549. package/build/svg/symbols/webpack.config.js +0 -8
  550. package/build/svg/webpack.config.js +0 -11
  551. package/build/tex-mml-chtml-mathjax-asana/tex-mml-chtml-mathjax-asana.js +0 -1
  552. package/build/tex-mml-chtml-mathjax-asana/webpack.config.js +0 -18
  553. package/build/tex-mml-svg-mathjax-asana/tex-mml-svg-mathjax-asana.js +0 -1
  554. package/build/tex-mml-svg-mathjax-asana/webpack.config.js +0 -18
  555. package/es5/chtml/dynamic/accents.js +0 -1
  556. package/es5/chtml/dynamic/arrows.js +0 -1
  557. package/es5/chtml/dynamic/calligraphic.js +0 -1
  558. package/es5/chtml/dynamic/cherokee.js +0 -1
  559. package/es5/chtml/dynamic/double-struck.js +0 -1
  560. package/es5/chtml/dynamic/fraktur.js +0 -1
  561. package/es5/chtml/dynamic/greek.js +0 -1
  562. package/es5/chtml/dynamic/latin.js +0 -1
  563. package/es5/chtml/dynamic/math.js +0 -1
  564. package/es5/chtml/dynamic/monospace.js +0 -1
  565. package/es5/chtml/dynamic/sans-serif.js +0 -1
  566. package/es5/chtml/dynamic/script.js +0 -1
  567. package/es5/chtml/dynamic/shapes.js +0 -1
  568. package/es5/chtml/dynamic/stretchy.js +0 -1
  569. package/es5/chtml/dynamic/symbols.js +0 -1
  570. package/es5/chtml/woff/mjx-asna-ar.woff +0 -0
  571. package/es5/chtml/woff/mjx-asna-b.woff +0 -0
  572. package/es5/chtml/woff/mjx-asna-bi.woff +0 -0
  573. package/es5/chtml/woff/mjx-asna-brk.woff +0 -0
  574. package/es5/chtml/woff/mjx-asna-c.woff +0 -0
  575. package/es5/chtml/woff/mjx-asna-cb.woff +0 -0
  576. package/es5/chtml/woff/mjx-asna-ck.woff +0 -0
  577. package/es5/chtml/woff/mjx-asna-ds.woff +0 -0
  578. package/es5/chtml/woff/mjx-asna-e.woff +0 -0
  579. package/es5/chtml/woff/mjx-asna-f.woff +0 -0
  580. package/es5/chtml/woff/mjx-asna-fb.woff +0 -0
  581. package/es5/chtml/woff/mjx-asna-gk.woff +0 -0
  582. package/es5/chtml/woff/mjx-asna-i.woff +0 -0
  583. package/es5/chtml/woff/mjx-asna-lo.woff +0 -0
  584. package/es5/chtml/woff/mjx-asna-lr.woff +0 -0
  585. package/es5/chtml/woff/mjx-asna-m.woff +0 -0
  586. package/es5/chtml/woff/mjx-asna-mm.woff +0 -0
  587. package/es5/chtml/woff/mjx-asna-n.woff +0 -0
  588. package/es5/chtml/woff/mjx-asna-os.woff +0 -0
  589. package/es5/chtml/woff/mjx-asna-s.woff +0 -0
  590. package/es5/chtml/woff/mjx-asna-s3.woff +0 -0
  591. package/es5/chtml/woff/mjx-asna-s4.woff +0 -0
  592. package/es5/chtml/woff/mjx-asna-s5.woff +0 -0
  593. package/es5/chtml/woff/mjx-asna-s6.woff +0 -0
  594. package/es5/chtml/woff/mjx-asna-sb.woff +0 -0
  595. package/es5/chtml/woff/mjx-asna-sh.woff +0 -0
  596. package/es5/chtml/woff/mjx-asna-so.woff +0 -0
  597. package/es5/chtml/woff/mjx-asna-ss.woff +0 -0
  598. package/es5/chtml/woff/mjx-asna-ssb.woff +0 -0
  599. package/es5/chtml/woff/mjx-asna-ssbi.woff +0 -0
  600. package/es5/chtml/woff/mjx-asna-ssi.woff +0 -0
  601. package/es5/chtml/woff/mjx-asna-sy.woff +0 -0
  602. package/es5/chtml/woff/mjx-asna-v.woff +0 -0
  603. package/es5/chtml/woff/mjx-asna-zero.woff +0 -0
  604. package/es5/chtml.js +0 -1
  605. package/es5/svg/dynamic/accents.js +0 -1
  606. package/es5/svg/dynamic/arrows.js +0 -1
  607. package/es5/svg/dynamic/calligraphic.js +0 -1
  608. package/es5/svg/dynamic/cherokee.js +0 -1
  609. package/es5/svg/dynamic/double-struck.js +0 -1
  610. package/es5/svg/dynamic/fraktur.js +0 -1
  611. package/es5/svg/dynamic/greek.js +0 -1
  612. package/es5/svg/dynamic/latin.js +0 -1
  613. package/es5/svg/dynamic/math.js +0 -1
  614. package/es5/svg/dynamic/monospace.js +0 -1
  615. package/es5/svg/dynamic/sans-serif.js +0 -1
  616. package/es5/svg/dynamic/script.js +0 -1
  617. package/es5/svg/dynamic/shapes.js +0 -1
  618. package/es5/svg/dynamic/stretchy.js +0 -1
  619. package/es5/svg/dynamic/symbols.js +0 -1
  620. package/es5/svg.js +0 -1
  621. package/es5/tex-mml-chtml-mathjax-asana.js +0 -1
  622. package/es5/tex-mml-svg-mathjax-asana.js +0 -1
  623. package/js/chtml/bold-italic.d.ts +0 -2
  624. package/js/chtml/bold.d.ts +0 -2
  625. package/js/chtml/delimiters.d.ts +0 -2
  626. package/js/chtml/delimiters.js +0 -657
  627. package/js/chtml/delimiters.js.map +0 -1
  628. package/js/chtml/double-struck.d.ts +0 -2
  629. package/js/chtml/dynamic/accents.js +0 -75
  630. package/js/chtml/dynamic/accents.js.map +0 -1
  631. package/js/chtml/dynamic/arrows.js +0 -202
  632. package/js/chtml/dynamic/arrows.js.map +0 -1
  633. package/js/chtml/dynamic/calligraphic.js +0 -67
  634. package/js/chtml/dynamic/calligraphic.js.map +0 -1
  635. package/js/chtml/dynamic/cherokee.js +0 -96
  636. package/js/chtml/dynamic/cherokee.js.map +0 -1
  637. package/js/chtml/dynamic/double-struck.js +0 -87
  638. package/js/chtml/dynamic/double-struck.js.map +0 -1
  639. package/js/chtml/dynamic/fraktur.js +0 -127
  640. package/js/chtml/dynamic/fraktur.js.map +0 -1
  641. package/js/chtml/dynamic/greek.js +0 -44
  642. package/js/chtml/dynamic/greek.js.map +0 -1
  643. package/js/chtml/dynamic/latin.js +0 -72
  644. package/js/chtml/dynamic/latin.js.map +0 -1
  645. package/js/chtml/dynamic/math.js +0 -410
  646. package/js/chtml/dynamic/math.js.map +0 -1
  647. package/js/chtml/dynamic/monospace.js +0 -77
  648. package/js/chtml/dynamic/monospace.js.map +0 -1
  649. package/js/chtml/dynamic/sans-serif.js +0 -271
  650. package/js/chtml/dynamic/sans-serif.js.map +0 -1
  651. package/js/chtml/dynamic/script.js +0 -129
  652. package/js/chtml/dynamic/script.js.map +0 -1
  653. package/js/chtml/dynamic/shapes.js +0 -91
  654. package/js/chtml/dynamic/shapes.js.map +0 -1
  655. package/js/chtml/dynamic/stretchy.js +0 -212
  656. package/js/chtml/dynamic/stretchy.js.map +0 -1
  657. package/js/chtml/dynamic/symbols.js +0 -164
  658. package/js/chtml/dynamic/symbols.js.map +0 -1
  659. package/js/chtml/extend.d.ts +0 -2
  660. package/js/chtml/extend.js +0 -43
  661. package/js/chtml/extend.js.map +0 -1
  662. package/js/chtml/fraktur-bold.d.ts +0 -2
  663. package/js/chtml/fraktur.d.ts +0 -2
  664. package/js/chtml/italic.d.ts +0 -2
  665. package/js/chtml/largeop.d.ts +0 -2
  666. package/js/chtml/monospace.d.ts +0 -2
  667. package/js/chtml/normal.d.ts +0 -2
  668. package/js/chtml/normal.js +0 -1201
  669. package/js/chtml/normal.js.map +0 -1
  670. package/js/chtml/sans-serif-bold-italic.d.ts +0 -2
  671. package/js/chtml/sans-serif-bold.d.ts +0 -2
  672. package/js/chtml/sans-serif-italic.d.ts +0 -2
  673. package/js/chtml/sans-serif.d.ts +0 -2
  674. package/js/chtml/script-bold.d.ts +0 -2
  675. package/js/chtml/script.d.ts +0 -2
  676. package/js/chtml/size3.d.ts +0 -2
  677. package/js/chtml/size4.d.ts +0 -2
  678. package/js/chtml/size5.d.ts +0 -2
  679. package/js/chtml/size6.d.ts +0 -2
  680. package/js/chtml/smallop.d.ts +0 -2
  681. package/js/chtml/smallop.js +0 -47
  682. package/js/chtml/smallop.js.map +0 -1
  683. package/js/chtml/tex-calligraphic-bold.d.ts +0 -2
  684. package/js/chtml/tex-calligraphic.d.ts +0 -2
  685. package/js/chtml/tex-oldstyle.d.ts +0 -2
  686. package/js/chtml/tex-variant.d.ts +0 -2
  687. package/js/chtml/tex-variant.js +0 -68
  688. package/js/chtml/tex-variant.js.map +0 -1
  689. package/js/chtml.d.ts +0 -207
  690. package/js/chtml.js +0 -390
  691. package/js/chtml.js.map +0 -1
  692. package/js/common.d.ts +0 -2
  693. package/js/common.js +0 -93
  694. package/js/common.js.map +0 -1
  695. package/js/svg/bold-italic.d.ts +0 -2
  696. package/js/svg/bold.d.ts +0 -2
  697. package/js/svg/delimiters.d.ts +0 -2
  698. package/js/svg/delimiters.js +0 -657
  699. package/js/svg/delimiters.js.map +0 -1
  700. package/js/svg/double-struck.d.ts +0 -2
  701. package/js/svg/dynamic/accents.js +0 -72
  702. package/js/svg/dynamic/accents.js.map +0 -1
  703. package/js/svg/dynamic/arrows.js +0 -197
  704. package/js/svg/dynamic/arrows.js.map +0 -1
  705. package/js/svg/dynamic/calligraphic.js +0 -62
  706. package/js/svg/dynamic/calligraphic.js.map +0 -1
  707. package/js/svg/dynamic/cherokee.js +0 -93
  708. package/js/svg/dynamic/cherokee.js.map +0 -1
  709. package/js/svg/dynamic/double-struck.js +0 -84
  710. package/js/svg/dynamic/double-struck.js.map +0 -1
  711. package/js/svg/dynamic/fraktur.js +0 -120
  712. package/js/svg/dynamic/fraktur.js.map +0 -1
  713. package/js/svg/dynamic/greek.js +0 -41
  714. package/js/svg/dynamic/greek.js.map +0 -1
  715. package/js/svg/dynamic/latin.js +0 -69
  716. package/js/svg/dynamic/latin.js.map +0 -1
  717. package/js/svg/dynamic/math.js +0 -407
  718. package/js/svg/dynamic/math.js.map +0 -1
  719. package/js/svg/dynamic/monospace.js +0 -74
  720. package/js/svg/dynamic/monospace.js.map +0 -1
  721. package/js/svg/dynamic/sans-serif.js +0 -256
  722. package/js/svg/dynamic/sans-serif.js.map +0 -1
  723. package/js/svg/dynamic/script.js +0 -122
  724. package/js/svg/dynamic/script.js.map +0 -1
  725. package/js/svg/dynamic/shapes.js +0 -88
  726. package/js/svg/dynamic/shapes.js.map +0 -1
  727. package/js/svg/dynamic/stretchy.js +0 -209
  728. package/js/svg/dynamic/stretchy.js.map +0 -1
  729. package/js/svg/dynamic/symbols.js +0 -159
  730. package/js/svg/dynamic/symbols.js.map +0 -1
  731. package/js/svg/extend.d.ts +0 -2
  732. package/js/svg/extend.js +0 -43
  733. package/js/svg/extend.js.map +0 -1
  734. package/js/svg/fraktur-bold.d.ts +0 -2
  735. package/js/svg/fraktur.d.ts +0 -2
  736. package/js/svg/italic.d.ts +0 -2
  737. package/js/svg/largeop.d.ts +0 -2
  738. package/js/svg/monospace.d.ts +0 -2
  739. package/js/svg/normal.d.ts +0 -2
  740. package/js/svg/normal.js +0 -1201
  741. package/js/svg/normal.js.map +0 -1
  742. package/js/svg/sans-serif-bold-italic.d.ts +0 -2
  743. package/js/svg/sans-serif-bold.d.ts +0 -2
  744. package/js/svg/sans-serif-italic.d.ts +0 -2
  745. package/js/svg/sans-serif.d.ts +0 -2
  746. package/js/svg/script-bold.d.ts +0 -2
  747. package/js/svg/script.d.ts +0 -2
  748. package/js/svg/size3.d.ts +0 -2
  749. package/js/svg/size4.d.ts +0 -2
  750. package/js/svg/size5.d.ts +0 -2
  751. package/js/svg/size6.d.ts +0 -2
  752. package/js/svg/smallop.d.ts +0 -2
  753. package/js/svg/smallop.js +0 -47
  754. package/js/svg/smallop.js.map +0 -1
  755. package/js/svg/tex-calligraphic-bold.d.ts +0 -2
  756. package/js/svg/tex-calligraphic.d.ts +0 -2
  757. package/js/svg/tex-oldstyle.d.ts +0 -2
  758. package/js/svg/tex-variant.d.ts +0 -2
  759. package/js/svg/tex-variant.js +0 -68
  760. package/js/svg/tex-variant.js.map +0 -1
  761. package/js/svg.d.ts +0 -17
  762. package/js/svg.js +0 -282
  763. package/js/svg.js.map +0 -1
  764. /package/{js → cjs}/chtml/bold-italic.js +0 -0
  765. /package/{js → cjs}/chtml/bold-italic.js.map +0 -0
  766. /package/{js → cjs}/chtml/bold.js +0 -0
  767. /package/{js → cjs}/chtml/bold.js.map +0 -0
  768. /package/{js → cjs}/chtml/default.d.ts +0 -0
  769. /package/{js → cjs}/chtml/default.js +0 -0
  770. /package/{js → cjs}/chtml/default.js.map +0 -0
  771. /package/{js → cjs}/chtml/double-struck.js +0 -0
  772. /package/{js → cjs}/chtml/double-struck.js.map +0 -0
  773. /package/{js → cjs}/chtml/dynamic/accents.d.ts +0 -0
  774. /package/{js → cjs}/chtml/dynamic/arrows.d.ts +0 -0
  775. /package/{js → cjs}/chtml/dynamic/calligraphic.d.ts +0 -0
  776. /package/{js → cjs}/chtml/dynamic/cherokee.d.ts +0 -0
  777. /package/{js → cjs}/chtml/dynamic/double-struck.d.ts +0 -0
  778. /package/{js → cjs}/chtml/dynamic/fraktur.d.ts +0 -0
  779. /package/{js → cjs}/chtml/dynamic/greek.d.ts +0 -0
  780. /package/{js → cjs}/chtml/dynamic/latin.d.ts +0 -0
  781. /package/{js → cjs}/chtml/dynamic/math.d.ts +0 -0
  782. /package/{js → cjs}/chtml/dynamic/monospace.d.ts +0 -0
  783. /package/{js → cjs}/chtml/dynamic/sans-serif.d.ts +0 -0
  784. /package/{js → cjs}/chtml/dynamic/script.d.ts +0 -0
  785. /package/{js → cjs}/chtml/dynamic/shapes.d.ts +0 -0
  786. /package/{js → cjs}/chtml/dynamic/stretchy.d.ts +0 -0
  787. /package/{js → cjs}/chtml/dynamic/symbols.d.ts +0 -0
  788. /package/{js → cjs}/chtml/fraktur-bold.js +0 -0
  789. /package/{js → cjs}/chtml/fraktur-bold.js.map +0 -0
  790. /package/{js → cjs}/chtml/fraktur.js +0 -0
  791. /package/{js → cjs}/chtml/fraktur.js.map +0 -0
  792. /package/{js → cjs}/chtml/italic.js +0 -0
  793. /package/{js → cjs}/chtml/italic.js.map +0 -0
  794. /package/{js → cjs}/chtml/largeop.js +0 -0
  795. /package/{js → cjs}/chtml/largeop.js.map +0 -0
  796. /package/{js → cjs}/chtml/monospace.js +0 -0
  797. /package/{js → cjs}/chtml/monospace.js.map +0 -0
  798. /package/{js → cjs}/chtml/sans-serif-bold-italic.js +0 -0
  799. /package/{js → cjs}/chtml/sans-serif-bold-italic.js.map +0 -0
  800. /package/{js → cjs}/chtml/sans-serif-bold.js +0 -0
  801. /package/{js → cjs}/chtml/sans-serif-bold.js.map +0 -0
  802. /package/{js → cjs}/chtml/sans-serif-italic.js +0 -0
  803. /package/{js → cjs}/chtml/sans-serif-italic.js.map +0 -0
  804. /package/{js → cjs}/chtml/sans-serif.js +0 -0
  805. /package/{js → cjs}/chtml/sans-serif.js.map +0 -0
  806. /package/{js → cjs}/chtml/script-bold.js +0 -0
  807. /package/{js → cjs}/chtml/script-bold.js.map +0 -0
  808. /package/{js → cjs}/chtml/script.js +0 -0
  809. /package/{js → cjs}/chtml/script.js.map +0 -0
  810. /package/{js → cjs}/chtml/size3.js +0 -0
  811. /package/{js → cjs}/chtml/size3.js.map +0 -0
  812. /package/{js → cjs}/chtml/size4.js +0 -0
  813. /package/{js → cjs}/chtml/size4.js.map +0 -0
  814. /package/{js → cjs}/chtml/size5.js +0 -0
  815. /package/{js → cjs}/chtml/size5.js.map +0 -0
  816. /package/{js → cjs}/chtml/size6.js +0 -0
  817. /package/{js → cjs}/chtml/size6.js.map +0 -0
  818. /package/{js → cjs}/chtml/tex-calligraphic-bold.js +0 -0
  819. /package/{js → cjs}/chtml/tex-calligraphic-bold.js.map +0 -0
  820. /package/{js → cjs}/chtml/tex-calligraphic.js +0 -0
  821. /package/{js → cjs}/chtml/tex-calligraphic.js.map +0 -0
  822. /package/{js → cjs}/chtml/tex-oldstyle.js +0 -0
  823. /package/{js → cjs}/chtml/tex-oldstyle.js.map +0 -0
  824. /package/{js → cjs}/svg/bold-italic.js +0 -0
  825. /package/{js → cjs}/svg/bold-italic.js.map +0 -0
  826. /package/{js → cjs}/svg/bold.js +0 -0
  827. /package/{js → cjs}/svg/bold.js.map +0 -0
  828. /package/{js → cjs}/svg/default.d.ts +0 -0
  829. /package/{js → cjs}/svg/default.js +0 -0
  830. /package/{js → cjs}/svg/default.js.map +0 -0
  831. /package/{js → cjs}/svg/double-struck.js +0 -0
  832. /package/{js → cjs}/svg/double-struck.js.map +0 -0
  833. /package/{js → cjs}/svg/dynamic/accents.d.ts +0 -0
  834. /package/{js → cjs}/svg/dynamic/arrows.d.ts +0 -0
  835. /package/{js → cjs}/svg/dynamic/calligraphic.d.ts +0 -0
  836. /package/{js → cjs}/svg/dynamic/cherokee.d.ts +0 -0
  837. /package/{js → cjs}/svg/dynamic/double-struck.d.ts +0 -0
  838. /package/{js → cjs}/svg/dynamic/fraktur.d.ts +0 -0
  839. /package/{js → cjs}/svg/dynamic/greek.d.ts +0 -0
  840. /package/{js → cjs}/svg/dynamic/latin.d.ts +0 -0
  841. /package/{js → cjs}/svg/dynamic/math.d.ts +0 -0
  842. /package/{js → cjs}/svg/dynamic/monospace.d.ts +0 -0
  843. /package/{js → cjs}/svg/dynamic/sans-serif.d.ts +0 -0
  844. /package/{js → cjs}/svg/dynamic/script.d.ts +0 -0
  845. /package/{js → cjs}/svg/dynamic/shapes.d.ts +0 -0
  846. /package/{js → cjs}/svg/dynamic/stretchy.d.ts +0 -0
  847. /package/{js → cjs}/svg/dynamic/symbols.d.ts +0 -0
  848. /package/{js → cjs}/svg/fraktur-bold.js +0 -0
  849. /package/{js → cjs}/svg/fraktur-bold.js.map +0 -0
  850. /package/{js → cjs}/svg/fraktur.js +0 -0
  851. /package/{js → cjs}/svg/fraktur.js.map +0 -0
  852. /package/{js → cjs}/svg/italic.js +0 -0
  853. /package/{js → cjs}/svg/italic.js.map +0 -0
  854. /package/{js → cjs}/svg/largeop.js +0 -0
  855. /package/{js → cjs}/svg/largeop.js.map +0 -0
  856. /package/{js → cjs}/svg/monospace.js +0 -0
  857. /package/{js → cjs}/svg/monospace.js.map +0 -0
  858. /package/{js → cjs}/svg/sans-serif-bold-italic.js +0 -0
  859. /package/{js → cjs}/svg/sans-serif-bold-italic.js.map +0 -0
  860. /package/{js → cjs}/svg/sans-serif-bold.js +0 -0
  861. /package/{js → cjs}/svg/sans-serif-bold.js.map +0 -0
  862. /package/{js → cjs}/svg/sans-serif-italic.js +0 -0
  863. /package/{js → cjs}/svg/sans-serif-italic.js.map +0 -0
  864. /package/{js → cjs}/svg/sans-serif.js +0 -0
  865. /package/{js → cjs}/svg/sans-serif.js.map +0 -0
  866. /package/{js → cjs}/svg/script-bold.js +0 -0
  867. /package/{js → cjs}/svg/script-bold.js.map +0 -0
  868. /package/{js → cjs}/svg/script.js +0 -0
  869. /package/{js → cjs}/svg/script.js.map +0 -0
  870. /package/{js → cjs}/svg/size3.js +0 -0
  871. /package/{js → cjs}/svg/size3.js.map +0 -0
  872. /package/{js → cjs}/svg/size4.js +0 -0
  873. /package/{js → cjs}/svg/size4.js.map +0 -0
  874. /package/{js → cjs}/svg/size5.js +0 -0
  875. /package/{js → cjs}/svg/size5.js.map +0 -0
  876. /package/{js → cjs}/svg/size6.js +0 -0
  877. /package/{js → cjs}/svg/size6.js.map +0 -0
  878. /package/{js → cjs}/svg/tex-calligraphic-bold.js +0 -0
  879. /package/{js → cjs}/svg/tex-calligraphic-bold.js.map +0 -0
  880. /package/{js → cjs}/svg/tex-calligraphic.js +0 -0
  881. /package/{js → cjs}/svg/tex-calligraphic.js.map +0 -0
  882. /package/{js → cjs}/svg/tex-oldstyle.js +0 -0
  883. /package/{js → cjs}/svg/tex-oldstyle.js.map +0 -0
@@ -0,0 +1,466 @@
1
+ import {CHARSET, CHARS, CharMap} from '@mathjax/font-tools/js/CharMap';
2
+ import {Font} from '@mathjax/font-tools/js/Font';
3
+ import {Variants} from '@mathjax/font-tools/js/Variant';
4
+ import {Delimiters} from '@mathjax/font-tools/js/Delimiters';
5
+ import {CommonFont, FontDef} from '@mathjax/font-tools/js/CommonFont';
6
+ import {RANGES} from '@mathjax/font-tools/js/Ranges';
7
+ import {SVGFont} from '@mathjax/font-tools/js/SVGFont';
8
+ import {CHTMLFont} from '@mathjax/font-tools/js/CHTMLFont';
9
+ import {Components} from '@mathjax/font-tools/js/Components';
10
+
11
+ /***********************************************************************************/
12
+ /***********************************************************************************/
13
+
14
+ try {
15
+
16
+ //
17
+ // Load the Asana-Math font
18
+ //
19
+ Font.load({'ASNA-M': './fonts/Asana-Math.otf'});
20
+
21
+ Font.get('ASNA-M')
22
+ .addGlyph(Font.buildV('ASNA-M', [0x23AD, 0x23A7], 0x23B0, 'lmoustache', [-500, -25]))
23
+ .addGlyph(Font.buildV('ASNA-M', [0x23A9, 0x23AB], 0x23B1, 'rmoustache', [-500, -25]))
24
+ .addGlyph(Font.buildH('ASNA-M', [0x210E, 0x02C9], 0x210F, 'uni210F.var', [0, -480]))
25
+ .addGlyph(Font.buildH('ASNA-M', [0x21BC], 0x21BC, 'uni21BC.ext', 0, 95))
26
+ .addGlyph(Font.buildH('ASNA-M', [0x21BD], 0x21BD, 'uni21BD.ext', 0, -92))
27
+ .addGlyph(Font.buildH('ASNA-M', [0x21C0], 0x21C0, 'uni21C0.ext', 0, 95))
28
+ .addGlyph(Font.buildH('ASNA-M', [0x21C1], 0x21C1, 'uni21C1.ext', 0, -92))
29
+ .addGlyph(Font.buildH('ASNA-M', [0x10FF6D], 0xE001, 'uniE001.ext', 0, 0, 72))
30
+ .addGlyph(Font.buildH('ASNA-M', [0x20D3], 0xE002, 'uniE002.ext'))
31
+ ;
32
+
33
+ const integralIC = (variant: string, large: number, small: number) => {
34
+ return [
35
+ [variant, large, CHARS.Range(0x222B, 0x2233).plus(CHARS.Range(0x2A0C, 0x2A17), CHARS.At(0x2A1B))],
36
+ [variant, small, CHARS.At(0x2A18, 0x2A19, 0x2A1A)]
37
+ ] as [string, number, CharMap][];
38
+ }
39
+
40
+ /***********************************************************************************/
41
+ /***********************************************************************************/
42
+
43
+ const AsanaVariants = Variants.define({
44
+ normal: ['ASNA-M', [
45
+ CHARS.InRange(0x20, 0x4000, 'ASNA-M').minus(CHARS.Range(0x2032, 0x2037), CHARS.At(0x2057, 0x20D3)),
46
+ CHARS.InRange(0x10140, 0x1D7FF, 'ASNA-M'),
47
+ CHARS.Map({0x237: 0x10FEE9}).feature('dtls'), // dotless j
48
+ CHARS.Map({
49
+ 0x00AF: 0x02C9,
50
+ 0x2032: 0x2019,
51
+ 0x2033: '\u2019\u2019',
52
+ 0x2034: '\u2019\u2019\u2019',
53
+ 0x2035: '\u201B',
54
+ 0x2036: '\u201B\u201B',
55
+ 0x2037: '\u201B\u201B\u201B',
56
+ 0x2057: '\u2019\u2019\u2019\u2019'
57
+ })
58
+ ]],
59
+ 'bold': ['ASNA-M', [
60
+ CHARS.Map({0x131: 0x10FEE7, 0x237: 0x10FEE8}).feature('dtls')
61
+ ]],
62
+ 'italic': ['ASNA-M', [
63
+ CHARS.Map({0x131: 0x1D6A4, 0x237: 0x1D6A5})
64
+ ]],
65
+ 'bold-italic': ['ASNA-M', [
66
+ CHARS.Map({0x131: 0x10FEE5, 0x237: 0x10FEE6}).feature('dtls')
67
+ ]],
68
+ 'double-struck': ['ASNA-M', [
69
+ CHARS.Map({0x131: 0x10FEDD, 0x237: 0x10FEDE}).feature('dtls')
70
+ ]],
71
+ 'fraktur': ['ASNA-M', [
72
+ CHARS.Map({0x131: 0x10FEDF, 0x237: 0x10FEE0}).feature('dtls')
73
+ ]],
74
+ 'bold-fraktur': ['ASNA-M', [
75
+ CHARS.Map({0x131: 0x10FEDB, 0x237: 0x10FEDC}).feature('dtls')
76
+ ]],
77
+ 'script': ['ASNA-M', [
78
+ CHARS.Map({0x131: 0x10FEE3, 0x237: 0x10FEE4}).feature('dtls')
79
+ ]],
80
+ 'bold-script': ['ASNA-M', [
81
+ CHARS.Map({0x131: 0x10FEE1, 0x237: 0x10FEE2}).feature('dtls')
82
+ ]],
83
+ 'sans-serif': ['ASNA-M', [
84
+ CHARS.Map({0x131: 0x10FED9, 0x237: 0x10FEDA}).feature('dtls')
85
+ ]],
86
+ 'bold-sans-serif': ['ASNA-M', [
87
+ CHARS.Map({0x131: 0x10FED7, 0x237: 0x10FED8}).feature('dtls')
88
+ ]],
89
+ 'sans-serif-italic': ['ASNA-M', [
90
+ CHARS.Map({0x131: 0x10FED5, 0x237: 0x10FED6}).feature('dtls')
91
+ ]],
92
+ 'sans-serif-bold-italic': ['ASNA-M', [
93
+ CHARS.Map({0x131: 0x10FED3, 0x237: 0x10FED4}).feature('dtls')
94
+ ]],
95
+ 'monospace': ['ASNA-M', [
96
+ CHARS.Map({0x131: 0x10FED1, 0x237: 0x10FED2}).feature('dtls')
97
+ ]],
98
+ '-smallop': ['ASNA-M', [
99
+ CHARS.Map({
100
+ 0x0028: 0x10FFF4, 0x0029: 0x10FFF7, 0x002F: 0x10FFD2, 0x005B: 0x10FFEE, 0x005D: 0x10FFF1,
101
+ 0x007B: 0x10FFFA, 0x007C: 0x10FFD6, 0x007D: 0x10FFFD, 0x02C6: 0x10FFA6, 0x02C7: 0x10FFAE,
102
+ 0x02C9: 0x10FF1E, 0x02D8: 0x10FFB2, 0x02DC: 0x10FFAA, 0x0332: 0x10FF1D, 0x0333: 0x10FF1C,
103
+ 0x033F: 0x10FF1B, 0x2016: 0x10FFCE, 0x2045: 0x10FFBB, 0x2046: 0x10FFBE, 0x20D6: 0x10FE4A,
104
+ 0x20D7: 0x10FE4E, 0x221A: 0x10FF6E, 0x2308: 0x10FFE2, 0x2309: 0x10FFE5, 0x230A: 0x10FFE8,
105
+ 0x230B: 0x10FFEB, 0x23B4: 0x10FEFD, 0x23B5: 0x10FF00, 0x23DC: 0x10FEF7, 0x23DD: 0x10FEFA,
106
+ 0x23DE: 0x10FFC1, 0x23DF: 0x10FFC4, 0x23E0: 0x10FEF1, 0x23E1: 0x10FEF4, 0x27C5: 0x10FDF3,
107
+ 0x27C6: 0x10FDF4, 0x27E6: 0x10FFDA, 0x27E7: 0x10FFDE, 0x27E8: 0x10FF89, 0x27E9: 0x10FF7C,
108
+ 0x27EA: 0x10FF76, 0x27EB: 0x10FF79, 0x29FC: 0x10FEC8, 0x29FD: 0x10FECB
109
+ })
110
+ ]],
111
+ '-largeop': ['ASNA-M', [
112
+ CHARS.Map({
113
+ 0x0028: 0x10FFF5, 0x0029: 0x10FFF8, 0x002F: 0x10FFD3, 0x005B: 0x10FFEF, 0x005D: 0x10FFF2,
114
+ 0x007B: 0x10FFFB, 0x007C: 0x10FFD7, 0x007D: 0x10FFFE, 0x02C6: 0x10FFA7, 0x02C7: 0x10FFAF,
115
+ 0x02C9: 0x10FF19, 0x02D8: 0x10FFB3, 0x02DC: 0x10FFAB, 0x0332: 0x10FF18, 0x0333: 0x10FF17,
116
+ 0x033F: 0x10FF16, 0x2016: 0x10FFCF, 0x2045: 0x10FFBC, 0x2046: 0x10FFBF, 0x20D6: 0x10FE4B,
117
+ 0x20D7: 0x10FE4F, 0x220F: 0x10FF9F, 0x2210: 0x10FFA2, 0x2211: 0x10FF9C, 0x221A: 0x10FF6F,
118
+ 0x2229: 0x10FF8E, 0x222B: 0x10FF99, 0x222C: 0x10FF6A, 0x222D: 0x10FF67, 0x222E: 0x10FF64,
119
+ 0x222F: 0x10FF61, 0x2230: 0x10FF5E, 0x2231: 0x10FF5B, 0x2232: 0x10FF58, 0x2233: 0x10FF55,
120
+ 0x22C0: 0x10FF92, 0x22C1: 0x10FF94, 0x22C2: 0x10FF8E, 0x22C3: 0x10FF8C, 0x2308: 0x10FFE3,
121
+ 0x2309: 0x10FFE6, 0x230A: 0x10FFE9, 0x230B: 0x10FFEC, 0x23B4: 0x10FEFE, 0x23B5: 0x10FF01,
122
+ 0x23DC: 0x10FEF8, 0x23DD: 0x10FEFB, 0x23DE: 0x10FFC2, 0x23DF: 0x10FFC5, 0x23E0: 0x10FEF2,
123
+ 0x23E1: 0x10FEF5, 0x27C5: 0x10FDF5, 0x27C6: 0x10FDF6, 0x27E6: 0x10FFDB, 0x27E7: 0x10FFDF,
124
+ 0x27E8: 0x10FF8A, 0x27E9: 0x10FF7D, 0x27EA: 0x10FF77, 0x27EB: 0x10FF7A, 0x29FC: 0x10FEC9,
125
+ 0x29FD: 0x10FECC, 0x2A00: 0x10FF96, 0x2A01: 0x10FF98, 0x2A02: 0x10FF7F, 0x2A03: 0x10FF81,
126
+ 0x2A04: 0x10FF90, 0x2A05: 0x10FF83, 0x2A06: 0x10FF85, 0x2A07: 0x10FF72, 0x2A08: 0x10FF74,
127
+ 0x2A09: 0x10FF87, 0x2A0C: 0x10FF1F, 0x2A0D: 0x10FF22, 0x2A0E: 0x10FF25, 0x2A0F: 0x10FF28,
128
+ 0x2A10: 0x10FF2B, 0x2A11: 0x10FF2E, 0x2A12: 0x10FF31, 0x2A13: 0x10FF34, 0x2A14: 0x10FF37,
129
+ 0x2A15: 0x10FF3A, 0x2A16: 0x10FF3D, 0x2A17: 0x10FF40, 0x2A18: 0x10FF43, 0x2A19: 0x10FF46,
130
+ 0x2A1A: 0x10FF49, 0x2A1B: 0x10FF4C, 0x2A1C: 0x10FF4F
131
+ })
132
+ ]],
133
+ '-size3': ['ASNA-M', [
134
+ CHARS.Map({
135
+ 0x0028: 0x10FFF6, 0x0029: 0x10FFF9, 0x002F: 0x10FFD4, 0x005B: 0x10FFF0, 0x005D: 0x10FFF3,
136
+ 0x007B: 0x10FFFC, 0x007C: 0x10FFD8, 0x007D: 0x10FFFF, 0x02C6: 0x10FFA8, 0x02C7: 0x10FFB0,
137
+ 0x02C9: 0x10FF15, 0x02D8: 0x10FFB4, 0x02DC: 0x10FFAC, 0x0332: 0x10FF14, 0x0333: 0x10FF13,
138
+ 0x033F: 0x10FF12, 0x2016: 0x10FFD0, 0x2045: 0x10FFBD, 0x2046: 0x10FFC0, 0x20D6: 0x10FE4C,
139
+ 0x20D7: 0x10FE50, 0x220F: 0x10FFA0, 0x2210: 0x10FFA3, 0x2211: 0x10FF9D, 0x221A: 0x10FF70,
140
+ 0x2229: 0x10FD73, 0x222B: 0x10FF9A, 0x222C: 0x10FF6B, 0x222D: 0x10FF68, 0x222E: 0x10FF65,
141
+ 0x222F: 0x10FF62, 0x2230: 0x10FF5F, 0x2231: 0x10FF5C, 0x2232: 0x10FF59, 0x2233: 0x10FF56,
142
+ 0x22C0: 0x10FF93, 0x22C1: 0x10FF95, 0x22C2: 0x10FF8F, 0x22C3: 0x10FD72, 0x2308: 0x10FFE4,
143
+ 0x2309: 0x10FFE7, 0x230A: 0x10FFEA, 0x230B: 0x10FFED, 0x23B4: 0x10FEFF, 0x23B5: 0x10FF02,
144
+ 0x23DC: 0x10FEF9, 0x23DD: 0x10FEFC, 0x23DE: 0x10FFC3, 0x23DF: 0x10FFC6, 0x23E0: 0x10FEF3,
145
+ 0x23E1: 0x10FEF6, 0x27C5: 0x10FDF7, 0x27C6: 0x10FDF8, 0x27E6: 0x10FFDC, 0x27E7: 0x10FFE0,
146
+ 0x27E8: 0x10FF8B, 0x27E9: 0x10FF7E, 0x27EA: 0x10FF78, 0x27EB: 0x10FF7B, 0x29FC: 0x10FECA,
147
+ 0x29FD: 0x10FECD, 0x2A00: 0x10FF97, 0x2A01: 0x10FFA5, 0x2A02: 0x10FF80, 0x2A03: 0x10FF82,
148
+ 0x2A04: 0x10FF91, 0x2A05: 0x10FF84, 0x2A06: 0x10FF86, 0x2A07: 0x10FF73, 0x2A08: 0x10FF75,
149
+ 0x2A09: 0x10FF88, 0x2A0C: 0x10FF20, 0x2A0D: 0x10FF23, 0x2A0E: 0x10FF26, 0x2A0F: 0x10FF29,
150
+ 0x2A10: 0x10FF2C, 0x2A11: 0x10FF2F, 0x2A12: 0x10FF32, 0x2A13: 0x10FF35, 0x2A14: 0x10FF38,
151
+ 0x2A15: 0x10FF3B, 0x2A16: 0x10FF3E, 0x2A17: 0x10FF41, 0x2A18: 0x10FF44, 0x2A19: 0x10FF47,
152
+ 0x2A1A: 0x10FF4A, 0x2A1B: 0x10FF4D, 0x2A1C: 0x10FF50
153
+ })
154
+ ]],
155
+ '-size4': ['ASNA-M', [
156
+ CHARS.Map({
157
+ 0x002F: 0x10FFD5, 0x007C: 0x10FFD9, 0x02C6: 0x10FFA9, 0x02C7: 0x10FFB1, 0x02D8: 0x10FFB5,
158
+ 0x02DC: 0x10FFAD, 0x2016: 0x10FFD1, 0x20D6: 0x10FE4D, 0x20D7: 0x10FE51, 0x220F: 0x10FFA1,
159
+ 0x2210: 0x10FFA4, 0x2211: 0x10FF9E, 0x221A: 0x10FF71, 0x2229: 0x10FF8F, 0x222B: 0x10FF9B,
160
+ 0x222C: 0x10FF6C, 0x222D: 0x10FF69, 0x222E: 0x10FF66, 0x222F: 0x10FF63, 0x2230: 0x10FF60,
161
+ 0x2231: 0x10FF5D, 0x2232: 0x10FF5A, 0x2233: 0x10FF57, 0x22C3: 0x10FF8D, 0x27C5: 0x10FDF9,
162
+ 0x27C6: 0x10FDFA, 0x27E6: 0x10FFDD, 0x27E7: 0x10FFE1, 0x2A0C: 0x10FF21, 0x2A0D: 0x10FF24,
163
+ 0x2A0E: 0x10FF27, 0x2A0F: 0x10FF2A, 0x2A10: 0x10FF2D, 0x2A11: 0x10FF30, 0x2A12: 0x10FF33,
164
+ 0x2A13: 0x10FF36, 0x2A14: 0x10FF39, 0x2A15: 0x10FF3C, 0x2A16: 0x10FF3F, 0x2A17: 0x10FF42,
165
+ 0x2A18: 0x10FF45, 0x2A19: 0x10FF48, 0x2A1A: 0x10FF4B, 0x2A1B: 0x10FF4E, 0x2A1C: 0x10FF51
166
+ })
167
+ ]],
168
+ '-size5': ['ASNA-M', [
169
+ CHARS.Map({
170
+ 0x007C: 0x10FD76, 0x02C6: 0x10FDFF, 0x02D7: 0x10FDFD, 0x02DC: 0x10FDFE, 0x27C5: 0x10FDFB,
171
+ 0x27C6: 0x10FDFC
172
+ })
173
+ ]],
174
+ '-size6': ['ASNA-M', [
175
+ CHARS.Map({
176
+ 0x007C: 0x10FD75,
177
+ })
178
+ ]],
179
+ '-tex-calligraphic': ['ASNA-M', [
180
+ CHARS.MapTo(0x10FEA2, CHARSET.AlphaUC, 0x41).feature('salt') // Upper-case calligraphic
181
+ ]],
182
+ '-tex-bold-calligraphic': ['ASNA-M', [
183
+ CHARS.MapTo(0x10FE87, CHARSET.AlphaUC, 0x41).feature('salt') // Upper-case bold calligraphic
184
+ ]],
185
+ '-tex-oldstyle': ['ASNA-M', [
186
+ CHARS.MapTo(0x10FEBD, CHARSET.Numbers, 0x31).feature('onum'),
187
+ ]],
188
+ '-tex-variant': ['ASNA-M', [
189
+ CHARS.Map({0x03D0: 0x10FECE, 0x03D1: 0x10FECF}).feature('salt'),
190
+ CHARS.At(0x210F).feature('var'),
191
+ CHARS.Map({
192
+ 0x03C6: 0x10FEF0,
193
+ 0x2190: 0x10FF11, 0x2192: 0x10FF0F,
194
+ 0x21D0: 0x10FF0D, 0x21D2: 0x10FF0B
195
+ }),
196
+ CHARS.Range(0x2032, 0x2037),
197
+ CHARS.At(0x2057),
198
+ CHARSET.PseudoScripts
199
+ ]],
200
+ '-extend': ['ASNA-M', [
201
+ CHARS.Map({
202
+ // 0xE001: 0x10FF6D, 0xE002: 0x20D3, // root top and extender
203
+ 0xE010: 0x10FFC7, 0xE011: 0x10FFC8, 0xE012: 0x10FFC9, 0xE013: 0x10FFCA, // overbrace parts
204
+ 0xE014: 0x10FFCB, 0xE015: 0x10FFCC, 0xE016: 0x10FFCD, 0xE017: 0x10FEF0, // underbrace parts
205
+ 0xE018: 0x10FEEC, 0xE019: 0x10FEEB, 0xE01A: 0x10FEED, // overbracket parts
206
+ 0xE01C: 0x10FEEE, 0xE01D: 0x10FEEA, 0xE01E: 0x10FEEF, // underbracket parts
207
+ 0xE020: 0x10FFB6, 0xE021: 0x10FFBA, 0xE022: 0x10FFB7, 0xE023: 0x10FF53,
208
+ 0xE024: 0x10FFB8, 0xE025: 0x10FF52, 0xE026: 0x10FFB9, 0xE027: 0x10FF54,
209
+ 0x20D0: 0x10FF1A, 0x20EE: 0x10FD74,
210
+ 0x2190: 0x10FF10, 0x2191: 0x10FEC6, 0x2192: 0x10FF0E,
211
+ 0x21A4: 0x10FF08, 0x21A6: 0x10FF07,
212
+ 0x21A9: 0x10FF06, 0x21AA: 0x10FF05,
213
+ 0x21D0: 0x10FF0C, 0x21D1: 0x10FEC7, 0x21D2: 0x10FF09,
214
+ 0x2906: 0x10FF04, 0x2907: 0x10FF03
215
+ }),
216
+ CHARS.At(0x21BC, 0x21BD, 0x21C0, 0x21C1, 0xE001, 0xE002).feature('ext')
217
+ ]]
218
+ }, {
219
+ spaces: {
220
+ normal: {0x2061: 0, 0x2062: 0, 0x2603: 0, 0x2064: 0}
221
+ },
222
+ transferHD: [
223
+ [0x2212, 0x002B] // make minus the same height/depth as plus
224
+ ],
225
+ fixIC: [
226
+ ...integralIC('-largeop', .3, .2),
227
+ ...integralIC('-size3', .35, .25),
228
+ ...integralIC('-size4', .4, .3),
229
+ ...integralIC('normal', .15, .1)
230
+ ],
231
+ });
232
+
233
+ /***********************************************************************************/
234
+ /***********************************************************************************/
235
+
236
+ const AsanaDelimiters = Delimiters.define({
237
+ font: 'ASNA-M',
238
+ variants: AsanaVariants,
239
+ sizeVariants: ['normal'],
240
+ stretchVariants: ['normal'],
241
+ readMathTable: true,
242
+ adjustMathTable: {
243
+ 0x2190: {parts: [ , , 0]},
244
+ 0x2192: {parts: [0]},
245
+ 0x21D0: {parts: [ , , 0]},
246
+ 0x21D2: {parts: [0]},
247
+ 0x221A: {parts: [[0xE001, 'ext'], [0xE002, 'ext']]}
248
+ },
249
+ add: {
250
+ 0x003D: {dir: 'H', parts: [0, 0x003D]},
251
+ 0x2013: {dir: 'H', sizes: 1, parts: [0, 0x2013]},
252
+ 0x2014: {dir: 'H', sizes: 1, parts: [0, 0x2014]},
253
+ 0x2015: {dir: 'H', parts: [0, 0x2015]},
254
+ 0x2017: {dir: 'H', sizes: 1, parts: [0, 0x2017]},
255
+ 0x2195: {dir: 'V', sizes: 1, parts: [0x2191, [0x2191, '-extend'], 0x2193]},
256
+ 0x219E: {dir: 'H', sizes: 1, parts: [0x219E, [0x2190, '-extend']]},
257
+ 0x21A0: {dir: 'H', sizes: 1, parts: [0, [0x2190, '-extend'], 0x21A0]},
258
+ 0x21A5: {dir: 'V', sizes: 1, parts: [0x2191, [0x2191, '-extend'], 0x005F]},
259
+ 0x21A7: {dir: 'V', sizes: 1, parts: [0x005F, [0x2191, '-extend'], 0x2193]},
260
+ 0x21BC: {dir: 'H', sizes: 1, parts: [[0x21BC, '-extend'], [0x2190, '-extend']]},
261
+ 0x21BD: {dir: 'H', sizes: 1, parts: [[0x21BD, '-extend'], [0x2190, '-extend']]},
262
+ 0x21BE: {dir: 'V', sizes: 1, parts: [0x21BE, [0x2191, '-extend']]},
263
+ 0x21BF: {dir: 'V', sizes: 1, parts: [0x21BF, [0x2191, '-extend']]},
264
+ 0x21C0: {dir: 'H', sizes: 1, parts: [0, [0x2190, '-extend'], [0x21C0, '-extend']]},
265
+ 0x21C1: {dir: 'H', sizes: 1, parts: [0, [0x2190, '-extend'], [0x21C1, '-extend']]},
266
+ 0x21C2: {dir: 'V', sizes: 1, parts: [0, [0x2191, '-extend'], 0x21C2]},
267
+ 0x21C3: {dir: 'V', sizes: 1, parts: [0, [0x2191, '-extend'], 0x21C3]},
268
+ 0x21D5: {dir: 'V', sizes: 1, parts: [0x21D1, [0x21D1, '-extend'], 0x21D3]},
269
+ 0x21DA: {dir: 'H', sizes: 1, parts: [0x21DA, 0x2261]},
270
+ 0x21DB: {dir: 'H', sizes: 1, parts: [0, 0x2261, 0x21DB]},
271
+ 0x2212: {dir: 'H', parts: [0, 0x2212]},
272
+ 0x23AA: {dir: 'V', sizes: 1, parts: [0, 0x23AA, 0]},
273
+ 0x23B0: {dir: 'V', sizes: 1, parts: [0x23A7, 0x23AA, 0x23AD]},
274
+ 0x23B1: {dir: 'V', sizes: 1, parts: [0x23AB, 0x23AA, 0x23A9]},
275
+ 0x23D0: {dir: 'V', parts: [0, 0x2223]},
276
+ 0x27EE: {dir: 'V', sizes: 1, parts: [0x23A7, 0x23AA, 0x23A9]},
277
+ 0x27EF: {dir: 'V', sizes: 1, parts: [0x23AB, 0x23AA, 0x23AD]},
278
+ 0x294A: {dir: 'H', sizes: 1, parts: [[0x21BC, '-extend'], [0x2190, '-extend'], [0x21C1, '-extend']]},
279
+ 0x294B: {dir: 'H', sizes: 1, parts: [[0x21BD, '-extend'], [0x2190, '-extend'], [0x21C0, '-extend']]},
280
+ 0x294C: {dir: 'V', sizes: 1, parts: [0x21BE, [0x2191, '-extend'], 0x21C3]},
281
+ 0x294D: {dir: 'V', sizes: 1, parts: [0x21BF, [0x2191, '-extend'], 0x21C2]},
282
+ 0x294E: {dir: 'H', sizes: 1, parts: [[0x21BC, '-extend'], [0x2190, '-extend'], [0x21C0, '-extend']]},
283
+ 0x294F: {dir: 'V', sizes: 1, parts: [0x21BE, [0x2191, '-extend'], 0x21C2]},
284
+ 0x2950: {dir: 'H', sizes: 1, parts: [[0x21BD, '-extend'], [0x2190, '-extend'], [0x21C1, '-extend']]},
285
+ 0x2951: {dir: 'V', sizes: 1, parts: [0x21BF, [0x2191, '-extend'], 0x21C3]},
286
+ 0x295A: {dir: 'H', sizes: 1, parts: [[0x21BC, '-extend'], [0x2190, '-extend'], [0x21A4, '-extend']]},
287
+ 0x295B: {dir: 'H', sizes: 1, parts: [[0x21A6, '-extend'], [0x2190, '-extend'], [0x21C0, '-extend']]},
288
+ 0x295C: {dir: 'V', sizes: 1, parts: [0x21BE, [0x2191, '-extend'], 0x005F]},
289
+ 0x295D: {dir: 'V', sizes: 1, parts: [0x005F, [0x2191, '-extend'], 0x21C2]},
290
+ 0x295E: {dir: 'H', sizes: 1, parts: [[0x21BD, '-extend'], [0x2190, '-extend'], [0x21A4, '-extend']]},
291
+ 0x295F: {dir: 'H', sizes: 1, parts: [[0x21A6, '-extend'], [0x2190, '-extend'], [0x21C1, '-extend']]},
292
+ 0x2960: {dir: 'V', sizes: 1, parts: [0x21BF, [0x2191, '-extend'], 0x005F]},
293
+ 0x2961: {dir: 'V', sizes: 1, parts: [0x005F, [0x2191, '-extend'], 0x21C3]},
294
+ 0x2A1A: {dir: 'V', sizes: 4, variants: ['normal', '-largeop', '-size3', '-size4']}, // normal not in MATH table
295
+ },
296
+ alias: {
297
+ 0x002D: 0x2212,
298
+ 0x005E: 0x0302,
299
+ 0x005F: 0x2013,
300
+ 0x007E: 0x0303,
301
+ 0x00AF: 0x0305,
302
+ 0x02C6: 0x0302,
303
+ 0x02C7: 0x030C,
304
+ 0x02C9: 0x0305,
305
+ 0x02D8: 0x0306,
306
+ 0x02DC: 0x0303,
307
+ 0x203E: 0x00AF,
308
+ 0x2215: 0x002F,
309
+ 0x2312: 0x23DC,
310
+ 0x2322: 0x23DC,
311
+ 0x2323: 0x23DD,
312
+ 0x2329: 0x27E8,
313
+ 0x232A: 0x27E9,
314
+ 0x23AF: 0x2013,
315
+ 0x2500: 0x2013,
316
+ 0x2758: 0x2223,
317
+ 0x27F5: 0x2190,
318
+ 0x27F6: 0x2192,
319
+ 0x27F7: 0x2194,
320
+ 0x27F8: 0x21D0,
321
+ 0x27F9: 0x21D2,
322
+ 0x27FA: 0x21D4,
323
+ 0x27FB: 0x21A4,
324
+ 0x27FC: 0x21A6,
325
+ 0x27FD: 0x2906,
326
+ 0x27FE: 0x2907,
327
+ 0x3008: 0x27E8,
328
+ 0x3009: 0x27E9,
329
+ 0xFE37: 0x23DE,
330
+ 0xFE38: 0x23DF,
331
+ },
332
+ fullExtenders: {0x221A: [.65, Math.round((.414 + 1.388 + Number.EPSILON) * 1000) / 1000]}
333
+ });
334
+
335
+ /***********************************************************************************/
336
+ /***********************************************************************************/
337
+
338
+ const AsanaData: FontDef = {
339
+ name: 'MathJaxAsana',
340
+ prefix: 'ASNA',
341
+ variants: AsanaVariants,
342
+ delimiters: AsanaDelimiters,
343
+ ranges: [
344
+ ['latin', {
345
+ LR: {normal: RANGES.LATIN}
346
+ }],
347
+ ['double-struck', {
348
+ DS: {
349
+ normal: RANGES.DOUBLESTRUCK,
350
+ 'double-struck': RANGES.DOTLESS
351
+ }
352
+ }],
353
+ ['fraktur', {
354
+ F: {
355
+ normal: RANGES.FRAKTUR_NORMAL,
356
+ fraktur: RANGES.DOTLESS
357
+ },
358
+ FB: {
359
+ normal: RANGES.FRAKTUR_BOLD,
360
+ 'bold-fraktur': RANGES.DOTLESS
361
+ }
362
+ }],
363
+ ['script', {
364
+ S: {
365
+ normal: RANGES.SCRIPT_NORMAL,
366
+ script: RANGES.DOTLESS
367
+ },
368
+ SB: {
369
+ normal: RANGES.SCRIPT_BOLD,
370
+ 'bold-script': RANGES.DOTLESS
371
+ }
372
+ }],
373
+ ['sans-serif', {
374
+ SS: {
375
+ normal: RANGES.SANSSERIF_NORMAL,
376
+ 'sans-serif': RANGES.DOTLESS
377
+ },
378
+ SSB: {
379
+ normal: RANGES.SANSSERIF_BOLD,
380
+ 'bold-sans-serif': RANGES.DOTLESS
381
+ },
382
+ SSI: {
383
+ normal: RANGES.SANSSERIF_ITALIC,
384
+ 'sans-serif-italic': RANGES.DOTLESS
385
+ },
386
+ SSBI: {
387
+ normal: RANGES.SANSSERIF_BOLDITALIC,
388
+ 'sans-serif-bold-italic': RANGES.DOTLESS
389
+ }
390
+ }],
391
+ ['monospace', {
392
+ M: {
393
+ normal: RANGES.MONOSPACE,
394
+ monospace: RANGES.DOTLESS
395
+ }
396
+ }],
397
+ ['calligraphic', {
398
+ C: {'-tex-calligraphic': RANGES.ALPHAUC},
399
+ CB: {'-tex-bold-calligraphic': RANGES.ALPHAUC}
400
+ }],
401
+ ['cherokee', {
402
+ CK: {normal: [[0x13A0, 0x13FF]]}
403
+ }],
404
+ ['greek', {
405
+ GK: {normal: RANGES.GREEK}
406
+ }],
407
+ ['math', {
408
+ MM: {normal: RANGES.MATH}
409
+ }, [0x27C5, 0x27C6, 0x29FC, 0x29FD]],
410
+ ['symbols', {
411
+ SY: {normal: RANGES.SYMBOLS},
412
+ '': {'-largeop': [0x2140]}
413
+ }, [
414
+ 0x2017, 0x2045, 0x2046
415
+ ]],
416
+ ['arrows', {
417
+ AR: {normal: RANGES.ARROWS},
418
+ ARB: {bold: RANGES.ARROWS}
419
+ }, [
420
+ 0x21A5, 0x21A7, 0x27FD, 0x27FE, 0x2906, 0x2907, 0x294C,
421
+ 0x294D, 0x294F, 0x2951, 0x295C, 0x295D, 0x2960, 0x2961
422
+ ]],
423
+ ['accents', {
424
+ '': {
425
+ normal: RANGES.ACCENTS,
426
+ '-smallop': RANGES.LARGE_ACCENTS,
427
+ '-largeop': RANGES.LARGE_ACCENTS,
428
+ '-size3': RANGES.LARGE_ACCENTS
429
+ }
430
+ }, [
431
+ 0x332, 0x333, 0x33F, 0x20E9
432
+ ]],
433
+ ['shapes', {
434
+ SH: {normal: RANGES.SHAPES}
435
+ }],
436
+ ['stretchy', {
437
+ '': {
438
+ normal: [...RANGES.PARTS, RANGES.INTEGRALS[1]],
439
+ '-largeop': [RANGES.INTEGRALS[1]],
440
+ '-size3': [...RANGES.INTEGRALS, [0x220F, 0x2211], [0x2A00, 0x2A09]],
441
+ '-size4': [...RANGES.INTEGRALS, [0x220F, 0x2211], [0x2A00, 0x2A09]]
442
+ }
443
+ }, [
444
+ RANGES.INTEGRALS[1]
445
+ ]]
446
+ ],
447
+ legal: {
448
+ addCopyright: 'Copyright (c) 2022 MathJax, Inc. (www.mathjax.org)'
449
+ }
450
+ };
451
+
452
+ /***********************************************************************************/
453
+ /***********************************************************************************/
454
+
455
+ CommonFont.define(AsanaData).writeFont();
456
+
457
+ SVGFont.define(AsanaData).writeFont();
458
+ Components.define('svg', AsanaData).writeFont().writeComponent();
459
+
460
+ CHTMLFont.define(AsanaData).writeFont().makeWoffFonts('ASNA-M');
461
+ Components.define('chtml', AsanaData).writeFont().writeComponent();
462
+
463
+ } catch (err) {
464
+ console.error(err);
465
+ process.exit(1);
466
+ }
@@ -0,0 +1,116 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
7
+ <meta name="viewport" content="width=device-width">
8
+ <title>CHTML output using MathJax-Asana fonts</title>
9
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
10
+ <script>
11
+ MathJax = {
12
+ loader: {
13
+ paths: {
14
+ mathjax: '../../node_modules/mathjax-full',
15
+ 'mathjax-asana': '..'
16
+ }
17
+ },
18
+ tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]},
19
+ startup: {
20
+ ready() {
21
+ MathJax.startup.defaultReady();
22
+ document.getElementById('render').disabled = false;
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ <script id="MathJax-script" async src="../tex-mml-chtml-mathjax-asana.js"></script>
28
+ <script>
29
+ function convert() {
30
+ //
31
+ // Get the input (it is HTML containing delimited TeX math
32
+ // and/or MathML tags)
33
+ //
34
+ var input = document.getElementById("input").value.trim();
35
+ //
36
+ // Disable the render button until MathJax is done
37
+ //
38
+ var button = document.getElementById("render");
39
+ button.disabled = true;
40
+ //
41
+ // Clear the old output
42
+ //
43
+ output = document.getElementById('output');
44
+ output.innerHTML = input;
45
+ //
46
+ // Reset the tex labels (and automatic equation numbers, though there aren't any here).
47
+ // Reset the typesetting system (font caches, etc.)
48
+ // Typeset the page, using a promise to let us know when that is complete
49
+ //
50
+ MathJax.texReset();
51
+ MathJax.typesetClear();
52
+ MathJax.typesetPromise()
53
+ .catch(function (err) {
54
+ //
55
+ // If there was an internal error, put the message into the output instead
56
+ //
57
+ output.innerHTML = '';
58
+ output.appendChild(document.createElement('pre')).appendChild(document.createTextNode(err.message));
59
+ })
60
+ .then(function() {
61
+ //
62
+ // Error or not, re-enable the render button
63
+ //
64
+ button.disabled = false;
65
+ });
66
+ }
67
+ </script>
68
+ <style>
69
+ #frame {
70
+ max-width: 40em;
71
+ margin: auto;
72
+ }
73
+ #input {
74
+ border: 1px solid grey;
75
+ margin: 0 0 .25em;
76
+ width: 100%;
77
+ box-sizing: border-box;
78
+ }
79
+ #output {
80
+ margin-top: .75em;
81
+ border: 1px solid grey;
82
+ padding: .25em;
83
+ min-height: 2em;
84
+ font-size: 150%;
85
+ }
86
+ #output > pre {
87
+ margin-left: 5px;
88
+ }
89
+ .right {
90
+ float: right;
91
+ }
92
+ </style>
93
+ </head>
94
+
95
+ <body>
96
+ <div id="frame">
97
+
98
+ <h1>CHTML with MathJax-Asana fonts</h1>
99
+
100
+ <textarea id="input" rows="15" cols="10">
101
+ <!-- Enter HTML containing TeX or MathML below -->
102
+
103
+ If $a \ne 0$, then $ax^2 + bx + c = 0$ has two solutions,
104
+ $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
105
+ </textarea>
106
+ <br />
107
+ <div class="right">
108
+ <input type="button" value="Render HTML" id="render" onclick="convert()" disabled />
109
+ </div>
110
+ <br clear="all" />
111
+ <div id="output"></div>
112
+ </div>
113
+
114
+ </body>
115
+
116
+ </html>