Show More
@@ -15,11 +15,10 b'' | |||
|
15 | 15 | <script language="Javascript"> |
|
16 | 16 | function CheckMathJax(){ |
|
17 | 17 | if(window.MathJax){ |
|
18 |
document.getElementById("MatjaxFetchingWarning") |
|
|
18 | div=document.getElementById("MatjaxFetchingWarning") | |
|
19 | document.body.removeChild(div) | |
|
19 | 20 | } |
|
20 | 21 | } |
|
21 | </script> | |
|
22 | <script type="text/javascript"> | |
|
23 | 22 | if (typeof MathJax == 'undefined') { |
|
24 | 23 | console.log("No local MathJax, loading from CDN"); |
|
25 | 24 | document.write(unescape("%3Cscript type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E")); |
@@ -56,10 +55,22 b'' | |||
|
56 | 55 | <span id="kernel_status">Idle</span> |
|
57 | 56 | </div> |
|
58 | 57 | |
|
59 | <div id="MatjaxFetchingWarning"> | |
|
60 |
There was an issues trying to fetch MathJax.js from the internet. |
|
|
61 |
wan |
|
|
62 | fonctionnality offline | |
|
58 | <div id="MatjaxFetchingWarning" style="width:80%;margin:auto;padding-top:20%;text-align:justify"> | |
|
59 | <p style="font-size:26px;">There was an issues trying to fetch MathJax.js from the internet.</p> | |
|
60 | <p>You may want to consider running the following in order to be able to use the Notebook. | |
|
61 | <pre style="background-color:lightblue;border:thin silver solid"> | |
|
62 | from IPython.external import mathjax; mathjax.install_mathjax() | |
|
63 | </pre> | |
|
64 | Note that this will require a working internet connection when run, and | |
|
65 | it will try to install MathJax into the directory where you installed | |
|
66 | IPython. If you installed IPython to a location that requires | |
|
67 | administrative privileges to write, you will need to make this call as | |
|
68 | an administrator. On OSX/Linux/Unix, this can be done at the | |
|
69 | command-line via: | |
|
70 | <pre style="background-color:lightblue;border:thin silver solid"> | |
|
71 | sudo python -c "from IPython.external import mathjax; mathjax.install_mathjax()" | |
|
72 | </pre> | |
|
73 | </p> | |
|
63 | 74 | </div> |
|
64 | 75 | |
|
65 | 76 | <div id="main_app"> |
General Comments 0
You need to be logged in to leave comments.
Login now