You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Format math preview is not recognizing square brackets inside square roots #1693
While working on the project https://www.pgdp.net/c/project.php?id=projectID448fe0c8b5e31, Format math preview is not recognizing expressions such as \(\sqrt[3]{-125x^{3}y^{6}}\) which uses squared brackets inside square roots. Since this is a math textbook which is currently being formatted as a MathJax file (using m2svg), I wonder if the referred issued could be fixed in some way. There is a whole chapter which uses \sqrt[n]{x}.
Activity
cpeel commentedon Oct 20, 2026
Does m2svg render it correctly? I'm assuming it doesn't as they both use the same version of MathJax.
lnatal2 commentedon Oct 20, 2026
Yes, it does. According to Ray, DP Format is considering the square brackets as footnote’s anchor.
lnatal2 commentedon Oct 20, 2026
As an example, please take a look at this page: https://www.pgdp.net/c/tools/proofers/proof.php?projectid=projectID448fe0c8b5e31&imagefile=174.png&proj_state=F1.proj_avail&page_state=F1.page_temp
mrducky4 commentedon Oct 25, 2026
I submitted a fix in PR #1698