I think at it's core, the issue is the script inside of a webpage
<script>
function draw(tex, id) {
var math = MathJax.Hub.getAllJax(id)[0];
MathJax.Hub.Queue([ "Text", math, tex ]);
}
</script>
which gabs text from the div with id equal to id. That text should contain well-formated MathJax text like \(x^2\), but for some reason when it gets passed into MathJax.Hub.Queue something goes wrong.
Anyone have any guess about what could be going on here?
I have made this issue on StackExchange, which I think is due to some kind of error coming from MathJax:
https://stackoverflow.com/questions/76930691/pyscript-quarto-and-sympy
I think at it's core, the issue is the script inside of a webpage
which gabs text from the div with id equal to
id
. That text should contain well-formated MathJax text like\(x^2\)
, but for some reason when it gets passed intoMathJax.Hub.Queue
something goes wrong.Anyone have any guess about what could be going on here?