MathJax = {
options: {
renderActions: {
addMenu: [0, '', '']
}
}
};
But not working... Again it displays... Please.. give me the correct code to disable contextual menu when right click on equation.. Thanks
MathJax = {options: {renderActions: {addMenu: [],checkLoading: []}}};
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/678a7e52-ad39-49b9-9cb6-85714386917f%40googlegroups.com.
window.MathJax = {
options: {
renderActions: {
addMenu: [],
checkLoading: []
}
},
loader: { load: ['[tex]/boldsymbol'] },
tex: {
inlineMath: [
['$', '$'],
['\\(', '\\)']
],
displayMath: [
['$$', '$$'],
['\[', '\]']
],
packages: { '[+]': ['boldsymbol'] }
},
mml: {
parseAs: 'xml', // or 'xml'
forceReparse: false, // true to serialize and re-parse all MathML
parseError: function (node) { // function to process parsing errors
this.error(this.adaptor.textContent(node).replace(/\n.*/g, ''));
}
}
};
please give correct configuration for ui/menu disable
<!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Disable Menu</title><script>
window.MathJax = {options: {renderActions: {addMenu: [],checkLoading: []}},loader: { load: ['[tex]/boldsymbol'] },tex: {inlineMath: [['$', '$'],['\\(', '\\)']],displayMath: [['$$', '$$'],['\[', '\]']],packages: { '[+]': ['boldsymbol'] }},mml: {parseAs: 'xml', // or 'xml'forceReparse: false, // true to serialize and re-parse all MathMLparseError: function (node) { // function to process parsing errorsthis.error(this.adaptor.textContent(node).replace(/\n.*/g, ''));}}};
</script><script>
(function () {let script_CHTML = document.createElement('script');
script_CHTML.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; //Configure this to get the CHMTL
script_CHTML.async = true;document.head.appendChild(script_CHTML); //Parent Tags})();
</script></head><body>$$x+1\over x-1$$</body></html>
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/bc61e144-da7c-4927-bcf2-fbad3efc260f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.
Here we required mathjax from iFrame. I suspect due to iFrame window object we cant able to configure properly.
Please let us know, how you are configuring the window.MathJax Object from js file to library or how the mathjax library find the configuration object from JS.
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/4215bc74-08e5-4db9-9060-10e2170c9c10%40googlegroups.com.