Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Website] Use mathjax svg renderer #2481

Closed
wants to merge 3 commits into from
Closed

[Website] Use mathjax svg renderer #2481

wants to merge 3 commits into from

Commits on Aug 22, 2024

  1. [Website] Use mathjax svg renderer

    We identified an issue where mathjax would fail to render certain math symbols. This happens on MacOS versions Ventura and later (13+) because of a change in the OS-supplied STIX fonts. We fix this here by changing the renderer from HTML+CSS (which tries to use local STIX fonts) to SVG.
    
    More details on the issue can be found here: https://meta.stackexchange.com/a/389308
    
    The [official docs](https://docs.mathjax.org/en/stable/output.html#mathjax-output-formats) outline a couple considerations for using the SVG renderer, the biggest being lack of IE8 support. If IE8 support is crucial then we should consider alternate approaches.
    
    An alternative fix could be to upgrade our mathjax version as later versions may not be as reliant on local STIX fonts but the 3.0 update was a complete rewrite and appears to [not be a straightforward upgrade](https://docs.mathjax.org/en/latest/upgrading/v2.html).
    CristianLara committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2c6e3c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad929e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Use latest 2.x mathjax version

    Co-authored-by: Max Balandat <[email protected]>
    CristianLara and Balandat authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    d3708aa View commit details
    Browse the repository at this point in the history