Skip to content

Commit

Permalink
Merge pull request #1110 from mathjax/remove-allpackages
Browse files Browse the repository at this point in the history
Remove the AllPackages file, the all-packages TeX extension and the tex-full component
  • Loading branch information
dpvc authored Jun 27, 2024
2 parents e9156ba + d0bd67d commit f506131
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 207 deletions.
15 changes: 1 addition & 14 deletions components/mjs/dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const dependencies = {
'a11y/explorer': ['a11y/semantic-enrich'],
'[mml]/mml3': ['input/mml'],
'[tex]/action': ['input/tex-base', '[tex]/newcommand'],
'[tex]/all-packages': ['input/tex-base'],
'[tex]/ams': ['input/tex-base'],
'[tex]/amscd': ['input/tex-base'],
'[tex]/autoload': ['input/tex-base', '[tex]/require'],
Expand Down Expand Up @@ -68,12 +67,6 @@ export const paths = {
sre: '[mathjax]/sre/mathmaps'
};

const allPackages = Array.from(Object.keys(dependencies))
.filter(name => name.substring(0,5) === '[tex]' &&
name !== '[tex]/autoload' &&
name !== '[tex]/colorv2' &&
name !== '[tex]/all-packages');

export const provides = {
'startup': ['loader'],
'input/tex': [
Expand All @@ -84,13 +77,7 @@ export const provides = {
'[tex]/require',
'[tex]/autoload',
'[tex]/configmacros'
],
'input/tex-full': [
'input/tex-base',
'[tex]/all-packages',
...allPackages
],
'[tex]/all-packages': allPackages
]
};

//
Expand Down
1 change: 0 additions & 1 deletion components/mjs/input/tex-base/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"input/tex",
"input/tex/base"
],
"exclude": ["input/tex/AllPackages.ts"],
"excludeSubdirs": true
},
"webpack": {
Expand Down
16 changes: 0 additions & 16 deletions components/mjs/input/tex-full/config.json

This file was deleted.

12 changes: 0 additions & 12 deletions components/mjs/input/tex-full/tex-full.js

This file was deleted.

1 change: 0 additions & 1 deletion components/mjs/input/tex/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"input/tex/autoload",
"input/tex/configmacros"
],
"exclude": ["input/tex/AllPackages.ts"],
"excludeSubdirs": true
},
"webpack": {
Expand Down
12 changes: 0 additions & 12 deletions components/mjs/input/tex/extensions/all-packages/all-packages.js

This file was deleted.

20 changes: 0 additions & 20 deletions components/mjs/input/tex/extensions/all-packages/config.json

This file was deleted.

1 change: 0 additions & 1 deletion components/mjs/source.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const source = {
'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]/ams': `${src}/input/tex/extensions/ams/ams.js`,
'[tex]/amscd': `${src}/input/tex/extensions/amscd/amscd.js`,
'[tex]/autoload': `${src}/input/tex/extensions/autoload/autoload.js`,
Expand Down
130 changes: 0 additions & 130 deletions ts/input/tex/AllPackages.ts

This file was deleted.

0 comments on commit f506131

Please sign in to comment.