Skip to content

Big operator in subscript #3321

Open
Open
@Tragicus

Description

@Tragicus

Issue Summary

Typesetting \[a_{\sum_b c}\] produces an error Uncaught (in promise) TypeError: o is null.

Steps to Reproduce:

Compiling the following LaTeX file

\documentclass{article}
\begin{document}
\[a_{\sum_b c}\]
\end{document}

with make4ht test.tex "mathjax,mathml" produces the following html file

<!DOCTYPE html> 
<html lang='en-US' xml:lang='en-US'> 
<head><title></title> 
<meta charset='utf-8' /> 
<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' /> 
<meta content='width=device-width,initial-scale=1' name='viewport' /> 
<link href='test.css' rel='stylesheet' type='text/css' /> 
<meta content='test.tex' name='src' /> 
 <script async='async' id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-chtml.js' type='text/javascript'></script>  
</head><body>
   <div class='par-math-display'><!-- l. 5 --><math display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mrow>
                                                <msub><mrow><mi>a</mi></mrow><mrow><munder class='msub'><mrow><mtext>∑</mtext></mrow><mrow>
<mi>b</mi></mrow></munder><mi>c</mi></mrow></msub>
</mrow></math></div>
<!-- l. 5 --><p class='nopar'>
</p>
    
</body> 
</html>

Note that removing any of the symbols produces a correct output.

Technical details:

  • MathJax Version: 3.2
  • Client OS: Kubuntu 24.04
  • Browser: Firefox 133.0.3

I am using the following MathJax configuration: ?

MathJax = { ?
...
};

and loading MathJax via

<script async='async' id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-chtml.js' type='text/javascript'></script> 

Supporting information:

  • Please supply a link to a (live) minimal example page, when possible.
  • If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
  • Check your browser console window for any error messages, and include them here.
  • Include the MathJax configuration you are using, and the script tag that loads MathJax itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundv3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions