Skip to content

Commit fd295eb

Browse files
committed
Remove not-existing fields from mathjax config
1 parent d5380c2 commit fd295eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/base/latex.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,7 @@ async function loadMathjax() {
10591059
displayIndent: '0', // default for indentshift when set to 'auto'
10601060
fontCache: 'local', // or 'global' or 'none'
10611061
localID: null, // ID to use for local font cache (for single equation processing)
1062-
internalSpeechTitles: true, // insert <title> tags with speech content
1063-
titleID: 0 // initial id number to use for aria-labeledby titles
1062+
blacker: 3 // the stroke-width to use for SVG character paths
10641063
};
10651064

10661065
if (!isNodeJs()) {
@@ -1509,7 +1508,7 @@ function applyAttributesToMathJax(painter, mj_node, svg, arg, font_size, svg_fac
15091508
* @private */
15101509
async function produceMathjax(painter, mj_node, arg) {
15111510
const mtext = translateMath(arg.text, arg.latex, arg.color, painter),
1512-
options = { em: arg.font.size, ex: arg.font.size/2, family: arg.font.name, scale: 1, containerWidth: -1, lineWidth: 100000 };
1511+
options = { em: arg.font.size, ex: arg.font.size/2, family: arg.font.name, scale: 1, containerWidth: -1 /*, lineWidth: 100000 */ };
15131512

15141513
return loadMathjax()
15151514
.then(mj => mj.tex2svgPromise(mtext, options))

0 commit comments

Comments
 (0)