File tree Expand file tree Collapse file tree
components/mjs/input/tex/extensions/ieee Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import './lib/eulerieee.js' ;
2- import { MathJax , combineDefaults } from '@mathjax/src/mjs /components/global.js' ;
2+ import { MathJax , combineDefaults } from '@mathjax/src/js /components/global.js' ;
33
44const FONTPATH = ( typeof document === 'undefined' ?
55 '@mathjax/ieee-euler-font-extension' :
6- 'https://cdn.jsdelivr.net/npm/@mathjax/ieee-euler-font-extension' ) ;
6+ ( MathJax ?. config ?. loader ?. paths ?. fonts ?
7+ MathJax . config . loader . paths . fonts + '/ieee-euler-font-extension' :
8+ 'https://cdn.jsdelivr.net/npm/@mathjax/ieee-euler-font-extension' ) ) ;
79
810if ( MathJax . config ?. loader ) {
911 combineDefaults ( MathJax . config . loader , 'paths' , {
Original file line number Diff line number Diff line change 11import './lib/ieeestix.js' ;
2- import { MathJax , combineDefaults } from '@mathjax/src/mjs /components/global.js' ;
2+ import { MathJax , combineDefaults } from '@mathjax/src/js /components/global.js' ;
33
44// Temporary for local testing!
55// const FONTPATH = 'node_modules/mathjax-stix2-font';
66const FONTPATH = ( typeof document === 'undefined' ?
77 '@mathjax/mathjax-stix2-font' :
8- 'https://cdn.jsdelivr.net/npm/@mathjax/mathjax-stix2-font' ) ;
8+ ( MathJax ?. config ?. loader ?. paths ?. fonts ?
9+ MathJax . config . loader . paths . fonts + '/mathjax-stix2-font' :
10+ 'https://cdn.jsdelivr.net/npm/@mathjax/mathjax-stix2-font' ) ) ;
911
1012combineDefaults ( MathJax . config , 'loader' , {
1113 paths : {
Original file line number Diff line number Diff line change 11window . MathJax = {
22 loader : {
3+ paths : {
4+ fonts : './mathjax4/fonts'
5+ } ,
36 load : [
47 '[tex]/ieeemacros' ,
58 '[tex]/ieeelegacy' ,
Original file line number Diff line number Diff line change 11{
2- "dependencies" : {
3- "@mathjax/src" : " ^4.1.0" ,
4- "typescript" : " ^5.9.3"
5- },
6- "type" : " module" ,
7- "devDependencies" : {
8- "webpack-cli" : " ^6.0.1"
9- }
2+ "scripts" : {
3+ "build" : " pnpm tsc"
4+ },
5+ "dependencies" : {
6+ "@mathjax/ieee-euler-font-extension" : " ^4.1.0" ,
7+ "@mathjax/mathjax-bbm-font-extension" : " ^4.1.0" ,
8+ "@mathjax/mathjax-bboldx-font-extension" : " ^4.1.0" ,
9+ "@mathjax/mathjax-dsfont-font-extension" : " ^4.1.0" ,
10+ "@mathjax/mathjax-newcm-font" : " ^4.1.0" ,
11+ "@mathjax/mathjax-stix2-font" : " ^4.1.0" ,
12+ "@mathjax/src" : " ^4.1.0" ,
13+ "terser-webpack-plugin" : " ^5.3.16" ,
14+ "typescript" : " ^5.9.3" ,
15+ "webpack" : " ^5.104.1"
16+ },
17+ "type" : " module" ,
18+ "devDependencies" : {
19+ "webpack-cli" : " ^6.0.1"
20+ }
1021}
You can’t perform that action at this time.
0 commit comments