-
Notifications
You must be signed in to change notification settings - Fork 235
Expand file tree
/
Copy pathdependencies.js
More file actions
96 lines (92 loc) · 3.37 KB
/
dependencies.js
File metadata and controls
96 lines (92 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*************************************************************
*
* Copyright (c) 2019-2025 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const dependencies = {
'a11y/semantic-enrich': ['input/mml', 'a11y/sre'],
'a11y/speech': ['a11y/semantic-enrich'],
'a11y/complexity': ['a11y/semantic-enrich'],
'a11y/explorer': ['a11y/speech'],
'[mml]/mml3': ['input/mml'],
'[tex]/action': ['input/tex-base'],
'[tex]/ams': ['input/tex-base', '[tex]/newcommand'],
'[tex]/amscd': ['input/tex-base'],
'[tex]/autoload': ['input/tex-base', '[tex]/require'],
'[tex]/bbm': ['input/tex-base'],
'[tex]/bboldx': ['input/tex-base', '[tex]/textmacros'],
'[tex]/bbox': ['input/tex-base'],
'[tex]/begingroup': ['input/tex-base', '[tex]/newcommand'],
'[tex]/boldsymbol': ['input/tex-base'],
'[tex]/braket': ['input/tex-base'],
'[tex]/bussproofs': ['input/tex-base'],
'[tex]/cancel': ['input/tex-base', '[tex]/enclose'],
'[tex]/cases': ['[tex]/empheq'],
'[tex]/centernot': ['input/tex-base'],
'[tex]/color': ['input/tex-base'],
'[tex]/colortbl': ['input/tex-base', '[tex]/color'],
'[tex]/colorv2': ['input/tex-base'],
'[tex]/configmacros': ['input/tex-base', '[tex]/newcommand'],
'[tex]/dsfont': ['input/tex-base'],
'[tex]/empheq': ['input/tex-base', '[tex]/ams'],
'[tex]/enclose': ['input/tex-base'],
'[tex]/extpfeil': ['input/tex-base', '[tex]/newcommand', '[tex]/ams'],
'[tex]/gensymb': ['input/tex-base'],
'[tex]/html': ['input/tex-base'],
'[tex]/mathtools': ['input/tex-base', '[tex]/newcommand', '[tex]/ams', '[tex]/boldsymbol'],
'[tex]/mhchem': ['input/tex-base', '[tex]/ams'],
'[tex]/newcommand': ['input/tex-base'],
'[tex]/noerrors': ['input/tex-base'],
'[tex]/noundefined': ['input/tex-base'],
'[tex]/physics': ['input/tex-base'],
'[tex]/require': ['input/tex-base'],
'[tex]/setoptions': ['input/tex-base'],
'[tex]/tagformat': ['input/tex-base'],
'[tex]/texhtml': ['input/tex-base'],
'[tex]/textcomp': ['input/tex-base', '[tex]/textmacros'],
'[tex]/textmacros': ['input/tex-base'],
'[tex]/unicode': ['input/tex-base'],
'[tex]/units': ['input/tex-base'],
'[tex]/upgreek': ['input/tex-base'],
'[tex]/verb': ['input/tex-base'],
'ui/menu': ['a11y/sre'],
};
export const paths = {
tex: '[mathjax]/input/tex/extensions',
mml: '[mathjax]/input/mml/extensions',
sre: '[mathjax]/sre',
mathmaps: '[sre]/mathmaps',
};
export const provides = {
'startup': ['loader'],
'input/tex': [
'input/tex-base',
'[tex]/ams',
'[tex]/newcommand',
'[tex]/textmacros',
'[tex]/noundefined',
'[tex]/require',
'[tex]/autoload',
'[tex]/configmacros'
]
};
//
// Compatibility with v3.0 names for TeX extensions
//
export const compatibility = {
'[tex]/amsCd': '[tex]/amscd',
'[tex]/colorV2': '[tex]/colorv2',
'[tex]/configMacros': '[tex]/configmacros',
'[tex]/tagFormat': '[tex]/tagformat'
};