mathjax-bbm-font-extension 4.0.0-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/chtml/woff/mjx-mb-bb.woff +0 -0
- package/chtml/woff/mjx-mb-bm.woff +0 -0
- package/chtml/woff/mjx-mb-bn.woff +0 -0
- package/chtml/woff/mjx-mb-bss.woff +0 -0
- package/chtml/woff/mjx-mb-bssb.woff +0 -0
- package/chtml.js +1 -0
- package/cjs/chtml.d.ts +3 -0
- package/cjs/chtml.js +343 -0
- package/cjs/chtml.js.map +1 -0
- package/cjs/svg.d.ts +2 -0
- package/cjs/svg.js +332 -0
- package/cjs/svg.js.map +1 -0
- package/def/mathjax-bbm.ts +130 -0
- package/examples/chtml.html +121 -0
- package/examples/svg.html +122 -0
- package/mjs/chtml.d.ts +3 -0
- package/mjs/chtml.js +340 -0
- package/mjs/chtml.js.map +1 -0
- package/mjs/package.json +3 -0
- package/mjs/svg.d.ts +2 -0
- package/mjs/svg.js +329 -0
- package/mjs/svg.js.map +1 -0
- package/package.json +66 -0
- package/svg.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/cjs/svg.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svg.js","sourceRoot":"","sources":["../ts/svg.ts"],"names":[],"mappings":";;;AAGa,QAAA,uBAAuB,GAA2D;IAC7F,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,EAAC,KAAK,EAAE;YAChB,CAAC,aAAa,EAAE,QAAQ,CAAC;YACzB,CAAC,WAAW,EAAE,MAAM,CAAC;YACrB,CAAC,iBAAiB,EAAE,YAAY,CAAC;YACjC,CAAC,sBAAsB,EAAE,iBAAiB,CAAC;YAC3C,CAAC,gBAAgB,EAAE,WAAW,CAAC;SAChC,EAAC;IACF,UAAU,EAAE;QACR,aAAa,EAAE,eAAe;QAC9B,WAAW,EAAE,eAAe;QAC5B,iBAA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,EAAE,IAAI,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,qwBAAqwB,EAAC,CAAC;YACjzB,OAAO,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,0kBAA0kB,EAAC,CAAC;YAClnB,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,2eAA2e,EAAC,CAAC;YACphB,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,ozBAAozB,EAAC,CAAC;SAC91B;KACF;IACD,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAC;IACjC,eAAe,EAAE,EAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAC;CACrC,CAAC"}
|
@@ -0,0 +1,130 @@
|
|
1
|
+
import {CHARSET, CHARS} 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 {FontDef} from '@mathjax/font-tools/js/CommonFont';
|
6
|
+
import {SVGFont} from '@mathjax/font-tools/js/SVGFont';
|
7
|
+
import {CHTMLFont} from '@mathjax/font-tools/js/CHTMLFont';
|
8
|
+
import {Components} from '@mathjax/font-tools/js/Components';
|
9
|
+
import {FontData} from 'mathjax-full/cjs/output/common/FontData';
|
10
|
+
|
11
|
+
import {MathJaxModernFont as MathJaxModernSVGFont} from '@mathjax/fonts/mathjax-modern/cjs/svg.js';
|
12
|
+
import {MathJaxModernFont as MathJaxModernCHTMLFont} from '@mathjax/fonts/mathjax-modern/cjs/chtml.js';
|
13
|
+
|
14
|
+
/***********************************************************************************/
|
15
|
+
|
16
|
+
try {
|
17
|
+
|
18
|
+
Font.load({
|
19
|
+
'MB-bbm': ['fonts/bbm10.otf', {}],
|
20
|
+
'MB-bbmbx': ['fonts/bbmbx10.otf', {}],
|
21
|
+
'MB-bbmss': ['fonts/bbmss10.otf', {}],
|
22
|
+
'MB-bbmssbx': ['fonts/bbmssbx10.otf', {}],
|
23
|
+
'MB-bbmtt': ['fonts/bbmtt10.otf', {}],
|
24
|
+
});
|
25
|
+
|
26
|
+
/***********************************************************************************/
|
27
|
+
|
28
|
+
const MathJaxBbmVariants = Variants.define({
|
29
|
+
'-bbm-normal': ['MB-bbm', [
|
30
|
+
CHARS.MapFrom(0x41, CHARSET.MathDoubleStruckUC),
|
31
|
+
CHARS.MapFrom(0x61, CHARSET.MathDoubleStruckLC),
|
32
|
+
CHARS.MapFrom(0x31, CHARS.At(0x1D7D9, 0x1D7DA)),
|
33
|
+
CHARS.At(0x28, 0x29), // ( and )
|
34
|
+
CHARS.At(0x5B, 0x5D), // [ and ]
|
35
|
+
]],
|
36
|
+
'-bbm-bold': ['MB-bbmbx', [
|
37
|
+
CHARS.MapFrom(0x41, CHARSET.MathDoubleStruckUC),
|
38
|
+
CHARS.MapFrom(0x61, CHARSET.MathDoubleStruckLC),
|
39
|
+
CHARS.MapFrom(0x31, CHARS.At(0x1D7D9, 0x1D7DA)),
|
40
|
+
CHARS.At(0x28, 0x29), // ( and )
|
41
|
+
CHARS.At(0x5B, 0x5D), // [ and ]
|
42
|
+
]],
|
43
|
+
'-bbm-sans-serif': ['MB-bbmss', [
|
44
|
+
CHARS.MapFrom(0x41, CHARSET.MathDoubleStruckUC),
|
45
|
+
CHARS.MapFrom(0x61, CHARSET.MathDoubleStruckLC),
|
46
|
+
CHARS.MapFrom(0x31, CHARS.At(0x1D7D9, 0x1D7DA)),
|
47
|
+
CHARS.At(0x28, 0x29), // ( and )
|
48
|
+
CHARS.At(0x5B, 0x5D), // [ and ]
|
49
|
+
]],
|
50
|
+
'-bbm-sans-serif-bold': ['MB-bbmssbx', [
|
51
|
+
CHARS.MapFrom(0x41, CHARSET.MathDoubleStruckUC),
|
52
|
+
CHARS.MapFrom(0x61, CHARSET.MathDoubleStruckLC),
|
53
|
+
CHARS.MapFrom(0x31, CHARS.At(0x1D7D9, 0x1D7DA)),
|
54
|
+
CHARS.At(0x28, 0x29), // ( and )
|
55
|
+
CHARS.At(0x5B, 0x5D), // [ and ]
|
56
|
+
]],
|
57
|
+
'-bbm-monospace': ['MB-bbmtt', [
|
58
|
+
CHARS.MapFrom(0x41, CHARSET.MathDoubleStruckUC),
|
59
|
+
CHARS.MapFrom(0x61, CHARSET.MathDoubleStruckLC),
|
60
|
+
CHARS.MapFrom(0x31, CHARS.At(0x1D7D9, 0x1D7DA)),
|
61
|
+
CHARS.At(0x28, 0x29), // ( and )
|
62
|
+
CHARS.At(0x5B, 0x5D), // [ and ]
|
63
|
+
]],
|
64
|
+
});
|
65
|
+
|
66
|
+
/***********************************************************************************/
|
67
|
+
|
68
|
+
const MathJaxBbmDelimiters = {
|
69
|
+
font: 'MB-bbm',
|
70
|
+
variants: MathJaxBbmVariants,
|
71
|
+
sizeVariants: ['normal'],
|
72
|
+
stretchVariants: ['normal'],
|
73
|
+
readMathTable: false,
|
74
|
+
};
|
75
|
+
|
76
|
+
/***********************************************************************************/
|
77
|
+
|
78
|
+
const MathJaxBbmData: FontDef = {
|
79
|
+
name: 'MathJaxBbm',
|
80
|
+
prefix: 'MB',
|
81
|
+
variants: MathJaxBbmVariants,
|
82
|
+
delimiters: null,
|
83
|
+
variantFallbacks: {
|
84
|
+
'-bbm-normal': ['normal'],
|
85
|
+
'-bbm-bold': ['bold'],
|
86
|
+
'-bbm-sans-serif': ['sans-serif'],
|
87
|
+
'-bbm-sans-serif-bold': ['bold-sans-serif'],
|
88
|
+
'-bbm-monospace': ['monospace']
|
89
|
+
},
|
90
|
+
variantSmp: {
|
91
|
+
'-bbm-normal': 'double-struck',
|
92
|
+
'-bbm-bold': 'double-struck',
|
93
|
+
'-bbm-sans-serif': 'double-struck',
|
94
|
+
'-bbm-sans-serif-bold': 'double-struck',
|
95
|
+
'-bbm-monospace': 'double-struck'
|
96
|
+
}
|
97
|
+
};
|
98
|
+
|
99
|
+
const MathJaxBbmSVGData: FontDef = {
|
100
|
+
...MathJaxBbmData,
|
101
|
+
delimiters: Delimiters.define({
|
102
|
+
...MathJaxBbmDelimiters,
|
103
|
+
extends: {
|
104
|
+
fontClass: MathJaxModernSVGFont as typeof FontData,
|
105
|
+
path: '@mathjax/fonts/mathjax-modern/cjs/svg.js'
|
106
|
+
},
|
107
|
+
})
|
108
|
+
};
|
109
|
+
|
110
|
+
const MathJaxBbmCHTMLData: FontDef = {
|
111
|
+
...MathJaxBbmData,
|
112
|
+
delimiters: Delimiters.define({
|
113
|
+
...MathJaxBbmDelimiters,
|
114
|
+
extends: {
|
115
|
+
fontClass: MathJaxModernCHTMLFont as typeof FontData,
|
116
|
+
path: '@mathjax/fonts/mathjax-modern/cjs/chtml.js'
|
117
|
+
},
|
118
|
+
})
|
119
|
+
};
|
120
|
+
|
121
|
+
SVGFont.define(MathJaxBbmSVGData).writeExtension('mathjax-bbm');
|
122
|
+
Components.define('svg', MathJaxBbmSVGData).writeExtension();
|
123
|
+
|
124
|
+
CHTMLFont.define(MathJaxBbmCHTMLData).writeExtension('mathjax-bbm').makeWoffFonts('MB-bbm', false);
|
125
|
+
Components.define('chtml', MathJaxBbmCHTMLData).writeExtension();
|
126
|
+
|
127
|
+
} catch (err) {
|
128
|
+
console.log(err);
|
129
|
+
process.exit(1);
|
130
|
+
}
|
@@ -0,0 +1,121 @@
|
|
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-Bbm fonts</title>
|
9
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
10
|
+
<script>
|
11
|
+
MathJax = {
|
12
|
+
loader: {
|
13
|
+
load: ['[tex]/bbm'],
|
14
|
+
paths: {
|
15
|
+
mathjax: '../../node_modules/mathjax-full/bundle',
|
16
|
+
'mathjax-modern': '../../mathjax-modern',
|
17
|
+
'mathjax-bbm-extension': '..'
|
18
|
+
}
|
19
|
+
},
|
20
|
+
tex: {
|
21
|
+
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
22
|
+
packages: {'[+]': ['bbm']}
|
23
|
+
},
|
24
|
+
startup: {
|
25
|
+
ready() {
|
26
|
+
MathJax.startup.defaultReady();
|
27
|
+
document.getElementById('render').disabled = false;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
</script>
|
32
|
+
<script id="MathJax-script" async src="../../mathjax-modern/tex-mml-chtml-mathjax-modern.js"></script>
|
33
|
+
<script>
|
34
|
+
function convert() {
|
35
|
+
//
|
36
|
+
// Get the input (it is HTML containing delimited TeX math
|
37
|
+
// and/or MathML tags)
|
38
|
+
//
|
39
|
+
var input = document.getElementById("input").value.trim();
|
40
|
+
//
|
41
|
+
// Disable the render button until MathJax is done
|
42
|
+
//
|
43
|
+
var button = document.getElementById("render");
|
44
|
+
button.disabled = true;
|
45
|
+
//
|
46
|
+
// Clear the old output
|
47
|
+
//
|
48
|
+
output = document.getElementById('output');
|
49
|
+
output.innerHTML = input;
|
50
|
+
//
|
51
|
+
// Reset the tex labels (and automatic equation numbers, though there aren't any here).
|
52
|
+
// Reset the typesetting system (font caches, etc.)
|
53
|
+
// Typeset the page, using a promise to let us know when that is complete
|
54
|
+
//
|
55
|
+
MathJax.texReset();
|
56
|
+
MathJax.typesetClear();
|
57
|
+
MathJax.typesetPromise()
|
58
|
+
.catch(function (err) {
|
59
|
+
//
|
60
|
+
// If there was an internal error, put the message into the output instead
|
61
|
+
//
|
62
|
+
output.innerHTML = '';
|
63
|
+
output.appendChild(document.createElement('pre')).appendChild(document.createTextNode(err.message));
|
64
|
+
})
|
65
|
+
.then(function() {
|
66
|
+
//
|
67
|
+
// Error or not, re-enable the render button
|
68
|
+
//
|
69
|
+
button.disabled = false;
|
70
|
+
});
|
71
|
+
}
|
72
|
+
</script>
|
73
|
+
<style>
|
74
|
+
#frame {
|
75
|
+
max-width: 40em;
|
76
|
+
margin: auto;
|
77
|
+
}
|
78
|
+
#input {
|
79
|
+
border: 1px solid grey;
|
80
|
+
margin: 0 0 .25em;
|
81
|
+
width: 100%;
|
82
|
+
box-sizing: border-box;
|
83
|
+
}
|
84
|
+
#output {
|
85
|
+
margin-top: .75em;
|
86
|
+
border: 1px solid grey;
|
87
|
+
padding: .25em;
|
88
|
+
min-height: 2em;
|
89
|
+
font-size: 150%;
|
90
|
+
}
|
91
|
+
#output > pre {
|
92
|
+
margin-left: 5px;
|
93
|
+
}
|
94
|
+
.right {
|
95
|
+
float: right;
|
96
|
+
}
|
97
|
+
</style>
|
98
|
+
</head>
|
99
|
+
|
100
|
+
<body>
|
101
|
+
<div id="frame">
|
102
|
+
|
103
|
+
<h1>CHTML with MathJax-Bbm fonts</h1>
|
104
|
+
|
105
|
+
<textarea id="input" rows="15" cols="10">
|
106
|
+
<!-- Enter HTML containing TeX or MathML below -->
|
107
|
+
|
108
|
+
If $a \ne 0$, then $ax^2 + bx + c = 0$ has two solutions,
|
109
|
+
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
|
110
|
+
</textarea>
|
111
|
+
<br />
|
112
|
+
<div class="right">
|
113
|
+
<input type="button" value="Render HTML" id="render" onclick="convert()" disabled />
|
114
|
+
</div>
|
115
|
+
<br clear="all" />
|
116
|
+
<div id="output"></div>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
</body>
|
120
|
+
|
121
|
+
</html>
|
@@ -0,0 +1,122 @@
|
|
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>SVG output using MathJax-Bbm fonts</title>
|
9
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
10
|
+
<script>
|
11
|
+
MathJax = {
|
12
|
+
loader: {
|
13
|
+
load: ['[tex]/bbm'],
|
14
|
+
paths: {
|
15
|
+
mathjax: '../../node_modules/mathjax-full/bundle',
|
16
|
+
'mathjax-modern': '../../mathjax-modern',
|
17
|
+
'mathjax-bbm-extension': '..'
|
18
|
+
}
|
19
|
+
},
|
20
|
+
tex: {
|
21
|
+
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
22
|
+
packages: {'[+]': ['bbm']}
|
23
|
+
},
|
24
|
+
svg: {fontCache: 'global'},
|
25
|
+
startup: {
|
26
|
+
ready() {
|
27
|
+
MathJax.startup.defaultReady();
|
28
|
+
document.getElementById('render').disabled = false;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
</script>
|
33
|
+
<script id="MathJax-script" async src="../../mathjax-modern/tex-mml-svg-mathjax-modern.js"></script>
|
34
|
+
<script>
|
35
|
+
function convert() {
|
36
|
+
//
|
37
|
+
// Get the input (it is HTML containing delimited TeX math
|
38
|
+
// and/or MathML tags)
|
39
|
+
//
|
40
|
+
var input = document.getElementById("input").value.trim();
|
41
|
+
//
|
42
|
+
// Disable the render button until MathJax is done
|
43
|
+
//
|
44
|
+
var button = document.getElementById("render");
|
45
|
+
button.disabled = true;
|
46
|
+
//
|
47
|
+
// Clear the old output
|
48
|
+
//
|
49
|
+
output = document.getElementById('output');
|
50
|
+
output.innerHTML = input;
|
51
|
+
//
|
52
|
+
// Reset the tex labels (and automatic equation numbers, though there aren't any here).
|
53
|
+
// Reset the typesetting system (font caches, etc.)
|
54
|
+
// Typeset the page, using a promise to let us know when that is complete
|
55
|
+
//
|
56
|
+
MathJax.texReset();
|
57
|
+
MathJax.typesetClear();
|
58
|
+
MathJax.typesetPromise()
|
59
|
+
.catch(function (err) {
|
60
|
+
//
|
61
|
+
// If there was an internal error, put the message into the output instead
|
62
|
+
//
|
63
|
+
output.innerHTML = '';
|
64
|
+
output.appendChild(document.createElement('pre')).appendChild(document.createTextNode(err.message));
|
65
|
+
})
|
66
|
+
.then(function() {
|
67
|
+
//
|
68
|
+
// Error or not, re-enable the render button
|
69
|
+
//
|
70
|
+
button.disabled = false;
|
71
|
+
});
|
72
|
+
}
|
73
|
+
</script>
|
74
|
+
<style>
|
75
|
+
#frame {
|
76
|
+
max-width: 40em;
|
77
|
+
margin: auto;
|
78
|
+
}
|
79
|
+
#input {
|
80
|
+
border: 1px solid grey;
|
81
|
+
margin: 0 0 .25em;
|
82
|
+
width: 100%;
|
83
|
+
box-sizing: border-box;
|
84
|
+
}
|
85
|
+
#output {
|
86
|
+
margin-top: .75em;
|
87
|
+
border: 1px solid grey;
|
88
|
+
padding: .25em;
|
89
|
+
min-height: 2em;
|
90
|
+
font-size: 150%;
|
91
|
+
}
|
92
|
+
#output > pre {
|
93
|
+
margin-left: 5px;
|
94
|
+
}
|
95
|
+
.right {
|
96
|
+
float: right;
|
97
|
+
}
|
98
|
+
</style>
|
99
|
+
</head>
|
100
|
+
|
101
|
+
<body>
|
102
|
+
<div id="frame">
|
103
|
+
|
104
|
+
<h1>SVG with MathJax-Bbm fonts</h1>
|
105
|
+
|
106
|
+
<textarea id="input" rows="15" cols="10">
|
107
|
+
<!-- Enter HTML containing TeX or MathML below -->
|
108
|
+
|
109
|
+
If $a \ne 0$, then $ax^2 + bx + c = 0$ has two solutions,
|
110
|
+
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
|
111
|
+
</textarea>
|
112
|
+
<br />
|
113
|
+
<div class="right">
|
114
|
+
<input type="button" value="Render HTML" id="render" onclick="convert()" disabled />
|
115
|
+
</div>
|
116
|
+
<br clear="all" />
|
117
|
+
<div id="output"></div>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
</body>
|
121
|
+
|
122
|
+
</html>
|
package/mjs/chtml.d.ts
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
import { ChtmlFontExtensionData } from 'mathjax-full/mjs/output/chtml/FontData.js';
|
2
|
+
import { ChtmlCharOptions, ChtmlDelimiterData } from 'mathjax-full/mjs/output/chtml/FontData.js';
|
3
|
+
export declare const MathJaxBbmFontExtension: ChtmlFontExtensionData<ChtmlCharOptions, ChtmlDelimiterData>;
|