|
|
|
|
@ -13,6 +13,15 @@
|
|
|
|
|
<!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> -->
|
|
|
|
|
<script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function CheckMathJax(){
|
|
|
|
|
var div=document.getElementById("MathJaxFetchingWarning")
|
|
|
|
|
if(window.MathJax){
|
|
|
|
|
document.body.removeChild(div)
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
div.style.display = "block";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (typeof MathJax == 'undefined') {
|
|
|
|
|
console.log("No local MathJax, loading from CDN");
|
|
|
|
|
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"));
|
|
|
|
|
@ -38,7 +47,7 @@
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<body onload='CheckMathJax();'>
|
|
|
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
|
<span id="ipython_notebook"><h1>IPython Notebook</h1></span>
|
|
|
|
|
@ -50,6 +59,29 @@
|
|
|
|
|
<span id="kernel_status">Idle</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="MathJaxFetchingWarning"
|
|
|
|
|
style="width:80%; margin:auto;padding-top:20%;text-align: justify; display:none">
|
|
|
|
|
<p style="font-size:26px;">There was an issue trying to fetch MathJax.js
|
|
|
|
|
from the internet.</p>
|
|
|
|
|
|
|
|
|
|
<p style="padding:0.2em"> With a working internet connection, you can run
|
|
|
|
|
the following at a Python or IPython prompt, which will install a local
|
|
|
|
|
copy of MathJax:</p>
|
|
|
|
|
|
|
|
|
|
<pre style="background-color:lightblue;border:thin silver solid;padding:0.4em">
|
|
|
|
|
from IPython.external import mathjax; mathjax.install_mathjax()
|
|
|
|
|
</pre>
|
|
|
|
|
This will try to install MathJax into the directory where you installed
|
|
|
|
|
IPython. If you installed IPython to a location that requires
|
|
|
|
|
administrative privileges to write, you will need to make this call as
|
|
|
|
|
an administrator. On OSX/Linux/Unix, this can be done at the
|
|
|
|
|
command-line via:
|
|
|
|
|
<pre style="background-color:lightblue;border:thin silver solid;padding:0.4em">
|
|
|
|
|
sudo python -c "from IPython.external import mathjax; mathjax.install_mathjax()"
|
|
|
|
|
</pre>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="main_app">
|
|
|
|
|
|
|
|
|
|
<div id="left_panel">
|
|
|
|
|
|