Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2855
Closed
Open
Issue created Mar 21, 2022 by Administrator@rootContributor

`menuOptions` in MathJax 3 seems to be ignored altogether

Created by: fast-reflexes

Issue Summary

Tried in Chrome 98

Steps to Reproduce:

According to https://docs.mathjax.org/en/latest/options/menu.html, the options.menuOptions.settings configuration object should enable the user to, for example, turn off assistive MML(assistiveMml) and remove math from tabbing (inTabOrder). However, these options do not seem to work at all.

With the following configuration:

MathJax = {
  options: {
    enableMenu: true,
    /*renderActions: {
      assistiveMml: []
    },*/
    menuOptions: {
      settings: {
        semantics: true,
        assistiveMml: false,
        inTabOrder: false
      }
    }
  }
};

... I would expect all math to be out of tab indexing, assistive mml to be disabled and the math menu to show (and some semantics feature to show in the code). The menu is indeed available but so is assistive mml and all math are included in tabbing. If I disable the math menu and uncomment the block in renderActions, I accomplish what I want, but this is not what the documentation says. Also, I should be able to disable math menu but still have tabbed math, which I can't.

Sandbox: https://codesandbox.io/s/pure-mathjax-v3-menuoptions-xdk7fc

In MathJax 2, the options for including math in tabbing works great and interplay with the menu being enabled flawlessly, e.g., I can enable the menu and disable the tabbing and vice versa with

MathJax = {
  menuSettings: { inTabOrder: false },
  showMathMenu: true
};

Sandbox: https://codesandbox.io/s/pure-mathjax-v2-menuoptions-f8c3n5

Any other information you want to share that is relevant to the issue being reported. Especially, why do you consider this to be a bug? What do you expect to happen instead?

I would expect these settings to control what the documentation says and that the control would be independent from other settings, such as enableMenu.

Technical details:

  • MathJax Version: 3.2.0
  • Client OS: Mac OS Catalina 10.15.7
  • Browser: Chrome 98.0.4758.80 (Official Build) (x86_64)
Assignee
Assign to
Time tracking