Skip to content

Neo-Euler support #3410

@ddimmery

Description

@ddimmery

Issue Summary

When I attempt to load the Neo Euler font extensions as directed in documentation, the URL fails to load.

Steps to Reproduce:

  1. Configure MathJax using documentation on Neo Euler font extension: https://docs.mathjax.org/en/latest/output/fonts.html#font-extensions
  2. 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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions