From 5676dfaf565148f472d6a35c1f244d1199454a49 Mon Sep 17 00:00:00 2001 From: Daniel Saunders Date: Mon, 30 Sep 2024 09:12:23 +1000 Subject: [PATCH] Undoing attempt at self-hosting MathJax (it didn't work). --- exampleSite/hugo.toml | 2 +- layouts/partials/header_includes.html | 4 +- static/js/{mathjax => }/mathjax-config.js | 0 .../a11y/assistive-mml/assistive-mml.js | 7 -- .../js/mathjax/a11y/assistive-mml/build.json | 5 - .../a11y/assistive-mml/webpack.config.js | 11 --- static/js/mathjax/a11y/complexity/build.json | 8 -- .../js/mathjax/a11y/complexity/complexity.js | 9 -- .../mathjax/a11y/complexity/webpack.config.js | 12 --- static/js/mathjax/a11y/explorer/build.json | 4 - static/js/mathjax/a11y/explorer/explorer.js | 8 -- .../mathjax/a11y/explorer/webpack.config.js | 14 --- .../mathjax/a11y/semantic-enrich/build.json | 5 - .../a11y/semantic-enrich/semantic-enrich.js | 14 --- .../a11y/semantic-enrich/webpack.config.js | 12 --- static/js/mathjax/a11y/sre/build.json | 5 - static/js/mathjax/a11y/sre/sre.js | 9 -- static/js/mathjax/a11y/sre/sre_config.js | 19 ---- static/js/mathjax/a11y/sre/webpack.config.js | 12 --- static/js/mathjax/adaptors/liteDOM/build.json | 5 - static/js/mathjax/adaptors/liteDOM/liteDOM.js | 8 -- .../adaptors/liteDOM/webpack.config.js | 8 -- static/js/mathjax/core/build.json | 20 ---- static/js/mathjax/core/core.js | 14 --- static/js/mathjax/core/webpack.config.js | 8 -- static/js/mathjax/dependencies.js | 97 ------------------- .../js/mathjax/input/asciimath/asciimath.js | 8 -- static/js/mathjax/input/asciimath/build.json | 5 - .../mathjax/input/asciimath/webpack.config.js | 8 -- static/js/mathjax/input/mml/build.json | 8 -- .../js/mathjax/input/mml/entities/entities.js | 2 - .../input/mml/entities/webpack.config.js | 8 -- .../input/mml/extensions/mml3/build.json | 5 - .../input/mml/extensions/mml3/copy.json | 7 -- .../mathjax/input/mml/extensions/mml3/mml3.js | 7 -- .../mml/extensions/mml3/webpack.config.js | 11 --- static/js/mathjax/input/mml/mml.js | 18 ---- static/js/mathjax/input/mml/webpack.config.js | 8 -- static/js/mathjax/input/tex-base/build.json | 10 -- static/js/mathjax/input/tex-base/tex-base.js | 6 -- .../mathjax/input/tex-base/webpack.config.js | 8 -- static/js/mathjax/input/tex-full/build.json | 8 -- static/js/mathjax/input/tex-full/tex-full.js | 12 --- .../mathjax/input/tex-full/webpack.config.js | 11 --- static/js/mathjax/input/tex/build.json | 16 --- .../input/tex/extensions/action/action.js | 1 - .../input/tex/extensions/action/build.json | 5 - .../tex/extensions/action/webpack.config.js | 11 --- .../extensions/all-packages/all-packages.js | 12 --- .../tex/extensions/all-packages/build.json | 10 -- .../extensions/all-packages/webpack.config.js | 12 --- .../mathjax/input/tex/extensions/ams/ams.js | 1 - .../input/tex/extensions/ams/build.json | 5 - .../tex/extensions/ams/webpack.config.js | 11 --- .../input/tex/extensions/amscd/amscd.js | 1 - .../input/tex/extensions/amscd/build.json | 5 - .../tex/extensions/amscd/webpack.config.js | 11 --- .../input/tex/extensions/autoload/autoload.js | 1 - .../input/tex/extensions/autoload/build.json | 5 - .../tex/extensions/autoload/webpack.config.js | 13 --- .../mathjax/input/tex/extensions/bbox/bbox.js | 1 - .../input/tex/extensions/bbox/build.json | 5 - .../tex/extensions/bbox/webpack.config.js | 11 --- .../tex/extensions/boldsymbol/boldsymbol.js | 1 - .../tex/extensions/boldsymbol/build.json | 5 - .../extensions/boldsymbol/webpack.config.js | 11 --- .../input/tex/extensions/braket/braket.js | 1 - .../input/tex/extensions/braket/build.json | 5 - .../tex/extensions/braket/webpack.config.js | 11 --- .../tex/extensions/bussproofs/build.json | 5 - .../tex/extensions/bussproofs/bussproofs.js | 1 - .../extensions/bussproofs/webpack.config.js | 11 --- .../input/tex/extensions/cancel/build.json | 5 - .../input/tex/extensions/cancel/cancel.js | 1 - .../tex/extensions/cancel/webpack.config.js | 12 --- .../input/tex/extensions/cases/build.json | 5 - .../input/tex/extensions/cases/cases.js | 1 - .../tex/extensions/cases/webpack.config.js | 14 --- .../input/tex/extensions/centernot/build.json | 5 - .../tex/extensions/centernot/centernot.js | 1 - .../extensions/centernot/webpack.config.js | 11 --- .../input/tex/extensions/color/build.json | 5 - .../input/tex/extensions/color/color.js | 1 - .../tex/extensions/color/webpack.config.js | 11 --- .../input/tex/extensions/colortbl/build.json | 5 - .../input/tex/extensions/colortbl/colortbl.js | 1 - .../tex/extensions/colortbl/webpack.config.js | 11 --- .../input/tex/extensions/colorv2/build.json | 5 - .../input/tex/extensions/colorv2/colorv2.js | 1 - .../tex/extensions/colorv2/webpack.config.js | 11 --- .../tex/extensions/configmacros/build.json | 5 - .../extensions/configmacros/configmacros.js | 1 - .../extensions/configmacros/webpack.config.js | 13 --- .../input/tex/extensions/empheq/build.json | 5 - .../input/tex/extensions/empheq/empheq.js | 1 - .../tex/extensions/empheq/webpack.config.js | 12 --- .../input/tex/extensions/enclose/build.json | 5 - .../input/tex/extensions/enclose/enclose.js | 1 - .../tex/extensions/enclose/webpack.config.js | 11 --- .../input/tex/extensions/extpfeil/build.json | 5 - .../input/tex/extensions/extpfeil/extpfeil.js | 1 - .../tex/extensions/extpfeil/webpack.config.js | 13 --- .../input/tex/extensions/gensymb/build.json | 5 - .../input/tex/extensions/gensymb/gensymb.js | 1 - .../tex/extensions/gensymb/webpack.config.js | 11 --- .../input/tex/extensions/html/build.json | 5 - .../mathjax/input/tex/extensions/html/html.js | 1 - .../tex/extensions/html/webpack.config.js | 11 --- .../input/tex/extensions/mathtools/build.json | 5 - .../tex/extensions/mathtools/mathtools.js | 1 - .../extensions/mathtools/webpack.config.js | 13 --- .../input/tex/extensions/mhchem/build.json | 6 -- .../input/tex/extensions/mhchem/mhchem.js | 1 - .../tex/extensions/mhchem/webpack.config.js | 12 --- .../tex/extensions/newcommand/build.json | 5 - .../tex/extensions/newcommand/newcommand.js | 1 - .../extensions/newcommand/webpack.config.js | 11 --- .../input/tex/extensions/noerrors/build.json | 5 - .../input/tex/extensions/noerrors/noerrors.js | 1 - .../tex/extensions/noerrors/webpack.config.js | 11 --- .../tex/extensions/noundefined/build.json | 5 - .../tex/extensions/noundefined/noundefined.js | 1 - .../extensions/noundefined/webpack.config.js | 11 --- .../input/tex/extensions/physics/build.json | 5 - .../input/tex/extensions/physics/physics.js | 1 - .../tex/extensions/physics/webpack.config.js | 11 --- .../input/tex/extensions/require/build.json | 5 - .../input/tex/extensions/require/require.js | 1 - .../tex/extensions/require/webpack.config.js | 12 --- .../tex/extensions/setoptions/build.json | 5 - .../tex/extensions/setoptions/setoptions.js | 1 - .../extensions/setoptions/webpack.config.js | 11 --- .../input/tex/extensions/tagformat/build.json | 5 - .../tex/extensions/tagformat/tagformat.js | 1 - .../extensions/tagformat/webpack.config.js | 11 --- .../input/tex/extensions/textcomp/build.json | 5 - .../input/tex/extensions/textcomp/textcomp.js | 1 - .../tex/extensions/textcomp/webpack.config.js | 12 --- .../tex/extensions/textmacros/build.json | 5 - .../tex/extensions/textmacros/textmacros.js | 1 - .../extensions/textmacros/webpack.config.js | 11 --- .../input/tex/extensions/unicode/build.json | 5 - .../input/tex/extensions/unicode/unicode.js | 1 - .../tex/extensions/unicode/webpack.config.js | 11 --- .../input/tex/extensions/upgreek/build.json | 5 - .../input/tex/extensions/upgreek/upgreek.js | 1 - .../tex/extensions/upgreek/webpack.config.js | 11 --- .../input/tex/extensions/verb/build.json | 5 - .../mathjax/input/tex/extensions/verb/verb.js | 1 - .../tex/extensions/verb/webpack.config.js | 11 --- static/js/mathjax/input/tex/register.js | 18 ---- static/js/mathjax/input/tex/tex.js | 24 ----- static/js/mathjax/input/tex/webpack.config.js | 11 --- static/js/mathjax/latest/latest.js | 3 - static/js/mathjax/latest/webpack.config.js | 8 -- static/js/mathjax/loader/build.json | 7 -- static/js/mathjax/loader/loader.js | 13 --- static/js/mathjax/loader/webpack.config.js | 8 -- static/js/mathjax/mml-chtml/mml-chtml.js | 9 -- static/js/mathjax/mml-chtml/preload.js | 9 -- static/js/mathjax/mml-chtml/webpack.config.js | 8 -- static/js/mathjax/mml-svg/mml-svg.js | 9 -- static/js/mathjax/mml-svg/preload.js | 9 -- static/js/mathjax/mml-svg/webpack.config.js | 8 -- static/js/mathjax/node-main/node-main.js | 83 ---------------- static/js/mathjax/node-main/webpack.config.js | 17 ---- static/js/mathjax/output/chtml/build.json | 5 - static/js/mathjax/output/chtml/chtml.js | 17 ---- .../mathjax/output/chtml/fonts/tex/build.json | 4 - .../mathjax/output/chtml/fonts/tex/copy.json | 29 ------ .../js/mathjax/output/chtml/fonts/tex/tex.js | 14 --- .../output/chtml/fonts/tex/webpack.config.js | 12 --- static/js/mathjax/output/chtml/nofont.js | 5 - .../js/mathjax/output/chtml/webpack.config.js | 18 ---- static/js/mathjax/output/svg/build.json | 5 - .../mathjax/output/svg/fonts/tex/build.json | 4 - static/js/mathjax/output/svg/fonts/tex/tex.js | 10 -- .../output/svg/fonts/tex/webpack.config.js | 11 --- static/js/mathjax/output/svg/nofont.js | 5 - static/js/mathjax/output/svg/svg.js | 17 ---- .../js/mathjax/output/svg/webpack.config.js | 18 ---- static/js/mathjax/source.js | 81 ---------------- static/js/mathjax/sre/copy.json | 7 -- static/js/mathjax/startup/build.json | 8 -- static/js/mathjax/startup/init.js | 9 -- static/js/mathjax/startup/startup.js | 8 -- static/js/mathjax/startup/webpack.config.js | 8 -- .../mathjax/tex-chtml-full-speech/preload.js | 9 -- .../tex-chtml-full-speech.js | 19 ---- .../tex-chtml-full-speech/webpack.config.js | 9 -- static/js/mathjax/tex-chtml-full/preload.js | 9 -- .../mathjax/tex-chtml-full/tex-chtml-full.js | 9 -- .../mathjax/tex-chtml-full/webpack.config.js | 8 -- static/js/mathjax/tex-chtml/preload.js | 9 -- static/js/mathjax/tex-chtml/tex-chtml.js | 9 -- static/js/mathjax/tex-chtml/webpack.config.js | 8 -- static/js/mathjax/tex-mml-chtml/preload.js | 9 -- .../js/mathjax/tex-mml-chtml/tex-mml-chtml.js | 10 -- .../mathjax/tex-mml-chtml/webpack.config.js | 8 -- static/js/mathjax/tex-mml-svg/preload.js | 9 -- static/js/mathjax/tex-mml-svg/tex-mml-svg.js | 10 -- .../js/mathjax/tex-mml-svg/webpack.config.js | 8 -- static/js/mathjax/tex-svg-full/preload.js | 9 -- .../js/mathjax/tex-svg-full/tex-svg-full.js | 9 -- .../js/mathjax/tex-svg-full/webpack.config.js | 8 -- static/js/mathjax/tex-svg/preload.js | 9 -- static/js/mathjax/tex-svg/tex-svg.js | 9 -- static/js/mathjax/tex-svg/webpack.config.js | 8 -- static/js/mathjax/ui/lazy/build.json | 5 - static/js/mathjax/ui/lazy/lazy.js | 7 -- static/js/mathjax/ui/lazy/webpack.config.js | 10 -- static/js/mathjax/ui/menu/build.json | 4 - static/js/mathjax/ui/menu/menu.js | 7 -- static/js/mathjax/ui/menu/webpack.config.js | 8 -- static/js/mathjax/ui/safe/build.json | 4 - static/js/mathjax/ui/safe/safe.js | 7 -- static/js/mathjax/ui/safe/webpack.config.js | 8 -- 217 files changed, 3 insertions(+), 1906 deletions(-) rename static/js/{mathjax => }/mathjax-config.js (100%) delete mode 100644 static/js/mathjax/a11y/assistive-mml/assistive-mml.js delete mode 100644 static/js/mathjax/a11y/assistive-mml/build.json delete mode 100644 static/js/mathjax/a11y/assistive-mml/webpack.config.js delete mode 100644 static/js/mathjax/a11y/complexity/build.json delete mode 100644 static/js/mathjax/a11y/complexity/complexity.js delete mode 100644 static/js/mathjax/a11y/complexity/webpack.config.js delete mode 100644 static/js/mathjax/a11y/explorer/build.json delete mode 100644 static/js/mathjax/a11y/explorer/explorer.js delete mode 100644 static/js/mathjax/a11y/explorer/webpack.config.js delete mode 100644 static/js/mathjax/a11y/semantic-enrich/build.json delete mode 100644 static/js/mathjax/a11y/semantic-enrich/semantic-enrich.js delete mode 100644 static/js/mathjax/a11y/semantic-enrich/webpack.config.js delete mode 100644 static/js/mathjax/a11y/sre/build.json delete mode 100644 static/js/mathjax/a11y/sre/sre.js delete mode 100644 static/js/mathjax/a11y/sre/sre_config.js delete mode 100644 static/js/mathjax/a11y/sre/webpack.config.js delete mode 100644 static/js/mathjax/adaptors/liteDOM/build.json delete mode 100644 static/js/mathjax/adaptors/liteDOM/liteDOM.js delete mode 100644 static/js/mathjax/adaptors/liteDOM/webpack.config.js delete mode 100644 static/js/mathjax/core/build.json delete mode 100644 static/js/mathjax/core/core.js delete mode 100644 static/js/mathjax/core/webpack.config.js delete mode 100644 static/js/mathjax/dependencies.js delete mode 100644 static/js/mathjax/input/asciimath/asciimath.js delete mode 100644 static/js/mathjax/input/asciimath/build.json delete mode 100644 static/js/mathjax/input/asciimath/webpack.config.js delete mode 100644 static/js/mathjax/input/mml/build.json delete mode 100644 static/js/mathjax/input/mml/entities/entities.js delete mode 100644 static/js/mathjax/input/mml/entities/webpack.config.js delete mode 100644 static/js/mathjax/input/mml/extensions/mml3/build.json delete mode 100644 static/js/mathjax/input/mml/extensions/mml3/copy.json delete mode 100644 static/js/mathjax/input/mml/extensions/mml3/mml3.js delete mode 100644 static/js/mathjax/input/mml/extensions/mml3/webpack.config.js delete mode 100644 static/js/mathjax/input/mml/mml.js delete mode 100644 static/js/mathjax/input/mml/webpack.config.js delete mode 100644 static/js/mathjax/input/tex-base/build.json delete mode 100644 static/js/mathjax/input/tex-base/tex-base.js delete mode 100644 static/js/mathjax/input/tex-base/webpack.config.js delete mode 100644 static/js/mathjax/input/tex-full/build.json delete mode 100644 static/js/mathjax/input/tex-full/tex-full.js delete mode 100644 static/js/mathjax/input/tex-full/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/action/action.js delete mode 100644 static/js/mathjax/input/tex/extensions/action/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/action/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/all-packages/all-packages.js delete mode 100644 static/js/mathjax/input/tex/extensions/all-packages/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/all-packages/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/ams/ams.js delete mode 100644 static/js/mathjax/input/tex/extensions/ams/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/ams/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/amscd/amscd.js delete mode 100644 static/js/mathjax/input/tex/extensions/amscd/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/amscd/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/autoload/autoload.js delete mode 100644 static/js/mathjax/input/tex/extensions/autoload/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/autoload/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/bbox/bbox.js delete mode 100644 static/js/mathjax/input/tex/extensions/bbox/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/bbox/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/boldsymbol/boldsymbol.js delete mode 100644 static/js/mathjax/input/tex/extensions/boldsymbol/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/boldsymbol/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/braket/braket.js delete mode 100644 static/js/mathjax/input/tex/extensions/braket/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/braket/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/bussproofs/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/bussproofs/bussproofs.js delete mode 100644 static/js/mathjax/input/tex/extensions/bussproofs/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/cancel/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/cancel/cancel.js delete mode 100644 static/js/mathjax/input/tex/extensions/cancel/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/cases/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/cases/cases.js delete mode 100644 static/js/mathjax/input/tex/extensions/cases/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/centernot/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/centernot/centernot.js delete mode 100644 static/js/mathjax/input/tex/extensions/centernot/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/color/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/color/color.js delete mode 100644 static/js/mathjax/input/tex/extensions/color/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/colortbl/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/colortbl/colortbl.js delete mode 100644 static/js/mathjax/input/tex/extensions/colortbl/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/colorv2/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/colorv2/colorv2.js delete mode 100644 static/js/mathjax/input/tex/extensions/colorv2/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/configmacros/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/configmacros/configmacros.js delete mode 100644 static/js/mathjax/input/tex/extensions/configmacros/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/empheq/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/empheq/empheq.js delete mode 100644 static/js/mathjax/input/tex/extensions/empheq/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/enclose/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/enclose/enclose.js delete mode 100644 static/js/mathjax/input/tex/extensions/enclose/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/extpfeil/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/extpfeil/extpfeil.js delete mode 100644 static/js/mathjax/input/tex/extensions/extpfeil/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/gensymb/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/gensymb/gensymb.js delete mode 100644 static/js/mathjax/input/tex/extensions/gensymb/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/html/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/html/html.js delete mode 100644 static/js/mathjax/input/tex/extensions/html/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/mathtools/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/mathtools/mathtools.js delete mode 100644 static/js/mathjax/input/tex/extensions/mathtools/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/mhchem/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/mhchem/mhchem.js delete mode 100644 static/js/mathjax/input/tex/extensions/mhchem/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/newcommand/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/newcommand/newcommand.js delete mode 100644 static/js/mathjax/input/tex/extensions/newcommand/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/noerrors/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/noerrors/noerrors.js delete mode 100644 static/js/mathjax/input/tex/extensions/noerrors/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/noundefined/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/noundefined/noundefined.js delete mode 100644 static/js/mathjax/input/tex/extensions/noundefined/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/physics/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/physics/physics.js delete mode 100644 static/js/mathjax/input/tex/extensions/physics/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/require/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/require/require.js delete mode 100644 static/js/mathjax/input/tex/extensions/require/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/setoptions/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/setoptions/setoptions.js delete mode 100644 static/js/mathjax/input/tex/extensions/setoptions/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/tagformat/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/tagformat/tagformat.js delete mode 100644 static/js/mathjax/input/tex/extensions/tagformat/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/textcomp/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/textcomp/textcomp.js delete mode 100644 static/js/mathjax/input/tex/extensions/textcomp/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/textmacros/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/textmacros/textmacros.js delete mode 100644 static/js/mathjax/input/tex/extensions/textmacros/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/unicode/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/unicode/unicode.js delete mode 100644 static/js/mathjax/input/tex/extensions/unicode/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/upgreek/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/upgreek/upgreek.js delete mode 100644 static/js/mathjax/input/tex/extensions/upgreek/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/extensions/verb/build.json delete mode 100644 static/js/mathjax/input/tex/extensions/verb/verb.js delete mode 100644 static/js/mathjax/input/tex/extensions/verb/webpack.config.js delete mode 100644 static/js/mathjax/input/tex/register.js delete mode 100644 static/js/mathjax/input/tex/tex.js delete mode 100644 static/js/mathjax/input/tex/webpack.config.js delete mode 100644 static/js/mathjax/latest/latest.js delete mode 100644 static/js/mathjax/latest/webpack.config.js delete mode 100644 static/js/mathjax/loader/build.json delete mode 100644 static/js/mathjax/loader/loader.js delete mode 100644 static/js/mathjax/loader/webpack.config.js delete mode 100644 static/js/mathjax/mml-chtml/mml-chtml.js delete mode 100644 static/js/mathjax/mml-chtml/preload.js delete mode 100644 static/js/mathjax/mml-chtml/webpack.config.js delete mode 100644 static/js/mathjax/mml-svg/mml-svg.js delete mode 100644 static/js/mathjax/mml-svg/preload.js delete mode 100644 static/js/mathjax/mml-svg/webpack.config.js delete mode 100644 static/js/mathjax/node-main/node-main.js delete mode 100644 static/js/mathjax/node-main/webpack.config.js delete mode 100644 static/js/mathjax/output/chtml/build.json delete mode 100644 static/js/mathjax/output/chtml/chtml.js delete mode 100644 static/js/mathjax/output/chtml/fonts/tex/build.json delete mode 100644 static/js/mathjax/output/chtml/fonts/tex/copy.json delete mode 100644 static/js/mathjax/output/chtml/fonts/tex/tex.js delete mode 100644 static/js/mathjax/output/chtml/fonts/tex/webpack.config.js delete mode 100644 static/js/mathjax/output/chtml/nofont.js delete mode 100644 static/js/mathjax/output/chtml/webpack.config.js delete mode 100644 static/js/mathjax/output/svg/build.json delete mode 100644 static/js/mathjax/output/svg/fonts/tex/build.json delete mode 100644 static/js/mathjax/output/svg/fonts/tex/tex.js delete mode 100644 static/js/mathjax/output/svg/fonts/tex/webpack.config.js delete mode 100644 static/js/mathjax/output/svg/nofont.js delete mode 100644 static/js/mathjax/output/svg/svg.js delete mode 100644 static/js/mathjax/output/svg/webpack.config.js delete mode 100644 static/js/mathjax/source.js delete mode 100644 static/js/mathjax/sre/copy.json delete mode 100644 static/js/mathjax/startup/build.json delete mode 100644 static/js/mathjax/startup/init.js delete mode 100644 static/js/mathjax/startup/startup.js delete mode 100644 static/js/mathjax/startup/webpack.config.js delete mode 100644 static/js/mathjax/tex-chtml-full-speech/preload.js delete mode 100644 static/js/mathjax/tex-chtml-full-speech/tex-chtml-full-speech.js delete mode 100644 static/js/mathjax/tex-chtml-full-speech/webpack.config.js delete mode 100644 static/js/mathjax/tex-chtml-full/preload.js delete mode 100644 static/js/mathjax/tex-chtml-full/tex-chtml-full.js delete mode 100644 static/js/mathjax/tex-chtml-full/webpack.config.js delete mode 100644 static/js/mathjax/tex-chtml/preload.js delete mode 100644 static/js/mathjax/tex-chtml/tex-chtml.js delete mode 100644 static/js/mathjax/tex-chtml/webpack.config.js delete mode 100644 static/js/mathjax/tex-mml-chtml/preload.js delete mode 100644 static/js/mathjax/tex-mml-chtml/tex-mml-chtml.js delete mode 100644 static/js/mathjax/tex-mml-chtml/webpack.config.js delete mode 100644 static/js/mathjax/tex-mml-svg/preload.js delete mode 100644 static/js/mathjax/tex-mml-svg/tex-mml-svg.js delete mode 100644 static/js/mathjax/tex-mml-svg/webpack.config.js delete mode 100644 static/js/mathjax/tex-svg-full/preload.js delete mode 100644 static/js/mathjax/tex-svg-full/tex-svg-full.js delete mode 100644 static/js/mathjax/tex-svg-full/webpack.config.js delete mode 100644 static/js/mathjax/tex-svg/preload.js delete mode 100644 static/js/mathjax/tex-svg/tex-svg.js delete mode 100644 static/js/mathjax/tex-svg/webpack.config.js delete mode 100644 static/js/mathjax/ui/lazy/build.json delete mode 100644 static/js/mathjax/ui/lazy/lazy.js delete mode 100644 static/js/mathjax/ui/lazy/webpack.config.js delete mode 100644 static/js/mathjax/ui/menu/build.json delete mode 100644 static/js/mathjax/ui/menu/menu.js delete mode 100644 static/js/mathjax/ui/menu/webpack.config.js delete mode 100644 static/js/mathjax/ui/safe/build.json delete mode 100644 static/js/mathjax/ui/safe/safe.js delete mode 100644 static/js/mathjax/ui/safe/webpack.config.js diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 28ac2fe8..461bd887 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 d3a5339f..66fe5417 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 745e65ae..00000000 --- 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 c7ac2bd3..00000000 --- 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 b89b94d5..00000000 --- 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 c26a9b74..00000000 --- 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 1fbc931a..00000000 --- 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 c049f6d8..00000000 --- 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 9ebcdc5a..00000000 --- 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 25a6f7b0..00000000 --- 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 b44c45e7..00000000 --- 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 c6f85eac..00000000 --- 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 2491174d..00000000 --- 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 8de3e025..00000000 --- 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 fe6b7dd8..00000000 --- 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 0327644d..00000000 --- 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 0dd3ae3e..00000000 --- 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 c89adb4b..00000000 --- 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 334f3f09..00000000 --- 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 d4b959bb..00000000 --- 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 6c29ad8c..00000000 --- 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 b9bbdb76..00000000 --- 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 059580e1..00000000 --- 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 c5232525..00000000 --- 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 6a33e9e7..00000000 --- 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 a2b51375..00000000 --- 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 4fca2b38..00000000 --- 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 7f985085..00000000 --- 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 d4864a0f..00000000 --- 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 b02b6e50..00000000 --- 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 2386e2bc..00000000 --- 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 6ae79ed7..00000000 --- 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 aa791ea7..00000000 --- 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 72ecdf12..00000000 --- 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 b09f30c9..00000000 --- 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 7e81b27f..00000000 --- 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 301b5f84..00000000 --- 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 5e55e12c..00000000 --- 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 e3571c3a..00000000 --- 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 df380e75..00000000 --- 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 a245332b..00000000 --- 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 af10939e..00000000 --- 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 6c65c1a8..00000000 --- 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 1c7005b6..00000000 --- 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 f8582658..00000000 --- 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 a0b6af60..00000000 --- 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 4375ae57..00000000 --- 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 982db5ca..00000000 --- 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 216671f9..00000000 --- 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 bdb84243..00000000 --- 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 d5ea9f28..00000000 --- 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 865acc30..00000000 --- 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 1bff208a..00000000 --- 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 7518b2c8..00000000 --- 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 6c3fc87e..00000000 --- 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 c4fa7623..00000000 --- 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 a6cd341f..00000000 --- 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 d4f9b89e..00000000 --- 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 353163dd..00000000 --- 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 16c7d93b..00000000 --- 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 c5091855..00000000 --- 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 26cf2d1a..00000000 --- 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 d30a50e7..00000000 --- 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 3d59f0cb..00000000 --- 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 a7148941..00000000 --- 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 8388ad86..00000000 --- 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 c0631d75..00000000 --- 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 04df1028..00000000 --- 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 242e91f1..00000000 --- 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 07bcb365..00000000 --- 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 2afad5e7..00000000 --- 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 9577e4e9..00000000 --- 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 26420c22..00000000 --- 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 0324cb7a..00000000 --- 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 b4be43cb..00000000 --- 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 9102348a..00000000 --- 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 057036b3..00000000 --- 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 1ebcd76b..00000000 --- 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 792de690..00000000 --- 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 28d313fd..00000000 --- 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 3e8614c1..00000000 --- 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 4a4214c6..00000000 --- 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 3a656402..00000000 --- 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 cf70b9a7..00000000 --- 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 fbdf6e67..00000000 --- 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 74b52a8d..00000000 --- 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 0710e56e..00000000 --- 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 bbc7ad38..00000000 --- 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 cb7959bc..00000000 --- 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 809b5d94..00000000 --- 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 0dd16952..00000000 --- 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 a7b83b2e..00000000 --- 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 f0563a9b..00000000 --- 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 35d50ed0..00000000 --- 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 735dd6d9..00000000 --- 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 ebf489c8..00000000 --- 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 4e39b267..00000000 --- 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 a1bf56ae..00000000 --- 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 37378a52..00000000 --- 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 ad54bb1c..00000000 --- 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 018ceff3..00000000 --- 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 220fe879..00000000 --- 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 13ef4b41..00000000 --- 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 808daa56..00000000 --- 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 7ee5d20a..00000000 --- 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 9c3a2095..00000000 --- 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 4fae2f81..00000000 --- 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 b00ef314..00000000 --- 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 ec95d66b..00000000 --- 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 1b882c5a..00000000 --- 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 e7728bda..00000000 --- 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 cac9cc9c..00000000 --- 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 c50bd476..00000000 --- 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 119063b2..00000000 --- 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 86efc985..00000000 --- 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 1deed0d0..00000000 --- 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 dae2b51e..00000000 --- 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 c1153ae7..00000000 --- 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 6e929015..00000000 --- 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 3ea2d344..00000000 --- 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 1259bdbd..00000000 --- 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 177ff29d..00000000 --- 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 b0ba5aae..00000000 --- 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 a592a483..00000000 --- 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 fbfa9a71..00000000 --- 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 594088cf..00000000 --- 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 2031b81b..00000000 --- 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 63ff1948..00000000 --- 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 f7171fd6..00000000 --- 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 29992169..00000000 --- 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 1260438d..00000000 --- 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 e5647944..00000000 --- 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 29b0da31..00000000 --- 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 35bb113e..00000000 --- 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 dc88ae71..00000000 --- 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 23fc668b..00000000 --- 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 364a539e..00000000 --- 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 80b0e02d..00000000 --- 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 ea05a2a6..00000000 --- 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 8a648838..00000000 --- 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 2e760480..00000000 --- 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 63b91104..00000000 --- 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 8054276b..00000000 --- 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 70c9812e..00000000 --- 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 dad786a6..00000000 --- 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 d47c688b..00000000 --- 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 53f72693..00000000 --- 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 48b89414..00000000 --- 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 48bb2b8f..00000000 --- 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 32a29827..00000000 --- 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 d0ba3ba9..00000000 --- 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 dd3dc693..00000000 --- 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 95ab5953..00000000 --- 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 ff1fb852..00000000 --- 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 ca2c4a87..00000000 --- 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 86db4704..00000000 --- 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 f23953bb..00000000 --- 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 dbaaf98f..00000000 --- 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 e3f202f7..00000000 --- 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 c488da14..00000000 --- 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 34cef63b..00000000 --- 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 3cb47d42..00000000 --- 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 0d2fe5c4..00000000 --- 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 13679e36..00000000 --- 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 ea41c8c1..00000000 --- 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 36eb3e25..00000000 --- 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 37f38ba6..00000000 --- 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 6967166c..00000000 --- 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 f8dce11b..00000000 --- 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 6f208760..00000000 --- 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 c1bd29f8..00000000 --- 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 b4da7605..00000000 --- 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 3900985d..00000000 --- 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 0339d515..00000000 --- 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 b417f933..00000000 --- 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 ec1018d1..00000000 --- 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 4c425fef..00000000 --- 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 1db6be21..00000000 --- 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 d79520ac..00000000 --- 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 b062ec2f..00000000 --- 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 59d30bf1..00000000 --- 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 4d105112..00000000 --- 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 3498ffce..00000000 --- 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 ccbe1b41..00000000 --- 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 2a6dad2a..00000000 --- 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 46f7f97e..00000000 --- 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 8957d1b0..00000000 --- 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 1af76d25..00000000 --- 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 1c12fded..00000000 --- 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 76c81c92..00000000 --- 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 79cd25af..00000000 --- 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 56dda0e1..00000000 --- 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 89f110c5..00000000 --- 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 0bea55b5..00000000 --- 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 2d5c67f1..00000000 --- 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 7adb6a3b..00000000 --- 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 9a1d1ecb..00000000 --- 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 2d1195b8..00000000 --- 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 69d6a2c5..00000000 --- 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 631bf8c8..00000000 --- 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 1323d673..00000000 --- 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 d4165cf8..00000000 --- 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 188f5262..00000000 --- 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 391234ba..00000000 --- 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 284ce317..00000000 --- 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 8225eb1f..00000000 --- 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 3a0b3688..00000000 --- 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 118dae50..00000000 --- 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 b75c44bb..00000000 --- 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 ce8209ec..00000000 --- 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 7e29548d..00000000 --- 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 701943ba..00000000 --- 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 8788bae4..00000000 --- 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 c3ee2c58..00000000 --- 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 8eab2fab..00000000 --- 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 a95788a0..00000000 --- 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 -);