@@ -12,7 +12,7 @@ const version_id = 'dev',
1212
1313/** @summary version date
1414 * @desc Release date in format day/month/year like '14/04/2022' */
15- version_date = '5 /09/2025',
15+ version_date = '8 /09/2025',
1616
1717/** @summary version id and date
1818 * @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -10843,8 +10843,7 @@ async function loadMathjax() {
1084310843 displayIndent: '0', // default for indentshift when set to 'auto'
1084410844 fontCache: 'local', // or 'global' or 'none'
1084510845 localID: null, // ID to use for local font cache (for single equation processing)
10846- internalSpeechTitles: true, // insert <title> tags with speech content
10847- titleID: 0 // initial id number to use for aria-labeledby titles
10846+ blacker: 3 // the stroke-width to use for SVG character paths
1084810847 };
1084910848
1085010849 if (!isNodeJs()) {
@@ -10869,12 +10868,12 @@ async function loadMathjax() {
1086910868 }
1087010869 };
1087110870
10872- let mj_dir = '../mathjax/3.2 .0';
10871+ let mj_dir = '../mathjax/4.0 .0';
1087310872 if (browser.webwindow && exports.source_dir.indexOf('https://root.cern/js') < 0 && exports.source_dir.indexOf('https://jsroot.gsi.de') < 0)
1087410873 mj_dir = 'mathjax';
1087510874
10876- return loadScript(exports.source_dir + mj_dir + '/es5/ tex-svg.js')
10877- .catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5 /tex-svg.js'))
10875+ return loadScript(exports.source_dir + mj_dir + '/tex-svg.js')
10876+ .catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@4 /tex-svg.js'))
1087810877 .then(() => promise);
1087910878 }
1088010879
@@ -11293,7 +11292,7 @@ function applyAttributesToMathJax(painter, mj_node, svg, arg, font_size, svg_fac
1129311292 * @private */
1129411293async function produceMathjax(painter, mj_node, arg) {
1129511294 const mtext = translateMath(arg.text, arg.latex, arg.color, painter),
11296- options = { em: arg.font.size, ex: arg.font.size/2, family: arg.font.name, scale: 1, containerWidth: -1, lineWidth: 100000 };
11295+ options = { em: arg.font.size, ex: arg.font.size/2, family: arg.font.name, scale: 1, containerWidth: -1 };
1129711296
1129811297 return loadMathjax()
1129911298 .then(mj => mj.tex2svgPromise(mtext, options))
0 commit comments