Hello, Davide,
My apologies for not providing more information.
OS: Windows 10
Browser: Firefox 142.0.1 (32-bit)
window.MathJax.version: 4.0.0
TypeError: NetworkError when attempting to fetch resource. speech-worker.js:1:411404
TypeError: can't convert undefined to object:
"...for(let r,o=0;r=Object.keys(t)[o];o++){...}..."
I always use the following configuration to be loaded from a separate script file ("myconfig.js"):
MathJax=
{ tex:
{ inlineMath:
[ ['$','$'],
['\\(','\\)']
],
packages:
{ '[+]':[ 'centernot',
'mathtools'
]
}
},
loader:
{ load: [ '[tex]/centernot',
'[tex]/mathtools'
]
}
};
And this is how HTML looks:
<script src="file:\\[MY_PATH]\myconfig.js"></script>
<script src="file:\\[MY_PATH]\MathJax-master\tex-chtml.js" id="MathJax-script" async></script>
<script>
window.MathJax=
{ startup:
{ ready()
{ MathJax.startup.defaultReady();
const{Token}=MathJax._.input.tex.Token;
const{MapHandler}=MathJax._.input.tex.MapHandler;
const delimiter=MapHandler.getMap('delimiter');
delimiter.add('\\llbracket',new Token('\\llbracket','\u27E6'));
delimiter.add('\\rrbracket',new Token('\\rrbracket','\u27E7'));
}
}
};
</script>
\(\left\llbracket\dfrac{a}{b}\coloneq\dfrac{c}{d}\right\rrbracket\)
And the output (first comes the output when the "startup" configuration option [you have posted on TeX Exchange] is not commented out [no \coloneq, but \llbracket and \rrbracket work], then comes the output when it is commented out [no \llbracket and \rrbracket, but \coloneq works, although \coloneq not shown in the math expression used for testing, since nothing renders due to unrecognized delimiter]):

On Sunday, September 14, 2025 at 8:06:25 AM UTC-4 Davide Cervone wrote: