Troubleshooting Latex Equations: Tips for Viewing Code on Offline Pages

  • Context: LaTeX 
  • Thread starter Thread starter xAxis
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues related to viewing LaTeX equations on offline pages. Participants explore the challenges faced when downloading web pages that contain LaTeX code, particularly in the context of using browsers without an internet connection.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in viewing LaTeX equations offline, only seeing the code instead.
  • Another participant suggests checking if JavaScript is enabled, as it may affect rendering.
  • It is noted that LaTeX rendering relies on external code that may not function without an internet connection, and there is a possibility that MathJax could be configured for offline use.
  • A participant mentions that the current setup uses a CDN for MathJax, which could be the reason for the rendering issues when offline.
  • One participant recalls that previously, LaTeX equations were rendered as images stored on the server, which worked offline, unlike the current client-side rendering method.
  • Another participant suggests simply refreshing the page as a potential solution to the issue.
  • There is a request for clarification on what is meant by "downloading pages," as it is assumed that equations should render correctly while online.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the exact cause of the issue, and multiple views on potential solutions and configurations remain. The discussion reflects uncertainty regarding the effectiveness of offline LaTeX rendering.

Contextual Notes

Limitations include the dependence on external scripts for rendering LaTeX and the changes in how LaTeX is processed on the forum, which may affect offline accessibility.

xAxis
Messages
223
Reaction score
4
Hi. As I currenhaven't got the internet, I occasionaly download pages from cafe and read at ho9me. But I can't see the equations, only the code itself. This has been hapening for some time even with the latest IE. What am I missing?
 
Physics news on Phys.org
LaTeX is rendered by a code that is loaded separately from the page code, could be it doesn't work when you are not connected. Perhaps Mathjax can be configured to work off line?
 
Borek said:
LaTeX is rendered by a code that is loaded separately from the page code, could be it doesn't work when you are not connected. Perhaps Mathjax can be configured to work off line?

No because every page links to the CDN.
 
What is CDN?..Anyways, I hoped someone had the same problem and that there was some addon or tex that I'm missing.
Interestingly, the code from other sites that use latex works fine. (the ones that generate the pngs). And I also remember that I used to download from PF before and it usually (if not always) worked.
Thanks
 
I don't know if this applies to your situation, but sometimes this happens to me and I just refresh the page.
 
xAxis said:
What is CDN?..Anyways, I hoped someone had the same problem and that there was some addon or tex that I'm missing.
Interestingly, the code from other sites that use latex works fine. (the ones that generate the pngs). And I also remember that I used to download from PF before and it usually (if not always) worked.

Some time ago we changed the way LaTeX is treated - before each LaTeX equation was rendered as an image and stored on the server (which meant we had literally millions of the pictures that were occupying server space), now LaTeX is rendered on the client side using http://en.wikipedia.org/wiki/Mathjax. Mathjax scripts are downloaded by your computer from CDN - http://en.wikipedia.org/wiki/Content_delivery_network

Please check this thread to see if the problems you see were not addressed earlier: https://www.physicsforums.com/showthread.php?t=499624
 
What exactly do you mean when you say you download the pages? If you're loading the pages in a browser at the cafe, the equations should render at that time.
 

Similar threads

Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
13K