You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository](https://github.com/mathjax/MathJax-demos-node) for more details.
145
164
146
165
## Reducing the Size of the Components Directory
147
166
@@ -152,11 +171,22 @@ example, if you are using the `tex-chtml.js` component, then you can
152
171
remove the `tex-mml-chtml.js`, `tex-svg.js`, `tex-mml-svg.js`,
153
172
`tex-chtml-full.js`, and `tex-svg-full.js` configurations, which will
154
173
save considerable space. Indeed, you should be able to remove
155
-
everything other than `tex-chtml.js`, and the `input/tex/extensions`, `output/chtml/fonts/woff-v2`, `adaptors`, `a11y`, and `sre` directories. If you are using the results only on the web, you can remove `adaptors` as well.
174
+
everything other than `tex-chtml.js`, and the `input/tex/extensions`,
175
+
`output/chtml/fonts/woff-v2`, `adaptors`, `a11y`, and `sre`
176
+
directories. If you are using the results only on the web, you can
177
+
remove `adaptors` as well.
156
178
157
-
If you are not using A11Y support (e.g., speech generation, or semantic enrichment), then you can remove `a11y` and `sre` as well (though in this case you may need to disable the assistive tools in the MathJax contextual menu in order to avoid MathJax trying to load them when they aren't there).
179
+
If you are not using A11Y support (e.g., speech generation, or
180
+
semantic enrichment), then you can remove `a11y` and `sre` as well
181
+
(though in this case you may need to disable the assistive tools in
182
+
the MathJax contextual menu in order to avoid MathJax trying to load
183
+
them when they aren't there).
158
184
159
-
If you are using SVG rather than CommonHTML output (e.g., `tex-svg.js` rather than `tex-chtml.js`), you can remove the `output/chtml/fonts/woff-v2` directory. If you are using MathML input rather than TeX (e.g., `mml-chtml.js` rather than `tex-chtml.js`), then you can remove `input/tex/extensions` as well.
185
+
If you are using SVG rather than CommonHTML output (e.g., `tex-svg.js`
186
+
rather than `tex-chtml.js`), you can remove the
187
+
`output/chtml/fonts/woff-v2` directory. If you are using MathML input
188
+
rather than TeX (e.g., `mml-chtml.js` rather than `tex-chtml.js`),
189
+
then you can remove `input/tex/extensions` as well.
160
190
161
191
162
192
## The Component Files and Pull Requests
@@ -165,7 +195,9 @@ The `es5` directory is generated automatically from the contents of the
165
195
MathJax source repository. You can rebuild the components using the
166
196
command
167
197
168
-
npm run make-es5 --silent
198
+
```bash
199
+
npm run make-es5 --silent
200
+
```
169
201
170
202
Note that since the contents of this repository are generated
171
203
automatically, you should not submit pull requests that modify the
0 commit comments