diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml
index 28ac2fe..461bd88 100644
--- a/exampleSite/hugo.toml
+++ b/exampleSite/hugo.toml
@@ -37,7 +37,7 @@ pygmentsCodeFences = true
#utterancesIssueTerm = "pathname"
#homepageLength = 10
#commentAutoload = true #This mean reader don't need click, disqus comment autoload
- #mathjax = true #Enable display of mathematics using mathjax (LaTeX syntax)
+ mathjax = true #Enable display of mathematics using mathjax (LaTeX syntax)
#katex = true #Enable display of mathematics using katex (Faster LaTeX rendering)
#google_fonts = ["Staatliches"] # Adds additional google fonts
#disableDarkModeCSS = false # disables css style for users using dark-mode
diff --git a/layouts/partials/header_includes.html b/layouts/partials/header_includes.html
index d3a5339..66fe541 100644
--- a/layouts/partials/header_includes.html
+++ b/layouts/partials/header_includes.html
@@ -3,8 +3,8 @@
{{ end }}
{{- if .Site.Params.mathjax }}
-
-
+
+
{{- end }}
diff --git a/static/js/mathjax/mathjax-config.js b/static/js/mathjax-config.js
similarity index 100%
rename from static/js/mathjax/mathjax-config.js
rename to static/js/mathjax-config.js
diff --git a/static/js/mathjax/a11y/assistive-mml/assistive-mml.js b/static/js/mathjax/a11y/assistive-mml/assistive-mml.js
deleted file mode 100644
index 745e65a..0000000
--- a/static/js/mathjax/a11y/assistive-mml/assistive-mml.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import './lib/assistive-mml.js';
-
-import {AssistiveMmlHandler} from '../../../../js/a11y/assistive-mml.js';
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => AssistiveMmlHandler(handler));
-}
diff --git a/static/js/mathjax/a11y/assistive-mml/build.json b/static/js/mathjax/a11y/assistive-mml/build.json
deleted file mode 100644
index c7ac2bd..0000000
--- a/static/js/mathjax/a11y/assistive-mml/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "a11y/assistive-mml",
- "targets": ["a11y/assistive-mml.ts"]
-}
-
diff --git a/static/js/mathjax/a11y/assistive-mml/webpack.config.js b/static/js/mathjax/a11y/assistive-mml/webpack.config.js
deleted file mode 100644
index b89b94d..0000000
--- a/static/js/mathjax/a11y/assistive-mml/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'a11y/assistive-mml', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/mml/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/a11y/complexity/build.json b/static/js/mathjax/a11y/complexity/build.json
deleted file mode 100644
index c26a9b7..0000000
--- a/static/js/mathjax/a11y/complexity/build.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "component": "a11y/complexity",
- "targets": [
- "a11y/complexity.ts",
- "a11y/complexity",
- "a11y/semantic-enrich.ts"
- ]
-}
diff --git a/static/js/mathjax/a11y/complexity/complexity.js b/static/js/mathjax/a11y/complexity/complexity.js
deleted file mode 100644
index 1fbc931..0000000
--- a/static/js/mathjax/a11y/complexity/complexity.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import './lib/complexity.js';
-
-import {combineDefaults} from '../../../../js/components/global.js';
-import {ComplexityHandler} from '../../../../js/a11y/complexity.js';
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => ComplexityHandler(handler));
- combineDefaults(MathJax.config, 'options', MathJax.config['a11y/complexity'] || {});
-}
diff --git a/static/js/mathjax/a11y/complexity/webpack.config.js b/static/js/mathjax/a11y/complexity/webpack.config.js
deleted file mode 100644
index c049f6d..0000000
--- a/static/js/mathjax/a11y/complexity/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'a11y/complexity', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/a11y/semantic-enrich/lib',
- 'components/src/input/mml/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/a11y/explorer/build.json b/static/js/mathjax/a11y/explorer/build.json
deleted file mode 100644
index 9ebcdc5..0000000
--- a/static/js/mathjax/a11y/explorer/build.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "component": "a11y/explorer",
- "targets": ["a11y/explorer.ts", "a11y/explorer"]
-}
diff --git a/static/js/mathjax/a11y/explorer/explorer.js b/static/js/mathjax/a11y/explorer/explorer.js
deleted file mode 100644
index 25a6f7b..0000000
--- a/static/js/mathjax/a11y/explorer/explorer.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import './lib/explorer.js';
-
-import {combineDefaults} from '../../../../js/components/global.js';
-import {ExplorerHandler} from '../../../../js/a11y/explorer.js';
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => ExplorerHandler(handler));
-}
diff --git a/static/js/mathjax/a11y/explorer/webpack.config.js b/static/js/mathjax/a11y/explorer/webpack.config.js
deleted file mode 100644
index b44c45e..0000000
--- a/static/js/mathjax/a11y/explorer/webpack.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'a11y/explorer', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/ui/menu/lib',
- 'components/src/a11y/semantic-enrich/lib',
- 'components/src/a11y/sre/lib',
- 'components/src/input/mml/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/a11y/semantic-enrich/build.json b/static/js/mathjax/a11y/semantic-enrich/build.json
deleted file mode 100644
index c6f85ea..0000000
--- a/static/js/mathjax/a11y/semantic-enrich/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "a11y/semantic-enrich",
- "targets": ["a11y/semantic-enrich.ts"]
-}
-
diff --git a/static/js/mathjax/a11y/semantic-enrich/semantic-enrich.js b/static/js/mathjax/a11y/semantic-enrich/semantic-enrich.js
deleted file mode 100644
index 2491174..0000000
--- a/static/js/mathjax/a11y/semantic-enrich/semantic-enrich.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import './lib/semantic-enrich.js';
-
-import {combineDefaults} from '../../../../js/components/global.js';
-import Sre from '../../../../js/a11y/sre.js';
-import {EnrichHandler} from '../../../../js/a11y/semantic-enrich.js';
-import {MathML} from '../../../../js/input/mathml.js';
-
-if (MathJax.loader) {
- combineDefaults(MathJax.config.loader, 'a11y/semantic-enrich', {checkReady: () => Sre.sreReady()});
-}
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => EnrichHandler(handler, new MathML()));
-}
diff --git a/static/js/mathjax/a11y/semantic-enrich/webpack.config.js b/static/js/mathjax/a11y/semantic-enrich/webpack.config.js
deleted file mode 100644
index 8de3e02..0000000
--- a/static/js/mathjax/a11y/semantic-enrich/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'a11y/semantic-enrich', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/mml/lib',
- 'components/src/core/lib',
- 'components/src/a11y/sre/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/a11y/sre/build.json b/static/js/mathjax/a11y/sre/build.json
deleted file mode 100644
index fe6b7dd..0000000
--- a/static/js/mathjax/a11y/sre/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "a11y/sre",
- "targets": ["a11y/sre.ts"]
-}
-
diff --git a/static/js/mathjax/a11y/sre/sre.js b/static/js/mathjax/a11y/sre/sre.js
deleted file mode 100644
index 0327644..0000000
--- a/static/js/mathjax/a11y/sre/sre.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import './lib/sre.js';
-import './sre_config.js';
-import Sre from '../../../../js/a11y/sre.js';
-
-if (MathJax.startup) {
- ((typeof window !== 'undefined') ? window : global).
- SREfeature.custom = (loc) => Sre.preloadLocales(loc);
-}
-
diff --git a/static/js/mathjax/a11y/sre/sre_config.js b/static/js/mathjax/a11y/sre/sre_config.js
deleted file mode 100644
index 0dd3ae3..0000000
--- a/static/js/mathjax/a11y/sre/sre_config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import {combineDefaults} from '../../../../js/components/global.js';
-import {Package} from '../../../../js/components/package.js';
-
-// This sets up the correct link to the mathmaps files.
-if (MathJax.startup) {
-
- let path = Package.resolvePath('[sre]', false);
-
- if (typeof window !== 'undefined') {
- window.SREfeature = {json: path};
- } else {
- // In Node get the absolute path to the mathmaps directory.
- try {
- path = MathJax.config.loader.require.resolve(
- path + '/base.json').replace(/\/base\.json$/, '');
- } catch(_err) { }
- global.SREfeature = {json: path};
- }
-}
diff --git a/static/js/mathjax/a11y/sre/webpack.config.js b/static/js/mathjax/a11y/sre/webpack.config.js
deleted file mode 100644
index c89adb4..0000000
--- a/static/js/mathjax/a11y/sre/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'a11y/sre', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/mml/lib',
- 'components/src/core/lib',
- 'components/src/startup/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/adaptors/liteDOM/build.json b/static/js/mathjax/adaptors/liteDOM/build.json
deleted file mode 100644
index 334f3f0..0000000
--- a/static/js/mathjax/adaptors/liteDOM/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "adaptors/liteDOM",
- "targets": ["adaptors/liteAdaptor.ts", "adaptors/lite"]
-}
-
diff --git a/static/js/mathjax/adaptors/liteDOM/liteDOM.js b/static/js/mathjax/adaptors/liteDOM/liteDOM.js
deleted file mode 100644
index d4b959b..0000000
--- a/static/js/mathjax/adaptors/liteDOM/liteDOM.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import './lib/liteDOM.js';
-
-import {liteAdaptor} from '../../../../js/adaptors/liteAdaptor.js';
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('liteAdaptor', liteAdaptor);
- MathJax.startup.useAdaptor('liteAdaptor', true);
-}
diff --git a/static/js/mathjax/adaptors/liteDOM/webpack.config.js b/static/js/mathjax/adaptors/liteDOM/webpack.config.js
deleted file mode 100644
index 6c29ad8..0000000
--- a/static/js/mathjax/adaptors/liteDOM/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'adaptors/liteDOM', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/core/build.json b/static/js/mathjax/core/build.json
deleted file mode 100644
index b9bbdb7..0000000
--- a/static/js/mathjax/core/build.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "component": "core",
-
- "targets": [
- "mathjax.ts",
- "core", "util", "handlers",
- "adaptors/HTMLAdaptor.ts",
- "adaptors/browserAdaptor.ts",
- "components/global.ts"
- ],
-
- "exclude": [
- "core/MmlTree/JsonMmlVisitor.ts",
- "core/MmlTree/LegacyMmlVisitor.ts",
- "core/MmlTree/TestMmlVisitor.ts",
- "util/asyncLoad",
- "util/entities"
- ]
-}
-
diff --git a/static/js/mathjax/core/core.js b/static/js/mathjax/core/core.js
deleted file mode 100644
index 059580e..0000000
--- a/static/js/mathjax/core/core.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import './lib/core.js';
-
-import {HTMLHandler} from '../../../js/handlers/html/HTMLHandler.js';
-import {browserAdaptor} from '../../../js/adaptors/browserAdaptor.js';
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('HTMLHandler', HTMLHandler);
- MathJax.startup.registerConstructor('browserAdaptor', browserAdaptor);
- MathJax.startup.useHandler('HTMLHandler');
- MathJax.startup.useAdaptor('browserAdaptor');
-}
-if (MathJax.loader) {
- MathJax._.mathjax.mathjax.asyncLoad = (name => MathJax.loader.load(name));
-}
diff --git a/static/js/mathjax/core/webpack.config.js b/static/js/mathjax/core/webpack.config.js
deleted file mode 100644
index c523252..0000000
--- a/static/js/mathjax/core/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'core', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/dependencies.js b/static/js/mathjax/dependencies.js
deleted file mode 100644
index 6a33e9e..0000000
--- a/static/js/mathjax/dependencies.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/*************************************************************
- *
- * Copyright (c) 2019-2021 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/complexity': ['a11y/semantic-enrich'],
- 'a11y/explorer': ['a11y/semantic-enrich', 'ui/menu'],
- '[mml]/mml3': ['input/mml'],
- '[tex]/all-packages': ['input/tex-base'],
- '[tex]/action': ['input/tex-base', '[tex]/newcommand'],
- '[tex]/autoload': ['input/tex-base', '[tex]/require'],
- '[tex]/ams': ['input/tex-base'],
- '[tex]/amscd': ['input/tex-base'],
- '[tex]/bbox': ['input/tex-base', '[tex]/ams', '[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]/centernot': ['input/tex-base'],
- '[tex]/color': ['input/tex-base'],
- '[tex]/colorv2': ['input/tex-base'],
- '[tex]/colortbl': ['input/tex-base', '[tex]/color'],
- '[tex]/configmacros': ['input/tex-base', '[tex]/newcommand'],
- '[tex]/enclose': ['input/tex-base'],
- '[tex]/extpfeil': ['input/tex-base', '[tex]/newcommand', '[tex]/ams'],
- '[tex]/html': ['input/tex-base'],
- '[tex]/mathtools': ['input/tex-base', '[tex]/newcommand', '[tex]/ams'],
- '[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]/textcomp': ['input/tex-base', '[tex]/textmacros'],
- '[tex]/textmacros': ['input/tex-base'],
- '[tex]/unicode': ['input/tex-base'],
- '[tex]/verb': ['input/tex-base'],
- '[tex]/cases': ['[tex]/empheq'],
- '[tex]/empheq': ['input/tex-base', '[tex]/ams']
-};
-
-export const paths = {
- tex: '[mathjax]/input/tex/extensions',
- mml: '[mathjax]/input/mml/extensions',
- sre: '[mathjax]/sre/mathmaps'
-};
-
-const allPackages = Array.from(Object.keys(dependencies))
- .filter(name => name.substr(0,5) === '[tex]' &&
- name !== '[tex]/autoload' &&
- name !== '[tex]/colorv2' &&
- name !== '[tex]/all-packages');
-
-export const provides = {
- 'startup': ['loader'],
- 'input/tex': [
- 'input/tex-base',
- '[tex]/ams',
- '[tex]/newcommand',
- '[tex]/noundefined',
- '[tex]/require',
- '[tex]/autoload',
- '[tex]/configmacros'
- ],
- 'input/tex-full': [
- 'input/tex-base',
- '[tex]/all-packages',
- ...allPackages
- ],
- '[tex]/all-packages': allPackages
-};
-
-//
-// 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'
-};
diff --git a/static/js/mathjax/input/asciimath/asciimath.js b/static/js/mathjax/input/asciimath/asciimath.js
deleted file mode 100644
index a2b5137..0000000
--- a/static/js/mathjax/input/asciimath/asciimath.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import './lib/asciimath.js';
-
-import {AsciiMath} from '../../../../js/input/asciimath.js';
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('asciimath', AsciiMath);
- MathJax.startup.useInput('asciimath');
-}
diff --git a/static/js/mathjax/input/asciimath/build.json b/static/js/mathjax/input/asciimath/build.json
deleted file mode 100644
index 4fca2b3..0000000
--- a/static/js/mathjax/input/asciimath/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "input/asciimath",
- "targets": ["input/asciimath.ts", "input/asciimath"],
- "excludeSubdirs": "true"
-}
diff --git a/static/js/mathjax/input/asciimath/webpack.config.js b/static/js/mathjax/input/asciimath/webpack.config.js
deleted file mode 100644
index 7f98508..0000000
--- a/static/js/mathjax/input/asciimath/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/asciimath', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/mml/build.json b/static/js/mathjax/input/mml/build.json
deleted file mode 100644
index d4864a0..0000000
--- a/static/js/mathjax/input/mml/build.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "component": "input/mml",
- "targets": [
- "input/mathml.ts",
- "input/mathml"
- ],
- "excludeSubdirs": "true"
-}
diff --git a/static/js/mathjax/input/mml/entities/entities.js b/static/js/mathjax/input/mml/entities/entities.js
deleted file mode 100644
index b02b6e5..0000000
--- a/static/js/mathjax/input/mml/entities/entities.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import '../../../../../js/util/entities/all.js';
-
diff --git a/static/js/mathjax/input/mml/entities/webpack.config.js b/static/js/mathjax/input/mml/entities/webpack.config.js
deleted file mode 100644
index 2386e2b..0000000
--- a/static/js/mathjax/input/mml/entities/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/mml/entities', // the package to build
- '../../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/mml/extensions/mml3/build.json b/static/js/mathjax/input/mml/extensions/mml3/build.json
deleted file mode 100644
index 6ae79ed..0000000
--- a/static/js/mathjax/input/mml/extensions/mml3/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[mml]/mml3",
- "component": "input/mml/extensions/mml3",
- "targets": ["input/mathml/mml3"]
-}
diff --git a/static/js/mathjax/input/mml/extensions/mml3/copy.json b/static/js/mathjax/input/mml/extensions/mml3/copy.json
deleted file mode 100644
index aa791ea..0000000
--- a/static/js/mathjax/input/mml/extensions/mml3/copy.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "to": "../../../../../../es5/input/mml/extensions",
- "from": "../../../../../../ts/input/mathml/mml3",
- "copy": [
- "mml3.sef.json"
- ]
-}
diff --git a/static/js/mathjax/input/mml/extensions/mml3/mml3.js b/static/js/mathjax/input/mml/extensions/mml3/mml3.js
deleted file mode 100644
index 72ecdf1..0000000
--- a/static/js/mathjax/input/mml/extensions/mml3/mml3.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import './lib/mml3.js';
-
-import {Mml3Handler} from '../../../../../../js/input/mathml/mml3/mml3.js';
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => Mml3Handler(handler));
-}
diff --git a/static/js/mathjax/input/mml/extensions/mml3/webpack.config.js b/static/js/mathjax/input/mml/extensions/mml3/webpack.config.js
deleted file mode 100644
index b09f30c..0000000
--- a/static/js/mathjax/input/mml/extensions/mml3/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/mml/extensions/mml3', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/mml/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/mml/mml.js b/static/js/mathjax/input/mml/mml.js
deleted file mode 100644
index 7e81b27..0000000
--- a/static/js/mathjax/input/mml/mml.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import './lib/mml.js';
-
-import {MathML} from '../../../../js/input/mathml.js';
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('mml', MathML);
- MathJax.startup.useInput('mml');
-}
-if (MathJax.loader) {
- //
- // Install a path-filter to cause loading of an entity file to load all entities,
- // since the individual files don't have individual components.
- //
- MathJax.loader.pathFilters.add((data) => {
- data.name = data.name.replace(/\/util\/entities\/.*?\.js/, '/input/mml/entities.js');
- return true;
- });
-}
diff --git a/static/js/mathjax/input/mml/webpack.config.js b/static/js/mathjax/input/mml/webpack.config.js
deleted file mode 100644
index 301b5f8..0000000
--- a/static/js/mathjax/input/mml/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/mml', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex-base/build.json b/static/js/mathjax/input/tex-base/build.json
deleted file mode 100644
index 5e55e12..0000000
--- a/static/js/mathjax/input/tex-base/build.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "component": "input/tex-base",
- "targets": [
- "input/tex.ts",
- "input/tex",
- "input/tex/base"
- ],
- "exclude": ["input/tex/AllPackages.ts"],
- "excludeSubdirs": "true"
-}
diff --git a/static/js/mathjax/input/tex-base/tex-base.js b/static/js/mathjax/input/tex-base/tex-base.js
deleted file mode 100644
index e3571c3..0000000
--- a/static/js/mathjax/input/tex-base/tex-base.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import './lib/tex-base.js';
-
-import {registerTeX} from '../tex/register.js';
-
-registerTeX(['base']);
-
diff --git a/static/js/mathjax/input/tex-base/webpack.config.js b/static/js/mathjax/input/tex-base/webpack.config.js
deleted file mode 100644
index df380e7..0000000
--- a/static/js/mathjax/input/tex-base/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex-base', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex-full/build.json b/static/js/mathjax/input/tex-full/build.json
deleted file mode 100644
index a245332..0000000
--- a/static/js/mathjax/input/tex-full/build.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "component": "input/tex-full",
- "targets": [
- "input/tex.ts",
- "input/tex"
- ]
-}
-
diff --git a/static/js/mathjax/input/tex-full/tex-full.js b/static/js/mathjax/input/tex-full/tex-full.js
deleted file mode 100644
index af10939..0000000
--- a/static/js/mathjax/input/tex-full/tex-full.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import './lib/tex-full.js';
-import '../tex/extensions/all-packages/all-packages.js';
-import {registerTeX} from '../tex/register.js';
-
-if (MathJax.loader) {
- MathJax.loader.preLoad(
- 'input/tex-base',
- '[tex]/all-packages'
- );
-}
-
-registerTeX();
diff --git a/static/js/mathjax/input/tex-full/webpack.config.js b/static/js/mathjax/input/tex-full/webpack.config.js
deleted file mode 100644
index 6c65c1a..0000000
--- a/static/js/mathjax/input/tex-full/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex-full', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/startup/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/build.json b/static/js/mathjax/input/tex/build.json
deleted file mode 100644
index 1c7005b..0000000
--- a/static/js/mathjax/input/tex/build.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "component": "input/tex",
- "targets": [
- "input/tex.ts",
- "input/tex",
- "input/tex/base",
- "input/tex/ams",
- "input/tex/newcommand",
- "input/tex/noundefined",
- "input/tex/require",
- "input/tex/autoload",
- "input/tex/configmacros"
- ],
- "exclude": ["input/tex/AllPackages.ts"],
- "excludeSubdirs": "true"
-}
diff --git a/static/js/mathjax/input/tex/extensions/action/action.js b/static/js/mathjax/input/tex/extensions/action/action.js
deleted file mode 100644
index f858265..0000000
--- a/static/js/mathjax/input/tex/extensions/action/action.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/action.js';
diff --git a/static/js/mathjax/input/tex/extensions/action/build.json b/static/js/mathjax/input/tex/extensions/action/build.json
deleted file mode 100644
index a0b6af6..0000000
--- a/static/js/mathjax/input/tex/extensions/action/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/action",
- "component": "input/tex/extensions/action",
- "targets": ["input/tex/action"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/action/webpack.config.js b/static/js/mathjax/input/tex/extensions/action/webpack.config.js
deleted file mode 100644
index 4375ae5..0000000
--- a/static/js/mathjax/input/tex/extensions/action/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/action', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/all-packages/all-packages.js b/static/js/mathjax/input/tex/extensions/all-packages/all-packages.js
deleted file mode 100644
index 982db5c..0000000
--- a/static/js/mathjax/input/tex/extensions/all-packages/all-packages.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import './lib/all-packages.js';
-
-import {AllPackages} from '../../../../../../js/input/tex/AllPackages.js';
-import '../../../../../../js/input/tex/autoload/AutoloadConfiguration.js';
-import '../../../../../../js/input/tex/require/RequireConfiguration.js';
-import {registerTeX} from '../../register.js';
-
-if (MathJax.loader) {
- MathJax.loader.preLoad('[tex]/autoload', '[tex]/require');
-}
-
-registerTeX(['require', ...AllPackages], false);
diff --git a/static/js/mathjax/input/tex/extensions/all-packages/build.json b/static/js/mathjax/input/tex/extensions/all-packages/build.json
deleted file mode 100644
index 216671f..0000000
--- a/static/js/mathjax/input/tex/extensions/all-packages/build.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id": "[tex]/all-packages",
- "component": "input/tex/extensions/all-packages",
- "targets": [
- "input/tex/AllPackages.ts",
- "input/tex/autoload",
- "input/tex/require"
- ]
-}
-
diff --git a/static/js/mathjax/input/tex/extensions/all-packages/webpack.config.js b/static/js/mathjax/input/tex/extensions/all-packages/webpack.config.js
deleted file mode 100644
index bdb8424..0000000
--- a/static/js/mathjax/input/tex/extensions/all-packages/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/all-packages',// the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/startup/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/ams/ams.js b/static/js/mathjax/input/tex/extensions/ams/ams.js
deleted file mode 100644
index d5ea9f2..0000000
--- a/static/js/mathjax/input/tex/extensions/ams/ams.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/ams.js';
diff --git a/static/js/mathjax/input/tex/extensions/ams/build.json b/static/js/mathjax/input/tex/extensions/ams/build.json
deleted file mode 100644
index 865acc3..0000000
--- a/static/js/mathjax/input/tex/extensions/ams/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/ams",
- "component": "input/tex/extensions/ams",
- "targets": ["input/tex/ams"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/ams/webpack.config.js b/static/js/mathjax/input/tex/extensions/ams/webpack.config.js
deleted file mode 100644
index 1bff208..0000000
--- a/static/js/mathjax/input/tex/extensions/ams/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/ams', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/amscd/amscd.js b/static/js/mathjax/input/tex/extensions/amscd/amscd.js
deleted file mode 100644
index 7518b2c..0000000
--- a/static/js/mathjax/input/tex/extensions/amscd/amscd.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/amscd.js';
diff --git a/static/js/mathjax/input/tex/extensions/amscd/build.json b/static/js/mathjax/input/tex/extensions/amscd/build.json
deleted file mode 100644
index 6c3fc87..0000000
--- a/static/js/mathjax/input/tex/extensions/amscd/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/amscd",
- "component": "input/tex/extensions/amscd",
- "targets": ["input/tex/amscd"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/amscd/webpack.config.js b/static/js/mathjax/input/tex/extensions/amscd/webpack.config.js
deleted file mode 100644
index c4fa762..0000000
--- a/static/js/mathjax/input/tex/extensions/amscd/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/amscd', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/autoload/autoload.js b/static/js/mathjax/input/tex/extensions/autoload/autoload.js
deleted file mode 100644
index a6cd341..0000000
--- a/static/js/mathjax/input/tex/extensions/autoload/autoload.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/autoload.js';
diff --git a/static/js/mathjax/input/tex/extensions/autoload/build.json b/static/js/mathjax/input/tex/extensions/autoload/build.json
deleted file mode 100644
index d4f9b89..0000000
--- a/static/js/mathjax/input/tex/extensions/autoload/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/autoload",
- "component": "input/tex/extensions/autoload",
- "targets": ["input/tex/autoload"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/autoload/webpack.config.js b/static/js/mathjax/input/tex/extensions/autoload/webpack.config.js
deleted file mode 100644
index 353163d..0000000
--- a/static/js/mathjax/input/tex/extensions/autoload/webpack.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/autoload', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/require/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/startup/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/bbox/bbox.js b/static/js/mathjax/input/tex/extensions/bbox/bbox.js
deleted file mode 100644
index 16c7d93..0000000
--- a/static/js/mathjax/input/tex/extensions/bbox/bbox.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/bbox.js';
diff --git a/static/js/mathjax/input/tex/extensions/bbox/build.json b/static/js/mathjax/input/tex/extensions/bbox/build.json
deleted file mode 100644
index c509185..0000000
--- a/static/js/mathjax/input/tex/extensions/bbox/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/bbox",
- "component": "input/tex/extensions/bbox",
- "targets": ["input/tex/bbox"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/bbox/webpack.config.js b/static/js/mathjax/input/tex/extensions/bbox/webpack.config.js
deleted file mode 100644
index 26cf2d1..0000000
--- a/static/js/mathjax/input/tex/extensions/bbox/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/bbox', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/boldsymbol/boldsymbol.js b/static/js/mathjax/input/tex/extensions/boldsymbol/boldsymbol.js
deleted file mode 100644
index d30a50e..0000000
--- a/static/js/mathjax/input/tex/extensions/boldsymbol/boldsymbol.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/boldsymbol.js';
diff --git a/static/js/mathjax/input/tex/extensions/boldsymbol/build.json b/static/js/mathjax/input/tex/extensions/boldsymbol/build.json
deleted file mode 100644
index 3d59f0c..0000000
--- a/static/js/mathjax/input/tex/extensions/boldsymbol/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/boldsymbol",
- "component": "input/tex/extensions/boldsymbol",
- "targets": ["input/tex/boldsymbol"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/boldsymbol/webpack.config.js b/static/js/mathjax/input/tex/extensions/boldsymbol/webpack.config.js
deleted file mode 100644
index a714894..0000000
--- a/static/js/mathjax/input/tex/extensions/boldsymbol/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/boldsymbol', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/braket/braket.js b/static/js/mathjax/input/tex/extensions/braket/braket.js
deleted file mode 100644
index 8388ad8..0000000
--- a/static/js/mathjax/input/tex/extensions/braket/braket.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/braket.js';
diff --git a/static/js/mathjax/input/tex/extensions/braket/build.json b/static/js/mathjax/input/tex/extensions/braket/build.json
deleted file mode 100644
index c0631d7..0000000
--- a/static/js/mathjax/input/tex/extensions/braket/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/braket",
- "component": "input/tex/extensions/braket",
- "targets": ["input/tex/braket"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/braket/webpack.config.js b/static/js/mathjax/input/tex/extensions/braket/webpack.config.js
deleted file mode 100644
index 04df102..0000000
--- a/static/js/mathjax/input/tex/extensions/braket/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/braket', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/bussproofs/build.json b/static/js/mathjax/input/tex/extensions/bussproofs/build.json
deleted file mode 100644
index 242e91f..0000000
--- a/static/js/mathjax/input/tex/extensions/bussproofs/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/bussproofs",
- "component": "input/tex/extensions/bussproofs",
- "targets": ["input/tex/bussproofs"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/bussproofs/bussproofs.js b/static/js/mathjax/input/tex/extensions/bussproofs/bussproofs.js
deleted file mode 100644
index 07bcb36..0000000
--- a/static/js/mathjax/input/tex/extensions/bussproofs/bussproofs.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/bussproofs.js';
diff --git a/static/js/mathjax/input/tex/extensions/bussproofs/webpack.config.js b/static/js/mathjax/input/tex/extensions/bussproofs/webpack.config.js
deleted file mode 100644
index 2afad5e..0000000
--- a/static/js/mathjax/input/tex/extensions/bussproofs/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/bussproofs', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/cancel/build.json b/static/js/mathjax/input/tex/extensions/cancel/build.json
deleted file mode 100644
index 9577e4e..0000000
--- a/static/js/mathjax/input/tex/extensions/cancel/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/cancel",
- "component": "input/tex/extensions/cancel",
- "targets": ["input/tex/cancel"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/cancel/cancel.js b/static/js/mathjax/input/tex/extensions/cancel/cancel.js
deleted file mode 100644
index 26420c2..0000000
--- a/static/js/mathjax/input/tex/extensions/cancel/cancel.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/cancel.js';
diff --git a/static/js/mathjax/input/tex/extensions/cancel/webpack.config.js b/static/js/mathjax/input/tex/extensions/cancel/webpack.config.js
deleted file mode 100644
index 0324cb7..0000000
--- a/static/js/mathjax/input/tex/extensions/cancel/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/cancel', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/input/tex/extensions/enclose/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/cases/build.json b/static/js/mathjax/input/tex/extensions/cases/build.json
deleted file mode 100644
index b4be43c..0000000
--- a/static/js/mathjax/input/tex/extensions/cases/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/cases",
- "component": "input/tex/extensions/cases",
- "targets": ["input/tex/cases"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/cases/cases.js b/static/js/mathjax/input/tex/extensions/cases/cases.js
deleted file mode 100644
index 9102348..0000000
--- a/static/js/mathjax/input/tex/extensions/cases/cases.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/cases.js';
diff --git a/static/js/mathjax/input/tex/extensions/cases/webpack.config.js b/static/js/mathjax/input/tex/extensions/cases/webpack.config.js
deleted file mode 100644
index 057036b..0000000
--- a/static/js/mathjax/input/tex/extensions/cases/webpack.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/cases', // the package to build
- '../../../../../../js', // location of the compiled js files
- [ // packages to link to (relative to Mathjax components)
- 'components/src/input/tex-base/lib',
- 'components/src/input/tex/extensions/ams/lib',
- 'components/src/input/tex/extensions/empheq/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
-
diff --git a/static/js/mathjax/input/tex/extensions/centernot/build.json b/static/js/mathjax/input/tex/extensions/centernot/build.json
deleted file mode 100644
index 1ebcd76..0000000
--- a/static/js/mathjax/input/tex/extensions/centernot/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/centernot",
- "component": "input/tex/extensions/centernot",
- "targets": ["input/tex/centernot"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/centernot/centernot.js b/static/js/mathjax/input/tex/extensions/centernot/centernot.js
deleted file mode 100644
index 792de69..0000000
--- a/static/js/mathjax/input/tex/extensions/centernot/centernot.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/centernot.js';
diff --git a/static/js/mathjax/input/tex/extensions/centernot/webpack.config.js b/static/js/mathjax/input/tex/extensions/centernot/webpack.config.js
deleted file mode 100644
index 28d313f..0000000
--- a/static/js/mathjax/input/tex/extensions/centernot/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/centernot', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/color/build.json b/static/js/mathjax/input/tex/extensions/color/build.json
deleted file mode 100644
index 3e8614c..0000000
--- a/static/js/mathjax/input/tex/extensions/color/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/color",
- "component": "input/tex/extensions/color",
- "targets": ["input/tex/color"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/color/color.js b/static/js/mathjax/input/tex/extensions/color/color.js
deleted file mode 100644
index 4a4214c..0000000
--- a/static/js/mathjax/input/tex/extensions/color/color.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/color.js';
diff --git a/static/js/mathjax/input/tex/extensions/color/webpack.config.js b/static/js/mathjax/input/tex/extensions/color/webpack.config.js
deleted file mode 100644
index 3a65640..0000000
--- a/static/js/mathjax/input/tex/extensions/color/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/color', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/colortbl/build.json b/static/js/mathjax/input/tex/extensions/colortbl/build.json
deleted file mode 100644
index cf70b9a..0000000
--- a/static/js/mathjax/input/tex/extensions/colortbl/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/colortbl",
- "component": "input/tex/extensions/colortbl",
- "targets": ["input/tex/colortbl"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/colortbl/colortbl.js b/static/js/mathjax/input/tex/extensions/colortbl/colortbl.js
deleted file mode 100644
index fbdf6e6..0000000
--- a/static/js/mathjax/input/tex/extensions/colortbl/colortbl.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/colortbl.js';
diff --git a/static/js/mathjax/input/tex/extensions/colortbl/webpack.config.js b/static/js/mathjax/input/tex/extensions/colortbl/webpack.config.js
deleted file mode 100644
index 74b52a8..0000000
--- a/static/js/mathjax/input/tex/extensions/colortbl/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/colortbl', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/colorv2/build.json b/static/js/mathjax/input/tex/extensions/colorv2/build.json
deleted file mode 100644
index 0710e56..0000000
--- a/static/js/mathjax/input/tex/extensions/colorv2/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/colorv2",
- "component": "input/tex/extensions/colorv2",
- "targets": ["input/tex/colorv2"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/colorv2/colorv2.js b/static/js/mathjax/input/tex/extensions/colorv2/colorv2.js
deleted file mode 100644
index bbc7ad3..0000000
--- a/static/js/mathjax/input/tex/extensions/colorv2/colorv2.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/colorv2.js';
diff --git a/static/js/mathjax/input/tex/extensions/colorv2/webpack.config.js b/static/js/mathjax/input/tex/extensions/colorv2/webpack.config.js
deleted file mode 100644
index cb7959b..0000000
--- a/static/js/mathjax/input/tex/extensions/colorv2/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/colorv2', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/configmacros/build.json b/static/js/mathjax/input/tex/extensions/configmacros/build.json
deleted file mode 100644
index 809b5d9..0000000
--- a/static/js/mathjax/input/tex/extensions/configmacros/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/configmacros",
- "component": "input/tex/extensions/configmacros",
- "targets": ["input/tex/configmacros"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/configmacros/configmacros.js b/static/js/mathjax/input/tex/extensions/configmacros/configmacros.js
deleted file mode 100644
index 0dd1695..0000000
--- a/static/js/mathjax/input/tex/extensions/configmacros/configmacros.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/configmacros.js';
diff --git a/static/js/mathjax/input/tex/extensions/configmacros/webpack.config.js b/static/js/mathjax/input/tex/extensions/configmacros/webpack.config.js
deleted file mode 100644
index a7b83b2..0000000
--- a/static/js/mathjax/input/tex/extensions/configmacros/webpack.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/configmacros',// the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/newcommand/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib',
- 'components/src/startup/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/empheq/build.json b/static/js/mathjax/input/tex/extensions/empheq/build.json
deleted file mode 100644
index f0563a9..0000000
--- a/static/js/mathjax/input/tex/extensions/empheq/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/empheq",
- "component": "input/tex/extensions/empheq",
- "targets": ["input/tex/empheq"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/empheq/empheq.js b/static/js/mathjax/input/tex/extensions/empheq/empheq.js
deleted file mode 100644
index 35d50ed..0000000
--- a/static/js/mathjax/input/tex/extensions/empheq/empheq.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/empheq.js';
diff --git a/static/js/mathjax/input/tex/extensions/empheq/webpack.config.js b/static/js/mathjax/input/tex/extensions/empheq/webpack.config.js
deleted file mode 100644
index 735dd6d..0000000
--- a/static/js/mathjax/input/tex/extensions/empheq/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/empheq', // the package to build
- '../../../../../../js', // location of the compiled js files
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
-
diff --git a/static/js/mathjax/input/tex/extensions/enclose/build.json b/static/js/mathjax/input/tex/extensions/enclose/build.json
deleted file mode 100644
index ebf489c..0000000
--- a/static/js/mathjax/input/tex/extensions/enclose/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/enclose",
- "component": "input/tex/extensions/enclose",
- "targets": ["input/tex/enclose"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/enclose/enclose.js b/static/js/mathjax/input/tex/extensions/enclose/enclose.js
deleted file mode 100644
index 4e39b26..0000000
--- a/static/js/mathjax/input/tex/extensions/enclose/enclose.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/enclose.js';
diff --git a/static/js/mathjax/input/tex/extensions/enclose/webpack.config.js b/static/js/mathjax/input/tex/extensions/enclose/webpack.config.js
deleted file mode 100644
index a1bf56a..0000000
--- a/static/js/mathjax/input/tex/extensions/enclose/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/enclose', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/extpfeil/build.json b/static/js/mathjax/input/tex/extensions/extpfeil/build.json
deleted file mode 100644
index 37378a5..0000000
--- a/static/js/mathjax/input/tex/extensions/extpfeil/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/extpfeil",
- "component": "input/tex/extensions/extpfeil",
- "targets": ["input/tex/extpfeil"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/extpfeil/extpfeil.js b/static/js/mathjax/input/tex/extensions/extpfeil/extpfeil.js
deleted file mode 100644
index ad54bb1..0000000
--- a/static/js/mathjax/input/tex/extensions/extpfeil/extpfeil.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/extpfeil.js';
diff --git a/static/js/mathjax/input/tex/extensions/extpfeil/webpack.config.js b/static/js/mathjax/input/tex/extensions/extpfeil/webpack.config.js
deleted file mode 100644
index 018ceff..0000000
--- a/static/js/mathjax/input/tex/extensions/extpfeil/webpack.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/extpfeil', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/ams/lib',
- 'components/src/input/tex/extensions/newcommand/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/gensymb/build.json b/static/js/mathjax/input/tex/extensions/gensymb/build.json
deleted file mode 100644
index 220fe87..0000000
--- a/static/js/mathjax/input/tex/extensions/gensymb/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/gensymb",
- "component": "input/tex/extensions/gensymb",
- "targets": ["input/tex/gensymb"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/gensymb/gensymb.js b/static/js/mathjax/input/tex/extensions/gensymb/gensymb.js
deleted file mode 100644
index 13ef4b4..0000000
--- a/static/js/mathjax/input/tex/extensions/gensymb/gensymb.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/gensymb.js';
diff --git a/static/js/mathjax/input/tex/extensions/gensymb/webpack.config.js b/static/js/mathjax/input/tex/extensions/gensymb/webpack.config.js
deleted file mode 100644
index 808daa5..0000000
--- a/static/js/mathjax/input/tex/extensions/gensymb/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/gensymb', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/html/build.json b/static/js/mathjax/input/tex/extensions/html/build.json
deleted file mode 100644
index 7ee5d20..0000000
--- a/static/js/mathjax/input/tex/extensions/html/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/html",
- "component": "input/tex/extensions/html",
- "targets": ["input/tex/html"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/html/html.js b/static/js/mathjax/input/tex/extensions/html/html.js
deleted file mode 100644
index 9c3a209..0000000
--- a/static/js/mathjax/input/tex/extensions/html/html.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/html.js';
diff --git a/static/js/mathjax/input/tex/extensions/html/webpack.config.js b/static/js/mathjax/input/tex/extensions/html/webpack.config.js
deleted file mode 100644
index 4fae2f8..0000000
--- a/static/js/mathjax/input/tex/extensions/html/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/html', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/mathtools/build.json b/static/js/mathjax/input/tex/extensions/mathtools/build.json
deleted file mode 100644
index b00ef31..0000000
--- a/static/js/mathjax/input/tex/extensions/mathtools/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/mathtools",
- "component": "input/tex/extensions/mathtools",
- "targets": ["input/tex/mathtools"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/mathtools/mathtools.js b/static/js/mathjax/input/tex/extensions/mathtools/mathtools.js
deleted file mode 100644
index ec95d66..0000000
--- a/static/js/mathjax/input/tex/extensions/mathtools/mathtools.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/mathtools.js';
diff --git a/static/js/mathjax/input/tex/extensions/mathtools/webpack.config.js b/static/js/mathjax/input/tex/extensions/mathtools/webpack.config.js
deleted file mode 100644
index 1b882c5..0000000
--- a/static/js/mathjax/input/tex/extensions/mathtools/webpack.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/mathtools', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/ams/lib',
- 'components/src/input/tex/extensions/newcommand/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/mhchem/build.json b/static/js/mathjax/input/tex/extensions/mhchem/build.json
deleted file mode 100644
index e7728bd..0000000
--- a/static/js/mathjax/input/tex/extensions/mhchem/build.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "id": "[tex]/mhchem",
- "component": "input/tex/extensions/mhchem",
- "targets": ["input/tex/mhchem"],
- "exclude": ["input/tex/mhchem/mhchem_parser.d.ts"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/mhchem/mhchem.js b/static/js/mathjax/input/tex/extensions/mhchem/mhchem.js
deleted file mode 100644
index cac9cc9..0000000
--- a/static/js/mathjax/input/tex/extensions/mhchem/mhchem.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/mhchem.js';
diff --git a/static/js/mathjax/input/tex/extensions/mhchem/webpack.config.js b/static/js/mathjax/input/tex/extensions/mhchem/webpack.config.js
deleted file mode 100644
index c50bd47..0000000
--- a/static/js/mathjax/input/tex/extensions/mhchem/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/mhchem', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/ams/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/newcommand/build.json b/static/js/mathjax/input/tex/extensions/newcommand/build.json
deleted file mode 100644
index 119063b..0000000
--- a/static/js/mathjax/input/tex/extensions/newcommand/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/newcommand",
- "component": "input/tex/extensions/newcommand",
- "targets": ["input/tex/newcommand"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/newcommand/newcommand.js b/static/js/mathjax/input/tex/extensions/newcommand/newcommand.js
deleted file mode 100644
index 86efc98..0000000
--- a/static/js/mathjax/input/tex/extensions/newcommand/newcommand.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/newcommand.js';
diff --git a/static/js/mathjax/input/tex/extensions/newcommand/webpack.config.js b/static/js/mathjax/input/tex/extensions/newcommand/webpack.config.js
deleted file mode 100644
index 1deed0d..0000000
--- a/static/js/mathjax/input/tex/extensions/newcommand/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/newcommand', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/noerrors/build.json b/static/js/mathjax/input/tex/extensions/noerrors/build.json
deleted file mode 100644
index dae2b51..0000000
--- a/static/js/mathjax/input/tex/extensions/noerrors/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/noerrors",
- "component": "input/tex/extensions/noerrors",
- "targets": ["input/tex/noerrors"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/noerrors/noerrors.js b/static/js/mathjax/input/tex/extensions/noerrors/noerrors.js
deleted file mode 100644
index c1153ae..0000000
--- a/static/js/mathjax/input/tex/extensions/noerrors/noerrors.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/noerrors.js';
diff --git a/static/js/mathjax/input/tex/extensions/noerrors/webpack.config.js b/static/js/mathjax/input/tex/extensions/noerrors/webpack.config.js
deleted file mode 100644
index 6e92901..0000000
--- a/static/js/mathjax/input/tex/extensions/noerrors/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/noerrors', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/noundefined/build.json b/static/js/mathjax/input/tex/extensions/noundefined/build.json
deleted file mode 100644
index 3ea2d34..0000000
--- a/static/js/mathjax/input/tex/extensions/noundefined/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/noundefined",
- "component": "input/tex/extensions/noundefined",
- "targets": ["input/tex/noundefined"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/noundefined/noundefined.js b/static/js/mathjax/input/tex/extensions/noundefined/noundefined.js
deleted file mode 100644
index 1259bdb..0000000
--- a/static/js/mathjax/input/tex/extensions/noundefined/noundefined.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/noundefined.js';
diff --git a/static/js/mathjax/input/tex/extensions/noundefined/webpack.config.js b/static/js/mathjax/input/tex/extensions/noundefined/webpack.config.js
deleted file mode 100644
index 177ff29..0000000
--- a/static/js/mathjax/input/tex/extensions/noundefined/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/noundefined', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/physics/build.json b/static/js/mathjax/input/tex/extensions/physics/build.json
deleted file mode 100644
index b0ba5aa..0000000
--- a/static/js/mathjax/input/tex/extensions/physics/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/physics",
- "component": "input/tex/extensions/physics",
- "targets": ["input/tex/physics"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/physics/physics.js b/static/js/mathjax/input/tex/extensions/physics/physics.js
deleted file mode 100644
index a592a48..0000000
--- a/static/js/mathjax/input/tex/extensions/physics/physics.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/physics.js';
diff --git a/static/js/mathjax/input/tex/extensions/physics/webpack.config.js b/static/js/mathjax/input/tex/extensions/physics/webpack.config.js
deleted file mode 100644
index fbfa9a7..0000000
--- a/static/js/mathjax/input/tex/extensions/physics/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/physics', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/require/build.json b/static/js/mathjax/input/tex/extensions/require/build.json
deleted file mode 100644
index 594088c..0000000
--- a/static/js/mathjax/input/tex/extensions/require/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/require",
- "component": "input/tex/extensions/require",
- "targets": ["input/tex/require"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/require/require.js b/static/js/mathjax/input/tex/extensions/require/require.js
deleted file mode 100644
index 2031b81..0000000
--- a/static/js/mathjax/input/tex/extensions/require/require.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/require.js';
diff --git a/static/js/mathjax/input/tex/extensions/require/webpack.config.js b/static/js/mathjax/input/tex/extensions/require/webpack.config.js
deleted file mode 100644
index 63ff194..0000000
--- a/static/js/mathjax/input/tex/extensions/require/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/require', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib',
- 'components/src/startup/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/setoptions/build.json b/static/js/mathjax/input/tex/extensions/setoptions/build.json
deleted file mode 100644
index f7171fd..0000000
--- a/static/js/mathjax/input/tex/extensions/setoptions/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/setoptions",
- "component": "input/tex/extensions/setoptions",
- "targets": ["input/tex/setoptions"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/setoptions/setoptions.js b/static/js/mathjax/input/tex/extensions/setoptions/setoptions.js
deleted file mode 100644
index 2999216..0000000
--- a/static/js/mathjax/input/tex/extensions/setoptions/setoptions.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/setoptions.js';
diff --git a/static/js/mathjax/input/tex/extensions/setoptions/webpack.config.js b/static/js/mathjax/input/tex/extensions/setoptions/webpack.config.js
deleted file mode 100644
index 1260438..0000000
--- a/static/js/mathjax/input/tex/extensions/setoptions/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/setoptions', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/tagformat/build.json b/static/js/mathjax/input/tex/extensions/tagformat/build.json
deleted file mode 100644
index e564794..0000000
--- a/static/js/mathjax/input/tex/extensions/tagformat/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/tagformat",
- "component": "input/tex/extensions/tagformat",
- "targets": ["input/tex/tagformat"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/tagformat/tagformat.js b/static/js/mathjax/input/tex/extensions/tagformat/tagformat.js
deleted file mode 100644
index 29b0da3..0000000
--- a/static/js/mathjax/input/tex/extensions/tagformat/tagformat.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/tagformat.js';
diff --git a/static/js/mathjax/input/tex/extensions/tagformat/webpack.config.js b/static/js/mathjax/input/tex/extensions/tagformat/webpack.config.js
deleted file mode 100644
index 35bb113..0000000
--- a/static/js/mathjax/input/tex/extensions/tagformat/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/tagformat', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/textcomp/build.json b/static/js/mathjax/input/tex/extensions/textcomp/build.json
deleted file mode 100644
index dc88ae7..0000000
--- a/static/js/mathjax/input/tex/extensions/textcomp/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/textcomp",
- "component": "input/tex/extensions/textcomp",
- "targets": ["input/tex/textcomp"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/textcomp/textcomp.js b/static/js/mathjax/input/tex/extensions/textcomp/textcomp.js
deleted file mode 100644
index 23fc668..0000000
--- a/static/js/mathjax/input/tex/extensions/textcomp/textcomp.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/textcomp.js';
diff --git a/static/js/mathjax/input/tex/extensions/textcomp/webpack.config.js b/static/js/mathjax/input/tex/extensions/textcomp/webpack.config.js
deleted file mode 100644
index 364a539..0000000
--- a/static/js/mathjax/input/tex/extensions/textcomp/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/textcomp', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex/extensions/textmacros/lib',
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/textmacros/build.json b/static/js/mathjax/input/tex/extensions/textmacros/build.json
deleted file mode 100644
index 80b0e02..0000000
--- a/static/js/mathjax/input/tex/extensions/textmacros/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/textmacros",
- "component": "input/tex/extensions/textmacros",
- "targets": ["input/tex/textmacros"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/textmacros/textmacros.js b/static/js/mathjax/input/tex/extensions/textmacros/textmacros.js
deleted file mode 100644
index ea05a2a..0000000
--- a/static/js/mathjax/input/tex/extensions/textmacros/textmacros.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/textmacros.js';
diff --git a/static/js/mathjax/input/tex/extensions/textmacros/webpack.config.js b/static/js/mathjax/input/tex/extensions/textmacros/webpack.config.js
deleted file mode 100644
index 8a64883..0000000
--- a/static/js/mathjax/input/tex/extensions/textmacros/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/textmacros', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/unicode/build.json b/static/js/mathjax/input/tex/extensions/unicode/build.json
deleted file mode 100644
index 2e76048..0000000
--- a/static/js/mathjax/input/tex/extensions/unicode/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/unicode",
- "component": "input/tex/extensions/unicode",
- "targets": ["input/tex/unicode"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/unicode/unicode.js b/static/js/mathjax/input/tex/extensions/unicode/unicode.js
deleted file mode 100644
index 63b9110..0000000
--- a/static/js/mathjax/input/tex/extensions/unicode/unicode.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/unicode.js';
diff --git a/static/js/mathjax/input/tex/extensions/unicode/webpack.config.js b/static/js/mathjax/input/tex/extensions/unicode/webpack.config.js
deleted file mode 100644
index 8054276..0000000
--- a/static/js/mathjax/input/tex/extensions/unicode/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/unicode', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/upgreek/build.json b/static/js/mathjax/input/tex/extensions/upgreek/build.json
deleted file mode 100644
index 70c9812..0000000
--- a/static/js/mathjax/input/tex/extensions/upgreek/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/upgreek",
- "component": "input/tex/extensions/upgreek",
- "targets": ["input/tex/upgreek"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/upgreek/upgreek.js b/static/js/mathjax/input/tex/extensions/upgreek/upgreek.js
deleted file mode 100644
index dad786a..0000000
--- a/static/js/mathjax/input/tex/extensions/upgreek/upgreek.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/upgreek.js';
diff --git a/static/js/mathjax/input/tex/extensions/upgreek/webpack.config.js b/static/js/mathjax/input/tex/extensions/upgreek/webpack.config.js
deleted file mode 100644
index d47c688..0000000
--- a/static/js/mathjax/input/tex/extensions/upgreek/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/upgreek', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/extensions/verb/build.json b/static/js/mathjax/input/tex/extensions/verb/build.json
deleted file mode 100644
index 53f7269..0000000
--- a/static/js/mathjax/input/tex/extensions/verb/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "[tex]/verb",
- "component": "input/tex/extensions/verb",
- "targets": ["input/tex/verb"]
-}
diff --git a/static/js/mathjax/input/tex/extensions/verb/verb.js b/static/js/mathjax/input/tex/extensions/verb/verb.js
deleted file mode 100644
index 48b8941..0000000
--- a/static/js/mathjax/input/tex/extensions/verb/verb.js
+++ /dev/null
@@ -1 +0,0 @@
-import './lib/verb.js';
diff --git a/static/js/mathjax/input/tex/extensions/verb/webpack.config.js b/static/js/mathjax/input/tex/extensions/verb/webpack.config.js
deleted file mode 100644
index 48bb2b8..0000000
--- a/static/js/mathjax/input/tex/extensions/verb/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex/extensions/verb', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/input/tex-base/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/input/tex/register.js b/static/js/mathjax/input/tex/register.js
deleted file mode 100644
index 32a2982..0000000
--- a/static/js/mathjax/input/tex/register.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import {insert} from '../../../../js/util/Options.js';
-
-export function registerTeX(packageList = [], tex = true) {
- if (MathJax.startup) {
- if (tex) {
- MathJax.startup.registerConstructor('tex', MathJax._.input.tex_ts.TeX);
- MathJax.startup.useInput('tex');
- }
- if (!MathJax.config.tex) {
- MathJax.config.tex = {};
- }
- let packages = MathJax.config.tex.packages;
- MathJax.config.tex.packages = packageList;
- if (packages) {
- insert(MathJax.config.tex, {packages});
- }
- }
-}
diff --git a/static/js/mathjax/input/tex/tex.js b/static/js/mathjax/input/tex/tex.js
deleted file mode 100644
index d0ba3ba..0000000
--- a/static/js/mathjax/input/tex/tex.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import './lib/tex.js';
-
-import {registerTeX} from './register.js';
-import {Loader} from '../../../../js/components/loader.js';
-
-Loader.preLoad(
- 'input/tex-base',
- '[tex]/ams',
- '[tex]/newcommand',
- '[tex]/noundefined',
- '[tex]/require',
- '[tex]/autoload',
- '[tex]/configmacros'
-);
-
-registerTeX([
- 'base',
- 'ams',
- 'newcommand',
- 'noundefined',
- 'require',
- 'autoload',
- 'configmacros'
-]);
diff --git a/static/js/mathjax/input/tex/webpack.config.js b/static/js/mathjax/input/tex/webpack.config.js
deleted file mode 100644
index dd3dc69..0000000
--- a/static/js/mathjax/input/tex/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'input/tex', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/startup/lib',
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/latest/latest.js b/static/js/mathjax/latest/latest.js
deleted file mode 100644
index 95ab595..0000000
--- a/static/js/mathjax/latest/latest.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import {loadLatest} from '../../../js/components/latest.js';
-
-loadLatest();
diff --git a/static/js/mathjax/latest/webpack.config.js b/static/js/mathjax/latest/webpack.config.js
deleted file mode 100644
index ff1fb85..0000000
--- a/static/js/mathjax/latest/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'latest', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/loader/build.json b/static/js/mathjax/loader/build.json
deleted file mode 100644
index ca2c4a8..0000000
--- a/static/js/mathjax/loader/build.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "component": "loader",
- "targets": [
- "components/loader.ts",
- "components/package.ts"
- ]
-}
diff --git a/static/js/mathjax/loader/loader.js b/static/js/mathjax/loader/loader.js
deleted file mode 100644
index 86db470..0000000
--- a/static/js/mathjax/loader/loader.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import './lib/loader.js';
-
-import {Loader, CONFIG} from '../../../js/components/loader.js';
-import {combineDefaults} from '../../../js/components/global.js';
-import {dependencies, paths, provides} from '../dependencies.js';
-
-combineDefaults(MathJax.config.loader, 'dependencies', dependencies);
-combineDefaults(MathJax.config.loader, 'paths', paths);
-combineDefaults(MathJax.config.loader, 'provides', provides);
-
-Loader.load(...CONFIG.load)
- .then(() => CONFIG.ready())
- .catch((message, name) => CONFIG.failed(message, name));
diff --git a/static/js/mathjax/loader/webpack.config.js b/static/js/mathjax/loader/webpack.config.js
deleted file mode 100644
index f23953b..0000000
--- a/static/js/mathjax/loader/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'loader', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/mml-chtml/mml-chtml.js b/static/js/mathjax/mml-chtml/mml-chtml.js
deleted file mode 100644
index dbaaf98..0000000
--- a/static/js/mathjax/mml-chtml/mml-chtml.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/mml/mml.js';
-import '../output/chtml/chtml.js';
-import '../output/chtml/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/mml-chtml/preload.js b/static/js/mathjax/mml-chtml/preload.js
deleted file mode 100644
index e3f202f..0000000
--- a/static/js/mathjax/mml-chtml/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/mml',
- 'output/chtml', 'output/chtml/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/mml-chtml/webpack.config.js b/static/js/mathjax/mml-chtml/webpack.config.js
deleted file mode 100644
index c488da1..0000000
--- a/static/js/mathjax/mml-chtml/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'mml-chtml', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/mml-svg/mml-svg.js b/static/js/mathjax/mml-svg/mml-svg.js
deleted file mode 100644
index 34cef63..0000000
--- a/static/js/mathjax/mml-svg/mml-svg.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/mml/mml.js';
-import '../output/svg/svg.js';
-import '../output/svg/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/mml-svg/preload.js b/static/js/mathjax/mml-svg/preload.js
deleted file mode 100644
index 3cb47d4..0000000
--- a/static/js/mathjax/mml-svg/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/mml',
- 'output/svg', 'output/svg/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/mml-svg/webpack.config.js b/static/js/mathjax/mml-svg/webpack.config.js
deleted file mode 100644
index 0d2fe5c..0000000
--- a/static/js/mathjax/mml-svg/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'mml-svg', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/node-main/node-main.js b/static/js/mathjax/node-main/node-main.js
deleted file mode 100644
index 13679e3..0000000
--- a/static/js/mathjax/node-main/node-main.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*************************************************************
- *
- * Copyright (c) 2019-2021 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.
- */
-
-const path = eval("require('path')"); // use actual node version, not webpack's version
-
-/*
- * Load the needed MathJax components
- */
-require('../startup/init.js');
-const {Loader, CONFIG} = require('../../../js/components/loader.js');
-const {combineDefaults, combineConfig} = require('../../../js/components/global.js');
-
-/*
- * Set up the initial configuration
- */
-combineDefaults(MathJax.config, 'loader', {
- require: eval('require'), // use node's require() to load files
- failed: (err) => {throw err} // pass on error message to init()'s catch function
-});
-
-/*
- * Preload core and liteDOM adaptor (needed for node)
- */
-Loader.preLoad('loader', 'startup', 'core', 'adaptors/liteDOM');
-require('../core/core.js');
-require('../adaptors/liteDOM/liteDOM.js');
-
-/*
- * Set the mathjax root path to the location where node-main.js was loaded from,
- * using the actual node __dirname, not the webpack one, and removing
- * the directory if we are loaded from components/src/node-main.
- */
-const dir = CONFIG.paths.mathjax = eval('__dirname');
-if (path.basename(dir) === 'node-main') {
- CONFIG.paths.mathjax = path.dirname(dir);
- combineDefaults(CONFIG, 'source', require('../source.js').source);
- //
- // Set the asynchronous loader to use the js directory, so we can load
- // other files like entity definitions
- //
- const ROOT = path.resolve(dir, '../../../js');
- const REQUIRE = MathJax.config.loader.require;
- MathJax._.mathjax.mathjax.asyncLoad = function (name) {
- return REQUIRE(name.charAt(0) === '.' ? path.resolve(ROOT, name) : name);
- };
-}
-
-
-/*
- * The initialization function. Use as:
- *
- * require('mathjax').init({ ... }).then((MathJax) => { ... });
- *
- * where the argument to init() is a MathJax configuration (what would be set as MathJax = {...}).
- * The init() function returns a promise that is resolved when MathJax is loaded and ready, and that
- * is passed the MathJax global variable when it is called.
- */
-const init = (config = {}) => {
- combineConfig(MathJax.config, config);
- return Loader.load(...CONFIG.load)
- .then(() => CONFIG.ready())
- .then(() => MathJax) // Pass MathJax global as argument to subsequent .then() calls
- .catch(error => CONFIG.failed(error));
-}
-
-/*
- * Export the init() function
- */
-export {init};
diff --git a/static/js/mathjax/node-main/webpack.config.js b/static/js/mathjax/node-main/webpack.config.js
deleted file mode 100644
index ea41c8c..0000000
--- a/static/js/mathjax/node-main/webpack.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-const package = PACKAGE(
- 'node-main', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
-
-// make node-main.js exports available to caller
-package.output.library = {
- name: 'init',
- type: 'commonjs',
- export: 'init'
-};
-
-module.exports = package;
diff --git a/static/js/mathjax/output/chtml/build.json b/static/js/mathjax/output/chtml/build.json
deleted file mode 100644
index 36eb3e2..0000000
--- a/static/js/mathjax/output/chtml/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "output/chtml",
- "targets": ["output/chtml.ts", "output/chtml", "output/common"],
- "exclude": ["output/chtml/fonts", "output/common/fonts"]
-}
diff --git a/static/js/mathjax/output/chtml/chtml.js b/static/js/mathjax/output/chtml/chtml.js
deleted file mode 100644
index 37f38ba..0000000
--- a/static/js/mathjax/output/chtml/chtml.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import './lib/chtml.js';
-
-import {combineDefaults} from '../../../../js/components/global.js';
-import {CHTML} from '../../../../js/output/chtml.js';
-
-if (MathJax.loader) {
- combineDefaults(MathJax.config.loader, 'output/chtml', {
- checkReady() {
- return MathJax.loader.load("output/chtml/fonts/tex");
- }
- });
-}
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('chtml', CHTML);
- MathJax.startup.useOutput('chtml');
-}
diff --git a/static/js/mathjax/output/chtml/fonts/tex/build.json b/static/js/mathjax/output/chtml/fonts/tex/build.json
deleted file mode 100644
index 6967166..0000000
--- a/static/js/mathjax/output/chtml/fonts/tex/build.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "component": "output/chtml/fonts/tex",
- "targets": ["output/chtml/fonts/tex.ts", "output/chtml/fonts/tex", "output/common/fonts/tex"]
-}
diff --git a/static/js/mathjax/output/chtml/fonts/tex/copy.json b/static/js/mathjax/output/chtml/fonts/tex/copy.json
deleted file mode 100644
index f8dce11..0000000
--- a/static/js/mathjax/output/chtml/fonts/tex/copy.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "to": "../../../../../../es5/output/chtml/fonts/woff-v2",
- "from": "../../../../../../ts/output/chtml/fonts/tex-woff-v2",
- "copy": [
- "MathJax_AMS-Regular.woff",
- "MathJax_Calligraphic-Bold.woff",
- "MathJax_Calligraphic-Regular.woff",
- "MathJax_Fraktur-Bold.woff",
- "MathJax_Fraktur-Regular.woff",
- "MathJax_Main-Bold.woff",
- "MathJax_Main-Italic.woff",
- "MathJax_Main-Regular.woff",
- "MathJax_Math-BoldItalic.woff",
- "MathJax_Math-Italic.woff",
- "MathJax_Math-Regular.woff",
- "MathJax_SansSerif-Bold.woff",
- "MathJax_SansSerif-Italic.woff",
- "MathJax_SansSerif-Regular.woff",
- "MathJax_Script-Regular.woff",
- "MathJax_Size1-Regular.woff",
- "MathJax_Size2-Regular.woff",
- "MathJax_Size3-Regular.woff",
- "MathJax_Size4-Regular.woff",
- "MathJax_Typewriter-Regular.woff",
- "MathJax_Vector-Bold.woff",
- "MathJax_Vector-Regular.woff",
- "MathJax_Zero.woff"
- ]
-}
diff --git a/static/js/mathjax/output/chtml/fonts/tex/tex.js b/static/js/mathjax/output/chtml/fonts/tex/tex.js
deleted file mode 100644
index 6f20876..0000000
--- a/static/js/mathjax/output/chtml/fonts/tex/tex.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import './lib/tex.js';
-
-import {combineDefaults} from '../../../../../../js/components/global.js';
-import {Package} from '../../../../../../js/components/package.js';
-import {selectOptionsFromKeys} from '../../../../../../js/util/Options.js';
-import {TeXFont} from '../../../../../../js/output/chtml/fonts/tex.js';
-
-if (MathJax.startup) {
- combineDefaults(MathJax.config, 'chtml', {
- fontURL: Package.resolvePath('output/chtml/fonts/woff-v2', false)
- });
- const options = selectOptionsFromKeys(MathJax.config.chtml || {}, TeXFont.OPTIONS);
- combineDefaults(MathJax.config, 'chtml', {font: new TeXFont(options)});
-}
diff --git a/static/js/mathjax/output/chtml/fonts/tex/webpack.config.js b/static/js/mathjax/output/chtml/fonts/tex/webpack.config.js
deleted file mode 100644
index c1bd29f..0000000
--- a/static/js/mathjax/output/chtml/fonts/tex/webpack.config.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'output/chtml/fonts/tex', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/core/lib',
- 'components/src/output/chtml/lib',
- 'components/src/startup/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/output/chtml/nofont.js b/static/js/mathjax/output/chtml/nofont.js
deleted file mode 100644
index b4da760..0000000
--- a/static/js/mathjax/output/chtml/nofont.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import {FontData} from '../../../../js/output/chtml/FontData.js';
-
-export class TeXFont extends FontData {};
-
-TeXFont.OPTIONS = {fontURL: '.'};
diff --git a/static/js/mathjax/output/chtml/webpack.config.js b/static/js/mathjax/output/chtml/webpack.config.js
deleted file mode 100644
index 3900985..0000000
--- a/static/js/mathjax/output/chtml/webpack.config.js
+++ /dev/null
@@ -1,18 +0,0 @@
-const webpack = require("webpack");
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'output/chtml', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
-
-module.exports.plugins.push(
- new webpack.NormalModuleReplacementPlugin(
- /\/fonts\/tex\.js$/,
- function (resource) {
- resource.request = '../../components/src/output/chtml/nofont.js';
- }
- )
-);
diff --git a/static/js/mathjax/output/svg/build.json b/static/js/mathjax/output/svg/build.json
deleted file mode 100644
index 0339d51..0000000
--- a/static/js/mathjax/output/svg/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "output/svg",
- "targets": ["output/svg.ts", "output/svg", "output/common"],
- "exclude": ["output/svg/fonts", "output/common/fonts"]
-}
diff --git a/static/js/mathjax/output/svg/fonts/tex/build.json b/static/js/mathjax/output/svg/fonts/tex/build.json
deleted file mode 100644
index b417f93..0000000
--- a/static/js/mathjax/output/svg/fonts/tex/build.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "component": "output/svg/fonts/tex",
- "targets": ["output/svg/fonts/tex.ts", "output/svg/fonts/tex", "output/common/fonts/tex"]
-}
diff --git a/static/js/mathjax/output/svg/fonts/tex/tex.js b/static/js/mathjax/output/svg/fonts/tex/tex.js
deleted file mode 100644
index ec1018d..0000000
--- a/static/js/mathjax/output/svg/fonts/tex/tex.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import './lib/tex.js';
-
-import {TeXFont} from '../../../../../../js/output/svg/fonts/tex.js';
-import {combineDefaults} from '../../../../../../js/components/global.js';
-import {selectOptionsFromKeys} from '../../../../../../js/util/Options.js';
-
-if (MathJax.startup) {
- const options = selectOptionsFromKeys(MathJax.config.svg || {}, TeXFont.OPTIONS);
- combineDefaults(MathJax.config, 'svg', {font: new TeXFont(options)});
-}
diff --git a/static/js/mathjax/output/svg/fonts/tex/webpack.config.js b/static/js/mathjax/output/svg/fonts/tex/webpack.config.js
deleted file mode 100644
index 4c425fe..0000000
--- a/static/js/mathjax/output/svg/fonts/tex/webpack.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const PACKAGE = require('../../../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'output/svg/fonts/tex', // the package to build
- '../../../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/core/lib',
- 'components/src/output/svg/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/output/svg/nofont.js b/static/js/mathjax/output/svg/nofont.js
deleted file mode 100644
index 1db6be2..0000000
--- a/static/js/mathjax/output/svg/nofont.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import {FontData} from '../../../../js/output/svg/FontData.js';
-
-export class TeXFont extends FontData {};
-
-TeXFont.OPTIONS = {fontURL: '.'};
diff --git a/static/js/mathjax/output/svg/svg.js b/static/js/mathjax/output/svg/svg.js
deleted file mode 100644
index d79520a..0000000
--- a/static/js/mathjax/output/svg/svg.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import './lib/svg.js';
-
-import {combineDefaults} from '../../../../js/components/global.js';
-import {SVG} from '../../../../js/output/svg.js';
-
-if (MathJax.loader) {
- combineDefaults(MathJax.config.loader, 'output/svg', {
- checkReady() {
- return MathJax.loader.load("output/svg/fonts/tex");
- }
- });
-}
-
-if (MathJax.startup) {
- MathJax.startup.registerConstructor('svg', SVG);
- MathJax.startup.useOutput('svg');
-}
diff --git a/static/js/mathjax/output/svg/webpack.config.js b/static/js/mathjax/output/svg/webpack.config.js
deleted file mode 100644
index b062ec2..0000000
--- a/static/js/mathjax/output/svg/webpack.config.js
+++ /dev/null
@@ -1,18 +0,0 @@
-const webpack = require("webpack");
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'output/svg', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);
-
-module.exports.plugins.push(
- new webpack.NormalModuleReplacementPlugin(
- /\/fonts\/tex\.js$/,
- function (resource) {
- resource.request = '../../components/src/output/svg/nofont.js';
- }
- )
-);
diff --git a/static/js/mathjax/source.js b/static/js/mathjax/source.js
deleted file mode 100644
index 59d30bf..0000000
--- a/static/js/mathjax/source.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/*************************************************************
- *
- * Copyright (c) 2019-2021 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.
- */
-
-const src = __dirname;
-
-export const source = {
- 'core': `${src}/core/core.js`,
- 'adaptors/liteDOM': `${src}/adaptors/liteDOM/liteDOM.js`,
- 'input/tex': `${src}/input/tex/tex.js`,
- 'input/tex-base': `${src}/input/tex-base/tex-base.js`,
- 'input/tex-full': `${src}/input/tex-full/tex-full.js`,
- '[tex]/action': `${src}/input/tex/extensions/action/action.js`,
- '[tex]/all-packages': `${src}/input/tex/extensions/all-packages/all-packages.js`,
- '[tex]/autoload': `${src}/input/tex/extensions/autoload/autoload.js`,
- '[tex]/ams': `${src}/input/tex/extensions/ams/ams.js`,
- '[tex]/amscd': `${src}/input/tex/extensions/amscd/amscd.js`,
- '[tex]/bbox': `${src}/input/tex/extensions/bbox/bbox.js`,
- '[tex]/boldsymbol': `${src}/input/tex/extensions/boldsymbol/boldsymbol.js`,
- '[tex]/braket': `${src}/input/tex/extensions/braket/braket.js`,
- '[tex]/bussproofs': `${src}/input/tex/extensions/bussproofs/bussproofs.js`,
- '[tex]/cancel': `${src}/input/tex/extensions/cancel/cancel.js`,
- '[tex]/centernot': `${src}/input/tex/extensions/centernot/centernot.js`,
- '[tex]/color': `${src}/input/tex/extensions/color/color.js`,
- '[tex]/colorv2': `${src}/input/tex/extensions/colorv2/colorv2.js`,
- '[tex]/configmacros': `${src}/input/tex/extensions/configmacros/configmacros.js`,
- '[tex]/enclose': `${src}/input/tex/extensions/enclose/enclose.js`,
- '[tex]/extpfeil': `${src}/input/tex/extensions/extpfeil/extpfeil.js`,
- '[tex]/html': `${src}/input/tex/extensions/html/html.js`,
- '[tex]/mathtools': `${src}/input/tex/extensions/mathtools/mathtools.js`,
- '[tex]/mhchem': `${src}/input/tex/extensions/mhchem/mhchem.js`,
- '[tex]/newcommand': `${src}/input/tex/extensions/newcommand/newcommand.js`,
- '[tex]/noerrors': `${src}/input/tex/extensions/noerrors/noerrors.js`,
- '[tex]/noundefined': `${src}/input/tex/extensions/noundefined/noundefined.js`,
- '[tex]/physics': `${src}/input/tex/extensions/physics/physics.js`,
- '[tex]/require': `${src}/input/tex/extensions/require/require.js`,
- '[tex]/setoptions': `${src}/input/tex/extensions/setoptions/setoptions.js`,
- '[tex]/tagformat': `${src}/input/tex/extensions/tagformat/tagformat.js`,
- '[tex]/textmacros': `${src}/input/tex/extensions/textmacros/textmacros.js`,
- '[tex]/unicode': `${src}/input/tex/extensions/unicode/unicode.js`,
- '[tex]/verb': `${src}/input/tex/extensions/verb/verb.js`,
- '[tex]/cases': `${src}/input/tex/extensions/cases/cases.js`,
- '[tex]/empheq': `${src}/input/tex/extensions/empheq/empheq.js`,
- 'input/mml': `${src}/input/mml/mml.js`,
- 'input/mml/entities': `${src}/input/mml/entities/entities.js`,
- '[mml]/mml3': `${src}/input/mml/extensions/mml3/mml3.js`,
- 'input/asciimath': `${src}/input/asciimath/asciimath.js`,
- 'output/chtml': `${src}/output/chtml/chtml.js`,
- 'output/chtml/fonts/tex': `${src}/output/chtml/fonts/tex/tex.js`,
- 'output/svg': `${src}/output/svg/svg.js`,
- 'output/svg/fonts/tex': `${src}/output/svg/fonts/tex/tex.js`,
- 'a11y/assistive-mml': `${src}/a11y/assistive-mml/assistive-mml.js`,
- 'a11y/semantic-enrich': `${src}/a11y/semantic-enrich/semantic-enrich.js`,
- 'a11y/complexity': `${src}/a11y/complexity/complexity.js`,
- 'a11y/explorer': `${src}/a11y/explorer/explorer.js`,
- 'a11y/sre': `${src}/a11y/sre/sre.js`,
- 'ui/lazy': `${src}/ui/lazy/lazy.js`,
- 'ui/menu': `${src}/ui/menu/menu.js`,
- 'ui/safe': `${src}/ui/safe/safe.js`,
- 'mml-chtml': `${src}/mml-chtml/mml-chtml.js`,
- 'mml-svg': `${src}/mml-svg/mml-svg.js`,
- 'tex-chtml': `${src}/tex-chtml/tex-chtml.js`,
- 'tex-svg': `${src}/tex-svg/tex-svg.js`,
- 'tex-mml-chtml': `${src}/tex-mml-chtml/tex-mml-chtml.js`,
- 'tex-mml-svg': `${src}/tex-mml-svg/tex-mml-svg.js`,
- 'loader': `${src}/loader/loader.js`,
- 'startup': `${src}/startup/startup.js`
-};
diff --git a/static/js/mathjax/sre/copy.json b/static/js/mathjax/sre/copy.json
deleted file mode 100644
index 4d10511..0000000
--- a/static/js/mathjax/sre/copy.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "to": "../../../es5/sre",
- "from": "[node]/speech-rule-engine/lib",
- "copy": [
- "mathmaps"
- ]
-}
diff --git a/static/js/mathjax/startup/build.json b/static/js/mathjax/startup/build.json
deleted file mode 100644
index 3498ffc..0000000
--- a/static/js/mathjax/startup/build.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "component": "startup",
- "targets": [
- "components/loader.ts",
- "components/package.ts",
- "components/startup.ts"
- ]
-}
diff --git a/static/js/mathjax/startup/init.js b/static/js/mathjax/startup/init.js
deleted file mode 100644
index ccbe1b4..0000000
--- a/static/js/mathjax/startup/init.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import './lib/startup.js';
-
-import {combineDefaults} from '../../../js/components/global.js';
-import {dependencies, paths, provides, compatibility} from '../dependencies.js';
-
-combineDefaults(MathJax.config.loader, 'dependencies', dependencies);
-combineDefaults(MathJax.config.loader, 'paths', paths);
-combineDefaults(MathJax.config.loader, 'provides', provides);
-combineDefaults(MathJax.config.loader, 'source', compatibility);
diff --git a/static/js/mathjax/startup/startup.js b/static/js/mathjax/startup/startup.js
deleted file mode 100644
index 2a6dad2..0000000
--- a/static/js/mathjax/startup/startup.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import './init.js';
-import {Loader, CONFIG} from '../../../js/components/loader.js';
-
-Loader.preLoad('loader');
-
-Loader.load(...CONFIG.load)
- .then(() => CONFIG.ready())
- .catch(error => CONFIG.failed(error));
diff --git a/static/js/mathjax/startup/webpack.config.js b/static/js/mathjax/startup/webpack.config.js
deleted file mode 100644
index 46f7f97..0000000
--- a/static/js/mathjax/startup/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'startup', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-chtml-full-speech/preload.js b/static/js/mathjax/tex-chtml-full-speech/preload.js
deleted file mode 100644
index 8957d1b..0000000
--- a/static/js/mathjax/tex-chtml-full-speech/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex-full',
- 'output/chtml', 'output/chtml/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml', 'a11y/sre'
-);
diff --git a/static/js/mathjax/tex-chtml-full-speech/tex-chtml-full-speech.js b/static/js/mathjax/tex-chtml-full-speech/tex-chtml-full-speech.js
deleted file mode 100644
index 1af76d2..0000000
--- a/static/js/mathjax/tex-chtml-full-speech/tex-chtml-full-speech.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex-full/tex-full.js';
-import '../output/chtml/chtml.js';
-import '../output/chtml/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../a11y/sre/sre.js';
-import MathMaps from '../../../js/a11y/mathmaps.js';
-import base from 'speech-rule-engine/lib/mathmaps/base.json';
-import en from 'speech-rule-engine/lib/mathmaps/en.json';
-import nemeth from 'speech-rule-engine/lib/mathmaps/nemeth.json';
-
-MathMaps.set('base', base);
-MathMaps.set('en', en);
-MathMaps.set('nemeth', nemeth);
-
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-chtml-full-speech/webpack.config.js b/static/js/mathjax/tex-chtml-full-speech/webpack.config.js
deleted file mode 100644
index 1c12fde..0000000
--- a/static/js/mathjax/tex-chtml-full-speech/webpack.config.js
+++ /dev/null
@@ -1,9 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-chtml-full-speech', // the package to build
- '../../../js', // location of the MathJax js library
- [ // packages to link to
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-chtml-full/preload.js b/static/js/mathjax/tex-chtml-full/preload.js
deleted file mode 100644
index 76c81c9..0000000
--- a/static/js/mathjax/tex-chtml-full/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex-full',
- 'output/chtml', 'output/chtml/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-chtml-full/tex-chtml-full.js b/static/js/mathjax/tex-chtml-full/tex-chtml-full.js
deleted file mode 100644
index 79cd25a..0000000
--- a/static/js/mathjax/tex-chtml-full/tex-chtml-full.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex-full/tex-full.js';
-import '../output/chtml/chtml.js';
-import '../output/chtml/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-chtml-full/webpack.config.js b/static/js/mathjax/tex-chtml-full/webpack.config.js
deleted file mode 100644
index 56dda0e..0000000
--- a/static/js/mathjax/tex-chtml-full/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-chtml-full', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-chtml/preload.js b/static/js/mathjax/tex-chtml/preload.js
deleted file mode 100644
index 89f110c..0000000
--- a/static/js/mathjax/tex-chtml/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex',
- 'output/chtml', 'output/chtml/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-chtml/tex-chtml.js b/static/js/mathjax/tex-chtml/tex-chtml.js
deleted file mode 100644
index 0bea55b..0000000
--- a/static/js/mathjax/tex-chtml/tex-chtml.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex/tex.js';
-import '../output/chtml/chtml.js';
-import '../output/chtml/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-chtml/webpack.config.js b/static/js/mathjax/tex-chtml/webpack.config.js
deleted file mode 100644
index 2d5c67f..0000000
--- a/static/js/mathjax/tex-chtml/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-chtml', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-mml-chtml/preload.js b/static/js/mathjax/tex-mml-chtml/preload.js
deleted file mode 100644
index 7adb6a3..0000000
--- a/static/js/mathjax/tex-mml-chtml/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex', 'input/mml',
- 'output/chtml', 'output/chtml/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-mml-chtml/tex-mml-chtml.js b/static/js/mathjax/tex-mml-chtml/tex-mml-chtml.js
deleted file mode 100644
index 9a1d1ec..0000000
--- a/static/js/mathjax/tex-mml-chtml/tex-mml-chtml.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex/tex.js';
-import '../input/mml/mml.js';
-import '../output/chtml/chtml.js';
-import '../output/chtml/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-mml-chtml/webpack.config.js b/static/js/mathjax/tex-mml-chtml/webpack.config.js
deleted file mode 100644
index 2d1195b..0000000
--- a/static/js/mathjax/tex-mml-chtml/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-mml-chtml', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-mml-svg/preload.js b/static/js/mathjax/tex-mml-svg/preload.js
deleted file mode 100644
index 69d6a2c..0000000
--- a/static/js/mathjax/tex-mml-svg/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex', 'input/mml',
- 'output/svg', 'output/svg/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-mml-svg/tex-mml-svg.js b/static/js/mathjax/tex-mml-svg/tex-mml-svg.js
deleted file mode 100644
index 631bf8c..0000000
--- a/static/js/mathjax/tex-mml-svg/tex-mml-svg.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex/tex.js';
-import '../input/mml/mml.js';
-import '../output/svg/svg.js';
-import '../output/svg/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-mml-svg/webpack.config.js b/static/js/mathjax/tex-mml-svg/webpack.config.js
deleted file mode 100644
index 1323d67..0000000
--- a/static/js/mathjax/tex-mml-svg/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-mml-svg', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-svg-full/preload.js b/static/js/mathjax/tex-svg-full/preload.js
deleted file mode 100644
index d4165cf..0000000
--- a/static/js/mathjax/tex-svg-full/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex-full',
- 'output/svg', 'output/svg/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-svg-full/tex-svg-full.js b/static/js/mathjax/tex-svg-full/tex-svg-full.js
deleted file mode 100644
index 188f526..0000000
--- a/static/js/mathjax/tex-svg-full/tex-svg-full.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex-full/tex-full.js';
-import '../output/svg/svg.js';
-import '../output/svg/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-svg-full/webpack.config.js b/static/js/mathjax/tex-svg-full/webpack.config.js
deleted file mode 100644
index 391234b..0000000
--- a/static/js/mathjax/tex-svg-full/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-svg-full', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/tex-svg/preload.js b/static/js/mathjax/tex-svg/preload.js
deleted file mode 100644
index 284ce31..0000000
--- a/static/js/mathjax/tex-svg/preload.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import {Loader} from '../../../js/components/loader.js';
-
-Loader.preLoad(
- 'loader', 'startup',
- 'core',
- 'input/tex',
- 'output/svg', 'output/svg/fonts/tex.js',
- 'ui/menu', 'a11y/assistive-mml'
-);
diff --git a/static/js/mathjax/tex-svg/tex-svg.js b/static/js/mathjax/tex-svg/tex-svg.js
deleted file mode 100644
index 8225eb1..0000000
--- a/static/js/mathjax/tex-svg/tex-svg.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import '../startup/init.js';
-import './preload.js';
-import '../core/core.js';
-import '../input/tex/tex.js';
-import '../output/svg/svg.js';
-import '../output/svg/fonts/tex/tex.js';
-import '../ui/menu/menu.js';
-import '../a11y/assistive-mml/assistive-mml.js';
-import '../startup/startup.js';
diff --git a/static/js/mathjax/tex-svg/webpack.config.js b/static/js/mathjax/tex-svg/webpack.config.js
deleted file mode 100644
index 3a0b368..0000000
--- a/static/js/mathjax/tex-svg/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'tex-svg', // the package to build
- '../../../js', // location of the MathJax js library
- [], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/ui/lazy/build.json b/static/js/mathjax/ui/lazy/build.json
deleted file mode 100644
index 118dae5..0000000
--- a/static/js/mathjax/ui/lazy/build.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "component": "ui/lazy",
- "targets": ["ui/lazy"]
-}
-
diff --git a/static/js/mathjax/ui/lazy/lazy.js b/static/js/mathjax/ui/lazy/lazy.js
deleted file mode 100644
index b75c44b..0000000
--- a/static/js/mathjax/ui/lazy/lazy.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import './lib/lazy.js';
-
-import {LazyHandler} from '../../../../js/ui/lazy/LazyHandler.js';
-
-if (MathJax.startup) {
- MathJax.startup.extendHandler(handler => LazyHandler(handler));
-}
diff --git a/static/js/mathjax/ui/lazy/webpack.config.js b/static/js/mathjax/ui/lazy/webpack.config.js
deleted file mode 100644
index ce8209e..0000000
--- a/static/js/mathjax/ui/lazy/webpack.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'ui/lazy', // the package to build
- '../../../../js', // location of the MathJax js library
- [ // packages to link to
- 'components/src/core/lib'
- ],
- __dirname // our directory
-);
diff --git a/static/js/mathjax/ui/menu/build.json b/static/js/mathjax/ui/menu/build.json
deleted file mode 100644
index 7e29548..0000000
--- a/static/js/mathjax/ui/menu/build.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "component": "ui/menu",
- "targets": ["ui/menu"]
-}
diff --git a/static/js/mathjax/ui/menu/menu.js b/static/js/mathjax/ui/menu/menu.js
deleted file mode 100644
index 701943b..0000000
--- a/static/js/mathjax/ui/menu/menu.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import './lib/menu.js';
-
-import {MenuHandler} from '../../../../js/ui/menu/MenuHandler.js';
-
-if (MathJax.startup && typeof window !== 'undefined') {
- MathJax.startup.extendHandler(handler => MenuHandler(handler), 20);
-}
diff --git a/static/js/mathjax/ui/menu/webpack.config.js b/static/js/mathjax/ui/menu/webpack.config.js
deleted file mode 100644
index 8788bae..0000000
--- a/static/js/mathjax/ui/menu/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'ui/menu', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib', 'node_modules/mj-context-menu/js'], // packages to link to
- __dirname // our directory
-);
diff --git a/static/js/mathjax/ui/safe/build.json b/static/js/mathjax/ui/safe/build.json
deleted file mode 100644
index c3ee2c5..0000000
--- a/static/js/mathjax/ui/safe/build.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "component": "ui/safe",
- "targets": ["ui/safe"]
-}
diff --git a/static/js/mathjax/ui/safe/safe.js b/static/js/mathjax/ui/safe/safe.js
deleted file mode 100644
index 8eab2fa..0000000
--- a/static/js/mathjax/ui/safe/safe.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import './lib/safe.js';
-
-import {SafeHandler} from '../../../../js/ui/safe/SafeHandler.js';
-
-if (MathJax.startup && typeof window !== 'undefined') {
- MathJax.startup.extendHandler(handler => SafeHandler(handler));
-}
diff --git a/static/js/mathjax/ui/safe/webpack.config.js b/static/js/mathjax/ui/safe/webpack.config.js
deleted file mode 100644
index a95788a..0000000
--- a/static/js/mathjax/ui/safe/webpack.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const PACKAGE = require('../../../webpack.common.js');
-
-module.exports = PACKAGE(
- 'ui/safe', // the package to build
- '../../../../js', // location of the MathJax js library
- ['components/src/core/lib'], // packages to link to
- __dirname // our directory
-);