-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Big operator in subscript #3321
Comments
I can't reproduce the error message, as the file you provide renders properly for me on MacOS with Firefox 133.0.3, and Safari 18.2, and Chrome 131.0.6778.205. Is the error you are getting in the console window? If so, can you provide the complete traceback as well? |
Ah, if that comes from a configuration issue on my side, it might be easy to solve, although I do not know what to look for.
|
Ah, that is helpful. It indicates that the problem is occurring during the complexity computation used for collapsible math as part of the assistive tools. I am able to reproduce if I turn that on. For now, can you turn that off in the MathJax contextual menu? If you are not able to access that menu, you can use I don't know if MathJax = {
loader: {load: ['a11y/complexity']},
startup: {
ready() {
const {Collapse} = MathJax._.a11y.complexity.collapse;
class MyCollapse extends Collapse {
findChildText(node, id) {
if (id === '') return '';
return super.findChildText(node, id);
}
}
MathJax.config.options.Collapse = MyCollapse;
MathJax.startup.defaultReady();
}
}
}; which works around the cause of the issue (the |
Great ! I could not test the first workaround (due to a lack of knowledge on my part), but the other two do work. Thank you very much. |
Issue Summary
Typesetting
\[a_{\sum_b c}\]
produces an errorUncaught (in promise) TypeError: o is null
.Steps to Reproduce:
Compiling the following LaTeX file
with
make4ht test.tex "mathjax,mathml"
produces the following html fileNote that removing any of the symbols produces a correct output.
Technical details:
I am using the following MathJax configuration: ?
and loading MathJax via
Supporting information:
The text was updated successfully, but these errors were encountered: