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
[lecture_comparison] [re_with_feedback] Strange-looking prints of latex equations generated by code #38
@AakashGfude perhaps this is just an issue with the priorities of which object to use at the myst-nb level. Would you mind investigating if jupyter-book is pulling an image of the math instead of the latex/mathml for mathjax rendering.
In the examples given by shu, the code blocks have text/latex, text/plain, image/png all of them. since image/png is at a higher priority, it gets used. We Will need to check why the png image is formed in some blocks but not others.
Thanks @mmcky. I checked all math expressions in this lecture and they look perfect now except that the following one still looks a bit different (left: myst; right: rst)
Activity
mmcky commentedon Jan 12, 2021
thanks @shlff -- nice pickup. I wonder if it is displaying the
htmlimage in preference to thelatexvia mathjaxmmcky commentedon Jan 13, 2021
@AakashGfude perhaps this is just an issue with the priorities of which object to use at the
myst-nblevel. Would you mind investigating ifjupyter-bookis pulling an image of the math instead of the latex/mathml for mathjax rendering.AakashGfude commentedon Jan 18, 2021
@mmcky you are right, it is because of the priorities set in
myst_nbIn the examples given by shu, the code blocks have
text/latex,text/plain,image/pngall of them. sinceimage/pngis at a higher priority, it gets used. We Will need to check why thepngimage is formed in some blocks but not others.mmcky commentedon Feb 10, 2021
thanks @AakashGfude should we promote
text/latexdo you think?mmcky commentedon Feb 15, 2021
@shlff what do you think about this: https://602a010c1e69bd5db7839bc0--nostalgic-wright-5fa355.netlify.app/re_with_feedback.html#fun-with-sympy-code
shlff commentedon Feb 15, 2021
Thanks @mmcky. I checked all math expressions in this lecture and they look perfect now except that the following one still looks a bit different (left:
myst; right:rst)I think this array is fine and you can ignore it.