MJ3 gives error "Missing open brace for subscript" for LaTeX without a braced subscript. MJ2 didn't
Issue Summary
MathJax 3 displays an error "Missing open brace for subscript"
when trying to typeset \(1_\color{gray}{2}\)
, whereas MathJax 2 typesets without an error.
I suspect MJ3 intentionally gives the error, but perhaps MJ2 behavior is preferred.
Steps to Reproduce:
Observed: Error for \(1_\color{gray}{2}\)
, but not \(1_{\color{gray}2}\)
Expected: No error, like in MathJax 2 https://codepen.io/alexedgcomb/pen/bGxvpER
Technical details:
- MathJax Version: 3.2.2
- Client OS: Mac OS 13.2.1
- Browser: Firefox 110
I am NOT using a MathJax configuration and loading MathJax via
<script type="text/javascript" src="http://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-svg.js"></script>
Supporting information:
MathJax 4 has the same error when typesetting as MJ3: https://codepen.io/alexedgcomb/pen/wvEmGMd