-
Notifications
You must be signed in to change notification settings - Fork 44
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
Unable to add contextual menus when using component/tex2svg-page #60
Comments
I'm sorry to have to tell you that you will not be successful at adding the menu to a pre-processed page, for several reasons. First, the menu is attached to the math via javascript calls to Second, even if you used Third, many of the items in the menu rely on data that is not in the page when you pre-process it with So for now, you can't get the MathJax menu in pre-processed pages. |
Thank for the confirmation. That's an interesting tradeoff of pre-rendering. Feel free to close this, if this is something that is likely to never happen. |
A couple years ago, I did some preliminary work on this, so it is somewhat that certainly could be done. I'll leave the issue open to remind me to get back to it in the future. |
This is more of a question than a bug, but I am trying to add contextual menus when using
component/tex2svg-page
, but it is not working. From what I can tell, it should be using the combined component,tex-svg.js
and this should "just work", but I don't see the contextual menu. I've tried manually loadingui/menu
and settingenableMenu: true
, as per the docs:https://docs.mathjax.org/en/latest/web/components/misc.html#menu-component
But then I get:
The text was updated successfully, but these errors were encountered: