v4beta4: console warnings about svg fira font
Trying out v4beta4 I get warnings about the version of the svg Fira font: Component [mathjax-fira]/svg uses 4.0.0-beta.3 of MathJax; version in use is 4.0.0-beta.4 tex-mml-svg.js:1:30706 Component [mathjax-fira]/svg/dynamic/double-struck uses 4.0.0-beta.3 of MathJax; version in use is 4.0.0-beta.4 tex-mml-svg.js:1:30706
See https://cdi2.palhoto.pt/texto/1
Thanks for MathJax!
Since the updates were just made to the NPM packages, the newest versions of the fonts may not have made it to all the CDN edge nodes yet. It sometimes takes a day or so for a new version to migrate to all the servers.
Also, you may have a cached version of the old file in your browser cache, and it may not even be requesting the new version. So the first thing to try is to clear the browser cache and restart it (some browsers need a restart to completely clear things).
If that doesn't work, then you can add
MathJax = {
loader: {
paths: {
'mathjax-fira': 'https://cdn.jsdelivr.net/npm/[email protected]'}
}
}
}
to force the version to be the new one.
See if one of those does it for you.
PS, the warning should not be a problem in this case, as the format hasn't changed, so the old font version should work fine with the new MathJax beta.
I do not use a cdn and cleared the cache. I unpack and host locally after downloading from https://github.com/mathjax/MathJax/archive/refs/tags/4.0.0-beta.4.tar.gz
OK, sorry.
It looks like I forgot to update the version of the mathjax-modern-font in the package.json file. Argh!
You should use npm install [email protected] or a similar command (depending on what package manager you are using). I will need to fix the package.json file.