+1 vote
asked by (130 points)

I am in the midst of reading the tutorials for ITensor in a bid to learn some DMRG for my research. However, the LaTeX notations are not rendering for me, for example on the TRG algorithm tutorial page. It's showing up in raw LaTeX syntax. I've tried different browsers and even on my phone but to no avail, so maybe the issue is not on my end. It was working fine several hours earlier! Is there any way this could be fixed?

Thank you very much!

commented by (640 points)
yes, I have noticed the same problem. But sometimes the formulas are showing up properly, and sometimes not

1 Answer

0 votes
answered by (70.1k points)

Hi, thanks for the bug report. Unfortunately I'm not able to reproduce this issue because it is working for me in Chrome, Safari, and iOS. Is it still not working for you? Perhaps it is because you have a firewall or some other internet situation that is blocking the content delivery network (CDN) that is used to render the MathJax (this is cdn.mathjax.org)?

Best regards,
Miles

commented by (130 points)
Hi Miles, thanks for the response.

It seems like MathJax doesn't render when itensor is accessed through https. Disabling https access for itensor (or simply just remove the 's' in https in the address bar) and MathJax renders again. Not sure why this happens, but putting it out there for anyone else experiencing the same issue!
commented by (70.1k points)
Thanks, this is also the case for me, so you have found the bug and it's reproducible on my machine as well. I think the fix may be to just make the CDN link also https. I'll look into it!
commented by (70.1k points)
Just changed and it fixes it for me. Please let me know if that doesn't fix it for you.
commented by (130 points)
It works for me as well. Thank you for fixing it!
Welcome to ITensor Support Q&A, where you can ask questions and receive answers from other members of the community.

Formatting Tips:
  • To format code, indent by four spaces
  • To format inline LaTeX, surround it by @@ on both sides
  • To format LaTeX on its own line, surround it by $$ above and below
  • For LaTeX, it may be necessary to backslash-escape underscore characters to obtain proper formatting. So for example writing \sum\_i to represent a sum over i.
If you cannot register due to firewall issues (e.g. you cannot see the capcha box) please email Miles Stoudenmire to ask for an account.

To report ITensor bugs, please use the issue tracker.

Categories

...