Skip to content

Bug: autoload doesn't work if user manually changes math renderer. #3370

Open
@somiaj

Description

@somiaj

Issue Summary

When loading tex-chtml.js (or tex-svg.js) and using the right click menu to go to "Math Settings" -> "Math Render" and change the render to the one not loaded, the autoload extension seems to no longer work and the command is returned as an error in red (you have to reload the page after changing the renderer).

I noticed this with a formula using \boldsymbol{i}, though after testing a few other extensions the result is the same, autoload is not working when I manually choose the Math Render to be different than the one loaded by the page.

I'm unsure if this is a bug, or working as intended, but couldn't find any documentation on this behavior. The only solution I found was to load tex-chtml-full.js or tex-svg-full.js to load most extensions, or to manually configure MathJax to load the extensions I use to allow users to be able to switch between the CHTML and SVG Math Render.

Technical details

  • MathJax Version: 3.2.2
  • Client OS: Debian Linux
  • Browser: Firefox ESR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code ExampleContains an illustrative code example, solution, or work-aroundDuplicate

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions