mathjax-tex-font 1.0.0-beta.1 → 4.0.0-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/{es5/chtml → chtml}/woff/mjx-tex-b.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-bi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-brk.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-c.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-cb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-f.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-fb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-i.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-lo.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-m.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-mi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-n.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ob.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-os.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-s3.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-s4.woff +0 -0
- package/chtml/woff/mjx-tex-so.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ss.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ssb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ssi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-v.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-zero.woff +0 -0
- package/chtml.js +1 -0
- package/cjs/chtml/bold-italic.d.ts +2 -0
- package/{js → cjs}/chtml/bold-italic.js +2 -2
- package/cjs/chtml/bold-italic.js.map +1 -0
- package/cjs/chtml/bold.d.ts +2 -0
- package/{js → cjs}/chtml/bold.js +1 -1
- package/cjs/chtml/bold.js.map +1 -0
- package/cjs/chtml/delimiters.d.ts +2 -0
- package/{js/svg → cjs/chtml}/delimiters.js +280 -218
- package/cjs/chtml/delimiters.js.map +1 -0
- package/cjs/chtml/fraktur-bold.d.ts +2 -0
- package/cjs/chtml/fraktur.d.ts +2 -0
- package/{js → cjs}/chtml/fraktur.js +6 -6
- package/cjs/chtml/fraktur.js.map +1 -0
- package/cjs/chtml/italic.d.ts +2 -0
- package/{js → cjs}/chtml/italic.js +1 -1
- package/{js → cjs}/chtml/italic.js.map +1 -1
- package/cjs/chtml/largeop.d.ts +2 -0
- package/cjs/chtml/monospace.d.ts +2 -0
- package/cjs/chtml/normal.d.ts +2 -0
- package/cjs/chtml/normal.js +1332 -0
- package/cjs/chtml/normal.js.map +1 -0
- package/cjs/chtml/sans-serif-bold.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif-bold.js +1 -1
- package/cjs/chtml/sans-serif-bold.js.map +1 -0
- package/cjs/chtml/sans-serif-italic.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif-italic.js +2 -2
- package/cjs/chtml/sans-serif-italic.js.map +1 -0
- package/cjs/chtml/sans-serif.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif.js +1 -1
- package/cjs/chtml/sans-serif.js.map +1 -0
- package/cjs/chtml/size3.d.ts +2 -0
- package/cjs/chtml/size4.d.ts +2 -0
- package/{js → cjs}/chtml/size4.js +1 -1
- package/{js → cjs}/chtml/size4.js.map +1 -1
- package/cjs/chtml/smallop.d.ts +2 -0
- package/{js → cjs}/chtml/smallop.js +23 -1
- package/cjs/chtml/smallop.js.map +1 -0
- package/cjs/chtml/tex-calligraphic-bold.d.ts +2 -0
- package/cjs/chtml/tex-calligraphic-bold.js +34 -0
- package/cjs/chtml/tex-calligraphic-bold.js.map +1 -0
- package/cjs/chtml/tex-calligraphic.d.ts +2 -0
- package/cjs/chtml/tex-calligraphic.js +32 -0
- package/cjs/chtml/tex-calligraphic.js.map +1 -0
- package/cjs/chtml/tex-mathit.d.ts +2 -0
- package/cjs/chtml/tex-mathit.js +58 -0
- package/cjs/chtml/tex-mathit.js.map +1 -0
- package/cjs/chtml/tex-oldstyle-bold.d.ts +2 -0
- package/cjs/chtml/tex-oldstyle.d.ts +2 -0
- package/{js → cjs}/chtml/tex-oldstyle.js +14 -14
- package/cjs/chtml/tex-oldstyle.js.map +1 -0
- package/cjs/chtml/tex-variant.d.ts +2 -0
- package/{js → cjs}/chtml/tex-variant.js +1 -1
- package/cjs/chtml/tex-variant.js.map +1 -0
- package/{js → cjs}/chtml.d.ts +4 -7
- package/{js → cjs}/chtml.js +6 -7
- package/cjs/chtml.js.map +1 -0
- package/{js → cjs}/common.d.ts +1 -1
- package/{js → cjs}/common.js +12 -7
- package/cjs/common.js.map +1 -0
- package/cjs/svg/bold-italic.d.ts +2 -0
- package/{js → cjs}/svg/bold-italic.js +2 -2
- package/cjs/svg/bold-italic.js.map +1 -0
- package/cjs/svg/bold.d.ts +2 -0
- package/{js → cjs}/svg/bold.js +1 -1
- package/cjs/svg/bold.js.map +1 -0
- package/cjs/svg/delimiters.d.ts +2 -0
- package/{js/chtml → cjs/svg}/delimiters.js +280 -218
- package/cjs/svg/delimiters.js.map +1 -0
- package/cjs/svg/fraktur-bold.d.ts +2 -0
- package/cjs/svg/fraktur.d.ts +2 -0
- package/{js → cjs}/svg/fraktur.js +6 -6
- package/cjs/svg/fraktur.js.map +1 -0
- package/cjs/svg/italic.d.ts +2 -0
- package/{js → cjs}/svg/italic.js +1 -1
- package/{js → cjs}/svg/italic.js.map +1 -1
- package/cjs/svg/largeop.d.ts +2 -0
- package/cjs/svg/monospace.d.ts +2 -0
- package/cjs/svg/normal.d.ts +2 -0
- package/{js → cjs}/svg/normal.js +578 -550
- package/cjs/svg/normal.js.map +1 -0
- package/cjs/svg/sans-serif-bold.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif-bold.js +1 -1
- package/{js → cjs}/svg/sans-serif-bold.js.map +1 -1
- package/cjs/svg/sans-serif-italic.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif-italic.js +2 -2
- package/cjs/svg/sans-serif-italic.js.map +1 -0
- package/cjs/svg/sans-serif.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif.js +1 -1
- package/cjs/svg/sans-serif.js.map +1 -0
- package/cjs/svg/size3.d.ts +2 -0
- package/cjs/svg/size4.d.ts +2 -0
- package/{js → cjs}/svg/size4.js +1 -1
- package/{js → cjs}/svg/size4.js.map +1 -1
- package/cjs/svg/smallop.d.ts +2 -0
- package/{js → cjs}/svg/smallop.js +23 -1
- package/cjs/svg/smallop.js.map +1 -0
- package/cjs/svg/tex-calligraphic-bold.d.ts +2 -0
- package/{js → cjs}/svg/tex-calligraphic-bold.js +28 -28
- package/cjs/svg/tex-calligraphic-bold.js.map +1 -0
- package/cjs/svg/tex-calligraphic.d.ts +2 -0
- package/{js → cjs}/svg/tex-calligraphic.js +26 -26
- package/cjs/svg/tex-calligraphic.js.map +1 -0
- package/cjs/svg/tex-mathit.d.ts +2 -0
- package/{js → cjs}/svg/tex-mathit.js +50 -50
- package/cjs/svg/tex-mathit.js.map +1 -0
- package/cjs/svg/tex-oldstyle-bold.d.ts +2 -0
- package/cjs/svg/tex-oldstyle.d.ts +2 -0
- package/{js → cjs}/svg/tex-oldstyle.js +14 -14
- package/cjs/svg/tex-oldstyle.js.map +1 -0
- package/cjs/svg/tex-variant.d.ts +2 -0
- package/{js → cjs}/svg/tex-variant.js +1 -1
- package/cjs/svg/tex-variant.js.map +1 -0
- package/{js → cjs}/svg.d.ts +3 -3
- package/{js → cjs}/svg.js +3 -4
- package/cjs/svg.js.map +1 -0
- package/def/mathjax-tex.d.ts +1 -0
- package/def/mathjax-tex.ts +1564 -0
- package/examples/chtml.html +116 -0
- package/examples/svg.html +117 -0
- package/mjs/chtml/bold-italic.d.ts +2 -0
- package/mjs/chtml/bold-italic.js +9 -0
- package/mjs/chtml/bold-italic.js.map +1 -0
- package/mjs/chtml/bold.d.ts +2 -0
- package/mjs/chtml/bold.js +249 -0
- package/mjs/chtml/bold.js.map +1 -0
- package/mjs/chtml/default.d.ts +4 -0
- package/mjs/chtml/default.js +6 -0
- package/mjs/chtml/default.js.map +1 -0
- package/mjs/chtml/delimiters.d.ts +2 -0
- package/mjs/chtml/delimiters.js +866 -0
- package/mjs/chtml/delimiters.js.map +1 -0
- package/mjs/chtml/fraktur-bold.d.ts +2 -0
- package/mjs/chtml/fraktur-bold.js +42 -0
- package/mjs/chtml/fraktur-bold.js.map +1 -0
- package/mjs/chtml/fraktur.d.ts +2 -0
- package/mjs/chtml/fraktur.js +43 -0
- package/mjs/chtml/fraktur.js.map +1 -0
- package/mjs/chtml/italic.d.ts +2 -0
- package/mjs/chtml/italic.js +63 -0
- package/mjs/chtml/italic.js.map +1 -0
- package/mjs/chtml/largeop.d.ts +2 -0
- package/mjs/chtml/largeop.js +53 -0
- package/mjs/chtml/largeop.js.map +1 -0
- package/mjs/chtml/monospace.d.ts +2 -0
- package/mjs/chtml/monospace.js +81 -0
- package/mjs/chtml/monospace.js.map +1 -0
- package/mjs/chtml/normal.d.ts +2 -0
- package/mjs/chtml/normal.js +1329 -0
- package/mjs/chtml/normal.js.map +1 -0
- package/mjs/chtml/sans-serif-bold.d.ts +2 -0
- package/mjs/chtml/sans-serif-bold.js +51 -0
- package/mjs/chtml/sans-serif-bold.js.map +1 -0
- package/mjs/chtml/sans-serif-italic.d.ts +2 -0
- package/mjs/chtml/sans-serif-italic.js +85 -0
- package/mjs/chtml/sans-serif-italic.js.map +1 -0
- package/mjs/chtml/sans-serif.d.ts +2 -0
- package/mjs/chtml/sans-serif.js +75 -0
- package/mjs/chtml/sans-serif.js.map +1 -0
- package/mjs/chtml/size3.d.ts +2 -0
- package/mjs/chtml/size3.js +27 -0
- package/mjs/chtml/size3.js.map +1 -0
- package/mjs/chtml/size4.d.ts +2 -0
- package/mjs/chtml/size4.js +56 -0
- package/mjs/chtml/size4.js.map +1 -0
- package/mjs/chtml/smallop.d.ts +2 -0
- package/mjs/chtml/smallop.js +75 -0
- package/mjs/chtml/smallop.js.map +1 -0
- package/mjs/chtml/tex-calligraphic-bold.d.ts +2 -0
- package/mjs/chtml/tex-calligraphic-bold.js +31 -0
- package/mjs/chtml/tex-calligraphic-bold.js.map +1 -0
- package/mjs/chtml/tex-calligraphic.d.ts +2 -0
- package/mjs/chtml/tex-calligraphic.js +29 -0
- package/mjs/chtml/tex-calligraphic.js.map +1 -0
- package/mjs/chtml/tex-mathit.d.ts +2 -0
- package/mjs/chtml/tex-mathit.js +55 -0
- package/mjs/chtml/tex-mathit.js.map +1 -0
- package/mjs/chtml/tex-oldstyle-bold.d.ts +2 -0
- package/{js/chtml/tex-calligraphic-bold.js → mjs/chtml/tex-oldstyle-bold.js} +13 -8
- package/mjs/chtml/tex-oldstyle-bold.js.map +1 -0
- package/mjs/chtml/tex-oldstyle.d.ts +2 -0
- package/mjs/chtml/tex-oldstyle.js +39 -0
- package/mjs/chtml/tex-oldstyle.js.map +1 -0
- package/mjs/chtml/tex-variant.d.ts +2 -0
- package/mjs/chtml/tex-variant.js +41 -0
- package/mjs/chtml/tex-variant.js.map +1 -0
- package/mjs/chtml.d.ts +164 -0
- package/mjs/chtml.js +186 -0
- package/mjs/chtml.js.map +1 -0
- package/mjs/common.d.ts +2 -0
- package/mjs/common.js +36 -0
- package/mjs/common.js.map +1 -0
- package/mjs/package.json +3 -0
- package/mjs/svg/bold-italic.d.ts +2 -0
- package/mjs/svg/bold-italic.js +9 -0
- package/mjs/svg/bold-italic.js.map +1 -0
- package/mjs/svg/bold.d.ts +2 -0
- package/mjs/svg/bold.js +249 -0
- package/mjs/svg/bold.js.map +1 -0
- package/mjs/svg/default.d.ts +4 -0
- package/mjs/svg/default.js +6 -0
- package/mjs/svg/default.js.map +1 -0
- package/mjs/svg/delimiters.d.ts +2 -0
- package/mjs/svg/delimiters.js +866 -0
- package/mjs/svg/delimiters.js.map +1 -0
- package/mjs/svg/fraktur-bold.d.ts +2 -0
- package/mjs/svg/fraktur-bold.js +42 -0
- package/mjs/svg/fraktur-bold.js.map +1 -0
- package/mjs/svg/fraktur.d.ts +2 -0
- package/mjs/svg/fraktur.js +43 -0
- package/mjs/svg/fraktur.js.map +1 -0
- package/mjs/svg/italic.d.ts +2 -0
- package/mjs/svg/italic.js +63 -0
- package/mjs/svg/italic.js.map +1 -0
- package/mjs/svg/largeop.d.ts +2 -0
- package/mjs/svg/largeop.js +53 -0
- package/mjs/svg/largeop.js.map +1 -0
- package/mjs/svg/monospace.d.ts +2 -0
- package/mjs/svg/monospace.js +81 -0
- package/mjs/svg/monospace.js.map +1 -0
- package/mjs/svg/normal.d.ts +2 -0
- package/mjs/svg/normal.js +1329 -0
- package/mjs/svg/normal.js.map +1 -0
- package/mjs/svg/sans-serif-bold.d.ts +2 -0
- package/mjs/svg/sans-serif-bold.js +51 -0
- package/mjs/svg/sans-serif-bold.js.map +1 -0
- package/mjs/svg/sans-serif-italic.d.ts +2 -0
- package/mjs/svg/sans-serif-italic.js +85 -0
- package/mjs/svg/sans-serif-italic.js.map +1 -0
- package/mjs/svg/sans-serif.d.ts +2 -0
- package/mjs/svg/sans-serif.js +75 -0
- package/mjs/svg/sans-serif.js.map +1 -0
- package/mjs/svg/size3.d.ts +2 -0
- package/mjs/svg/size3.js +27 -0
- package/mjs/svg/size3.js.map +1 -0
- package/mjs/svg/size4.d.ts +2 -0
- package/mjs/svg/size4.js +56 -0
- package/mjs/svg/size4.js.map +1 -0
- package/mjs/svg/smallop.d.ts +2 -0
- package/mjs/svg/smallop.js +75 -0
- package/mjs/svg/smallop.js.map +1 -0
- package/mjs/svg/tex-calligraphic-bold.d.ts +2 -0
- package/mjs/svg/tex-calligraphic-bold.js +31 -0
- package/mjs/svg/tex-calligraphic-bold.js.map +1 -0
- package/mjs/svg/tex-calligraphic.d.ts +2 -0
- package/mjs/svg/tex-calligraphic.js +29 -0
- package/mjs/svg/tex-calligraphic.js.map +1 -0
- package/mjs/svg/tex-mathit.d.ts +2 -0
- package/mjs/svg/tex-mathit.js +55 -0
- package/mjs/svg/tex-mathit.js.map +1 -0
- package/mjs/svg/tex-oldstyle-bold.d.ts +2 -0
- package/mjs/svg/tex-oldstyle-bold.js +39 -0
- package/mjs/svg/tex-oldstyle-bold.js.map +1 -0
- package/mjs/svg/tex-oldstyle.d.ts +2 -0
- package/mjs/svg/tex-oldstyle.js +39 -0
- package/mjs/svg/tex-oldstyle.js.map +1 -0
- package/mjs/svg/tex-variant.d.ts +2 -0
- package/mjs/svg/tex-variant.js +41 -0
- package/mjs/svg/tex-variant.js.map +1 -0
- package/mjs/svg.d.ts +13 -0
- package/mjs/svg.js +80 -0
- package/mjs/svg.js.map +1 -0
- package/package.json +55 -19
- package/svg.js +1 -0
- package/tex-mml-chtml-mathjax-tex.js +1 -0
- package/tex-mml-svg-mathjax-tex.js +1 -0
- package/tsconfig/cjs.json +8 -0
- package/tsconfig/common.json +13 -0
- package/tsconfig/def.json +10 -0
- package/tsconfig/mjs.json +9 -0
- package/tsconfig.json +3 -0
- package/build/chtml/build.json +0 -8
- package/build/chtml/chtml.js +0 -22
- package/build/chtml/copy.json +0 -5
- package/build/chtml/lib/chtml.js +0 -18
- package/build/chtml/webpack.config.js +0 -11
- package/build/svg/build.json +0 -8
- package/build/svg/lib/svg.js +0 -18
- package/build/svg/svg.js +0 -18
- package/build/svg/webpack.config.js +0 -11
- package/build/tex-mml-chtml-mathjax-tex/tex-mml-chtml-mathjax-tex.js +0 -1
- package/build/tex-mml-chtml-mathjax-tex/webpack.config.js +0 -18
- package/build/tex-mml-svg-mathjax-tex/tex-mml-svg-mathjax-tex.js +0 -1
- package/build/tex-mml-svg-mathjax-tex/webpack.config.js +0 -18
- package/es5/chtml/woff/mjx-tex-so.woff +0 -0
- package/es5/chtml.js +0 -1
- package/es5/svg.js +0 -1
- package/es5/tex-mml-chtml-mathjax-tex.js +0 -1
- package/es5/tex-mml-svg-mathjax-tex.js +0 -1
- package/js/chtml/bold-italic.d.ts +0 -2
- package/js/chtml/bold-italic.js.map +0 -1
- package/js/chtml/bold.d.ts +0 -2
- package/js/chtml/bold.js.map +0 -1
- package/js/chtml/delimiters.d.ts +0 -2
- package/js/chtml/delimiters.js.map +0 -1
- package/js/chtml/fraktur-bold.d.ts +0 -2
- package/js/chtml/fraktur.d.ts +0 -2
- package/js/chtml/fraktur.js.map +0 -1
- package/js/chtml/italic.d.ts +0 -2
- package/js/chtml/largeop.d.ts +0 -2
- package/js/chtml/monospace.d.ts +0 -2
- package/js/chtml/normal.d.ts +0 -2
- package/js/chtml/normal.js +0 -1304
- package/js/chtml/normal.js.map +0 -1
- package/js/chtml/sans-serif-bold.d.ts +0 -2
- package/js/chtml/sans-serif-bold.js.map +0 -1
- package/js/chtml/sans-serif-italic.d.ts +0 -2
- package/js/chtml/sans-serif-italic.js.map +0 -1
- package/js/chtml/sans-serif.d.ts +0 -2
- package/js/chtml/sans-serif.js.map +0 -1
- package/js/chtml/size3.d.ts +0 -2
- package/js/chtml/size4.d.ts +0 -2
- package/js/chtml/smallop.d.ts +0 -2
- package/js/chtml/smallop.js.map +0 -1
- package/js/chtml/tex-calligraphic-bold.d.ts +0 -2
- package/js/chtml/tex-calligraphic-bold.js.map +0 -1
- package/js/chtml/tex-calligraphic.d.ts +0 -2
- package/js/chtml/tex-calligraphic.js +0 -32
- package/js/chtml/tex-calligraphic.js.map +0 -1
- package/js/chtml/tex-mathit.d.ts +0 -2
- package/js/chtml/tex-mathit.js +0 -58
- package/js/chtml/tex-mathit.js.map +0 -1
- package/js/chtml/tex-oldstyle-bold.d.ts +0 -2
- package/js/chtml/tex-oldstyle.d.ts +0 -2
- package/js/chtml/tex-oldstyle.js.map +0 -1
- package/js/chtml/tex-variant.d.ts +0 -2
- package/js/chtml/tex-variant.js.map +0 -1
- package/js/chtml.js.map +0 -1
- package/js/common.js.map +0 -1
- package/js/svg/bold-italic.d.ts +0 -2
- package/js/svg/bold-italic.js.map +0 -1
- package/js/svg/bold.d.ts +0 -2
- package/js/svg/bold.js.map +0 -1
- package/js/svg/delimiters.d.ts +0 -2
- package/js/svg/delimiters.js.map +0 -1
- package/js/svg/fraktur-bold.d.ts +0 -2
- package/js/svg/fraktur.d.ts +0 -2
- package/js/svg/fraktur.js.map +0 -1
- package/js/svg/italic.d.ts +0 -2
- package/js/svg/largeop.d.ts +0 -2
- package/js/svg/monospace.d.ts +0 -2
- package/js/svg/normal.d.ts +0 -2
- package/js/svg/normal.js.map +0 -1
- package/js/svg/sans-serif-bold.d.ts +0 -2
- package/js/svg/sans-serif-italic.d.ts +0 -2
- package/js/svg/sans-serif-italic.js.map +0 -1
- package/js/svg/sans-serif.d.ts +0 -2
- package/js/svg/sans-serif.js.map +0 -1
- package/js/svg/size3.d.ts +0 -2
- package/js/svg/size4.d.ts +0 -2
- package/js/svg/smallop.d.ts +0 -2
- package/js/svg/smallop.js.map +0 -1
- package/js/svg/tex-calligraphic-bold.d.ts +0 -2
- package/js/svg/tex-calligraphic-bold.js.map +0 -1
- package/js/svg/tex-calligraphic.d.ts +0 -2
- package/js/svg/tex-calligraphic.js.map +0 -1
- package/js/svg/tex-mathit.d.ts +0 -2
- package/js/svg/tex-mathit.js.map +0 -1
- package/js/svg/tex-oldstyle-bold.d.ts +0 -2
- package/js/svg/tex-oldstyle.d.ts +0 -2
- package/js/svg/tex-oldstyle.js.map +0 -1
- package/js/svg/tex-variant.d.ts +0 -2
- package/js/svg/tex-variant.js.map +0 -1
- package/js/svg.js.map +0 -1
- /package/{js → cjs}/chtml/default.d.ts +0 -0
- /package/{js → cjs}/chtml/default.js +0 -0
- /package/{js → cjs}/chtml/default.js.map +0 -0
- /package/{js → cjs}/chtml/fraktur-bold.js +0 -0
- /package/{js → cjs}/chtml/fraktur-bold.js.map +0 -0
- /package/{js → cjs}/chtml/largeop.js +0 -0
- /package/{js → cjs}/chtml/largeop.js.map +0 -0
- /package/{js → cjs}/chtml/monospace.js +0 -0
- /package/{js → cjs}/chtml/monospace.js.map +0 -0
- /package/{js → cjs}/chtml/size3.js +0 -0
- /package/{js → cjs}/chtml/size3.js.map +0 -0
- /package/{js → cjs}/chtml/tex-oldstyle-bold.js +0 -0
- /package/{js → cjs}/chtml/tex-oldstyle-bold.js.map +0 -0
- /package/{js → cjs}/svg/default.d.ts +0 -0
- /package/{js → cjs}/svg/default.js +0 -0
- /package/{js → cjs}/svg/default.js.map +0 -0
- /package/{js → cjs}/svg/fraktur-bold.js +0 -0
- /package/{js → cjs}/svg/fraktur-bold.js.map +0 -0
- /package/{js → cjs}/svg/largeop.js +0 -0
- /package/{js → cjs}/svg/largeop.js.map +0 -0
- /package/{js → cjs}/svg/monospace.js +0 -0
- /package/{js → cjs}/svg/monospace.js.map +0 -0
- /package/{js → cjs}/svg/size3.js +0 -0
- /package/{js → cjs}/svg/size3.js.map +0 -0
- /package/{js → cjs}/svg/tex-oldstyle-bold.js +0 -0
- /package/{js → cjs}/svg/tex-oldstyle-bold.js.map +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tex-variant.js","sourceRoot":"","sources":["../../ts/svg/tex-variant.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,kVAAkV,EAAC,CAAC;IAC9X,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAC,CAAC,EAAE,+lBAA+lB,EAAC,CAAC;IACjoB,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,0VAA0V,EAAC,CAAC;IAC7Y,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,EAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,ynBAAynB,EAAC,CAAC;IAClqB,K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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,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,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;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": "
|
4
|
-
"description": "MathJax-Tex font for MathJax
|
3
|
+
"version": "4.0.0-beta.3",
|
4
|
+
"description": "MathJax-Tex font for MathJax v4",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -13,26 +13,62 @@
|
|
13
13
|
"MathJax-Tex"
|
14
14
|
],
|
15
15
|
"files": [
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
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/* js
|
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
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
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",
|
36
72
|
"tables": "npm run -s table svg && npm run -s table chtml"
|
37
73
|
}
|
38
74
|
}
|