Skip to content

Commit 8a79a21

Browse files
committed
Fix examples
1 parent 4c657bf commit 8a79a21

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

web/webpack.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ need to adjust the locations in the :func:`require()` commands).
143143
require('mathjax-full/components/src/input/tex-base/tex-base.js');
144144
require('mathjax-full/components/src/input/tex/extensions/ams/ams.js');
145145
require('mathjax-full/components/src/input/tex/extensions/newcommand/newcommand.js');
146-
require('mathjax-full/components/src/input/tex/extensions/config_macros/configmacros.js');
146+
require('mathjax-full/components/src/input/tex/extensions/configmacros/configmacros.js');
147147
148148
require('mathjax-full/components/src/output/svg/svg.js');
149149
require('mathjax-full/components/src/output/svg/fonts/tex/tex.js');
@@ -226,7 +226,7 @@ should be able to use the command
226226

227227
.. code-block:: shell
228228
229-
../node_modules/mathjax-full/components/bin/makeAll
229+
node ../node_modules/mathjax-full/components/bin/makeAll
230230
231231
to process your custom build. You should end up with a file
232232
``custom-mathjax.min.js`` in the directory with the other files. If
@@ -258,7 +258,7 @@ defaults that can still be overridden in the page, use
258258
// Update the configuration to include any updated values
259259
//
260260
const {insert} = require('mathjax-full/js/util/Options.js');
261-
insert(MathJax.config, {tex: {packages: {'[+]': ['ams', 'newcommand', 'configmacros']}}});
261+
insert(MathJax.config, {tex: {packages: {'[+]': ['ams', 'newcommand', 'configmacros']}}}, false);
262262
MathJax.config = insert({
263263
// your default options here
264264
}, MathJax.config);
@@ -472,7 +472,7 @@ should be able to use the command
472472

473473
.. code-block:: shell
474474
475-
../node_modules/mathjax-full/components/bin/makeAll
475+
node ../node_modules/mathjax-full/components/bin/makeAll
476476
477477
to process your custom build. You should end up with a file
478478
``mml.min.js`` in the directory with the other files. If
@@ -704,7 +704,7 @@ Once these two files are ready, you should be able to use the command
704704

705705
.. code-block:: shell
706706
707-
../node_modules/mathjax-full/components/bin/makeAll
707+
node ../node_modules/mathjax-full/components/bin/makeAll
708708
709709
to process your custom build. You should end up with a file
710710
``mathjax-speech.min.js`` in the directory with the other files. it

0 commit comments

Comments
 (0)