-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamNeeds DocumentationReady for Reviewv4
Description
Issue Summary
When I attempt to load the Neo Euler font extensions as directed in documentation, the URL fails to load.
Steps to Reproduce:
- Configure MathJax using documentation on Neo Euler font extension: https://docs.mathjax.org/en/latest/output/fonts.html#font-extensions
- Load webpage with equations to be rendered by MathJax
An example that does not work is here: https://jsfiddle.net/pb3oy2xc/1/
Removing the Neo Euler loading makes rendering work as expected again using the mathjax-pagella font.
The console error shows:
"MathJax([font]/mathjax-euler-font): Can't load \"https://cdn.jsdelivr.net/npm/@mathjax/mathjax-euler-font.js\""
This makes sense, as such a file does not appear in the CDN.
Technical details:
- MathJax Version: 4.0
- Client OS: Mac OS X 14.2.1
- Browser: Arc Version 1.107.0 (66519) Chromium Engine Version 139.0.7258.67
I am using the following MathJax configuration:
MathJax = {
tex: {
inlineMath: {'[+]': [['$', '$']]},
},
chtml: {
font: 'mathjax-pagella'
},
loader: {
paths: {font: 'https://cdn.jsdelivr.net/npm/@mathjax'},
load: ['input/tex-base', '[tex]/newcommand', '[tex]/action', 'output/chtml', '[font]/mathjax-euler-font']
},
};
and loading MathJax via
<script src="https://cdn.jsdelivr.net/npm/mathjax@4/startup.js"></script>
Supporting information:
- https://jsfiddle.net/pb3oy2xc/ -- Example where MathJax loads and renders correctly, without Neo Euler (no console errors/warnings)
- https://jsfiddle.net/pb3oy2xc/1/ -- Example where MathJax configuration of Neo Euler fails and equation does not render.
Metadata
Metadata
Assignees
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamNeeds DocumentationReady for Reviewv4