##// END OF EJS Templates
Matjax Warning message improvement....
Matthias BUSSONNIER -
Show More
@@ -1,257 +1,268
1 <!DOCTYPE HTML>
1 <!DOCTYPE HTML>
2 <html>
2 <html>
3
3
4 <head>
4 <head>
5 <meta charset="utf-8">
5 <meta charset="utf-8">
6
6
7 <title>IPython Notebook</title>
7 <title>IPython Notebook</title>
8
8
9 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
9 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
12
12
13 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> -->
13 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> -->
14 <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script>
14 <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script>
15 <script language="Javascript">
15 <script language="Javascript">
16 function CheckMathJax(){
16 function CheckMathJax(){
17 if(window.MathJax){
17 if(window.MathJax){
18 document.getElementById("MatjaxFetchingWarning").style.visibility='hidden'
18 div=document.getElementById("MatjaxFetchingWarning")
19 document.body.removeChild(div)
19 }
20 }
20 }
21 }
21 </script>
22 <script type="text/javascript">
23 if (typeof MathJax == 'undefined') {
22 if (typeof MathJax == 'undefined') {
24 console.log("No local MathJax, loading from CDN");
23 console.log("No local MathJax, loading from CDN");
25 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"));
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"));
26 }else{
25 }else{
27 console.log("Using local MathJax");
26 console.log("Using local MathJax");
28 }
27 }
29 </script>
28 </script>
30
29
31 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
30 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
32 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
31 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
33 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
32 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
34 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
33 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
35
34
36 <link rel="stylesheet" href="static/prettify/prettify.css"/>
35 <link rel="stylesheet" href="static/prettify/prettify.css"/>
37
36
38 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
37 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
39 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
38 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
40 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
39 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
41 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
40 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
42 <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" />
41 <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" />
43
42
44
43
45 </head>
44 </head>
46
45
47 <body onload='CheckMathJax();'>
46 <body onload='CheckMathJax();'>
48
47
49 <div id="header">
48 <div id="header">
50 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
49 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
51 <span id="save_widget">
50 <span id="save_widget">
52 <input type="text" id="notebook_name" size="20"></textarea>
51 <input type="text" id="notebook_name" size="20"></textarea>
53 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
52 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
54 <button id="save_notebook"><u>S</u>ave</button>
53 <button id="save_notebook"><u>S</u>ave</button>
55 </span>
54 </span>
56 <span id="kernel_status">Idle</span>
55 <span id="kernel_status">Idle</span>
57 </div>
56 </div>
58
57
59 <div id="MatjaxFetchingWarning">
58 <div id="MatjaxFetchingWarning" style="width:80%;margin:auto;padding-top:20%;text-align:justify">
60 There was an issues trying to fetch MathJax.js from the internet. You might
59 <p style="font-size:26px;">There was an issues trying to fetch MathJax.js from the internet.</p>
61 wan't to consider using "install_mathjax()" to be able to use the Notebook
60 <p>You may want to consider running the following in order to be able to use the Notebook.
62 fonctionnality offline
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 </div>
74 </div>
64
75
65 <div id="main_app">
76 <div id="main_app">
66
77
67 <div id="left_panel">
78 <div id="left_panel">
68
79
69 <div id="notebook_section">
80 <div id="notebook_section">
70 <h3 class="section_header">Notebook</h3>
81 <h3 class="section_header">Notebook</h3>
71 <div class="section_content">
82 <div class="section_content">
72 <div class="section_row">
83 <div class="section_row">
73 <span id="new_open" class="section_row_buttons">
84 <span id="new_open" class="section_row_buttons">
74 <button id="new_notebook">New</button>
85 <button id="new_notebook">New</button>
75 <button id="open_notebook">Open</button>
86 <button id="open_notebook">Open</button>
76 </span>
87 </span>
77 <span class="section_row_header">Actions</span>
88 <span class="section_row_header">Actions</span>
78 </div>
89 </div>
79 <div class="section_row">
90 <div class="section_row">
80 <span>
91 <span>
81 <select id="download_format">
92 <select id="download_format">
82 <option value="json">ipynb</option>
93 <option value="json">ipynb</option>
83 <option value="py">py</option>
94 <option value="py">py</option>
84 </select>
95 </select>
85 </span>
96 </span>
86 <span class="section_row_buttons">
97 <span class="section_row_buttons">
87 <button id="download_notebook">Download</button>
98 <button id="download_notebook">Download</button>
88 </span>
99 </span>
89 </div>
100 </div>
90 <div class="section_row">
101 <div class="section_row">
91 <span class="section_row_buttons">
102 <span class="section_row_buttons">
92 <span id="print_widget">
103 <span id="print_widget">
93 <button id="print_notebook">Print</button>
104 <button id="print_notebook">Print</button>
94 </span>
105 </span>
95 </span>
106 </span>
96 </div>
107 </div>
97 </div>
108 </div>
98 </div>
109 </div>
99
110
100 <div id="cell_section">
111 <div id="cell_section">
101 <h3 class="section_header">Cell</h3>
112 <h3 class="section_header">Cell</h3>
102 <div class="section_content">
113 <div class="section_content">
103 <div class="section_row">
114 <div class="section_row">
104 <span class="section_row_buttons">
115 <span class="section_row_buttons">
105 <button id="delete_cell"><u>D</u>elete</button>
116 <button id="delete_cell"><u>D</u>elete</button>
106 </span>
117 </span>
107 <span class="section_row_header">Actions</span>
118 <span class="section_row_header">Actions</span>
108 </div>
119 </div>
109 <div class="section_row">
120 <div class="section_row">
110 <span id="cell_type" class="section_row_buttons">
121 <span id="cell_type" class="section_row_buttons">
111 <button id="to_code"><u>C</u>ode</button>
122 <button id="to_code"><u>C</u>ode</button>
112 <!-- <button id="to_html">HTML</button>-->
123 <!-- <button id="to_html">HTML</button>-->
113 <button id="to_markdown"><u>M</u>arkdown</button>
124 <button id="to_markdown"><u>M</u>arkdown</button>
114 </span>
125 </span>
115 <span class="button_label">Format</span>
126 <span class="button_label">Format</span>
116 </div>
127 </div>
117 <div class="section_row">
128 <div class="section_row">
118 <span id="cell_output" class="section_row_buttons">
129 <span id="cell_output" class="section_row_buttons">
119 <button id="toggle_output"><u>T</u>oggle</button>
130 <button id="toggle_output"><u>T</u>oggle</button>
120 <button id="clear_all_output">ClearAll</button>
131 <button id="clear_all_output">ClearAll</button>
121 </span>
132 </span>
122 <span class="button_label">Output</span>
133 <span class="button_label">Output</span>
123 </div>
134 </div>
124 <div class="section_row">
135 <div class="section_row">
125 <span id="insert" class="section_row_buttons">
136 <span id="insert" class="section_row_buttons">
126 <button id="insert_cell_above"><u>A</u>bove</button>
137 <button id="insert_cell_above"><u>A</u>bove</button>
127 <button id="insert_cell_below"><u>B</u>elow</button>
138 <button id="insert_cell_below"><u>B</u>elow</button>
128 </span>
139 </span>
129 <span class="button_label">Insert</span>
140 <span class="button_label">Insert</span>
130 </div>
141 </div>
131 <div class="section_row">
142 <div class="section_row">
132 <span id="move" class="section_row_buttons">
143 <span id="move" class="section_row_buttons">
133 <button id="move_cell_up">Up</button>
144 <button id="move_cell_up">Up</button>
134 <button id="move_cell_down">Down</button>
145 <button id="move_cell_down">Down</button>
135 </span>
146 </span>
136 <span class="button_label">Move</span>
147 <span class="button_label">Move</span>
137 </div>
148 </div>
138 <div class="section_row">
149 <div class="section_row">
139 <span id="run_cells" class="section_row_buttons">
150 <span id="run_cells" class="section_row_buttons">
140 <button id="run_selected_cell">Selected</button>
151 <button id="run_selected_cell">Selected</button>
141 <button id="run_all_cells">All</button>
152 <button id="run_all_cells">All</button>
142 </span>
153 </span>
143 <span class="button_label">Run</span>
154 <span class="button_label">Run</span>
144 </div>
155 </div>
145 <div class="section_row">
156 <div class="section_row">
146 <span id="autoindent_span">
157 <span id="autoindent_span">
147 <input type="checkbox" id="autoindent" checked="true"></input>
158 <input type="checkbox" id="autoindent" checked="true"></input>
148 </span>
159 </span>
149 <span class="checkbox_label">Autoindent:</span>
160 <span class="checkbox_label">Autoindent:</span>
150 </div>
161 </div>
151 </div>
162 </div>
152 </div>
163 </div>
153
164
154 <div id="kernel_section">
165 <div id="kernel_section">
155 <h3 class="section_header">Kernel</h3>
166 <h3 class="section_header">Kernel</h3>
156 <div class="section_content">
167 <div class="section_content">
157 <div class="section_row">
168 <div class="section_row">
158 <span id="int_restart" class="section_row_buttons">
169 <span id="int_restart" class="section_row_buttons">
159 <button id="int_kernel">Interrupt</button>
170 <button id="int_kernel">Interrupt</button>
160 <button id="restart_kernel">Restart</button>
171 <button id="restart_kernel">Restart</button>
161 </span>
172 </span>
162 <span class="section_row_header">Actions</span>
173 <span class="section_row_header">Actions</span>
163 </div>
174 </div>
164 <div class="section_row">
175 <div class="section_row">
165 <span id="kernel_persist">
176 <span id="kernel_persist">
166 <input type="checkbox" id="kill_kernel"></input>
177 <input type="checkbox" id="kill_kernel"></input>
167 </span>
178 </span>
168 <span class="checkbox_label">Kill kernel upon exit:</span>
179 <span class="checkbox_label">Kill kernel upon exit:</span>
169 </div>
180 </div>
170 </div>
181 </div>
171 </div>
182 </div>
172
183
173 <div id="help_section">
184 <div id="help_section">
174 <h3 class="section_header">Help</h3>
185 <h3 class="section_header">Help</h3>
175 <div class="section_content">
186 <div class="section_content">
176 <div class="section_row">
187 <div class="section_row">
177 <span id="help_buttons0" class="section_row_buttons">
188 <span id="help_buttons0" class="section_row_buttons">
178 <a id="python_help" href="http://docs.python.org" target="_blank">Python</a>
189 <a id="python_help" href="http://docs.python.org" target="_blank">Python</a>
179 <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a>
190 <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a>
180 </span>
191 </span>
181 <span class="section_row_header">Links</span>
192 <span class="section_row_header">Links</span>
182 </div>
193 </div>
183 <div class="section_row">
194 <div class="section_row">
184 <span id="help_buttons1" class="section_row_buttons">
195 <span id="help_buttons1" class="section_row_buttons">
185 <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a>
196 <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a>
186 <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a>
197 <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a>
187 </span>
198 </span>
188 </div>
199 </div>
189 <div class="section_row">
200 <div class="section_row">
190 <span id="help_buttons2" class="section_row_buttons">
201 <span id="help_buttons2" class="section_row_buttons">
191 <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a>
202 <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a>
192 <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a>
203 <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a>
193 </span>
204 </span>
194 </div>
205 </div>
195 <div class="section_row">
206 <div class="section_row">
196 <span class="help_string">run selected cell</span>
207 <span class="help_string">run selected cell</span>
197 <span class="help_string_label">Shift-Enter :</span>
208 <span class="help_string_label">Shift-Enter :</span>
198 </div>
209 </div>
199 <div class="section_row">
210 <div class="section_row">
200 <span class="help_string">run in terminal mode</span>
211 <span class="help_string">run in terminal mode</span>
201 <span class="help_string_label">Ctrl-Enter :</span>
212 <span class="help_string_label">Ctrl-Enter :</span>
202 </div>
213 </div>
203 <div class="section_row">
214 <div class="section_row">
204 <span class="help_string">show keyboard shortcuts</span>
215 <span class="help_string">show keyboard shortcuts</span>
205 <span class="help_string_label">Ctrl-m h :</span>
216 <span class="help_string_label">Ctrl-m h :</span>
206 </div>
217 </div>
207 </div>
218 </div>
208 </div>
219 </div>
209
220
210 </div>
221 </div>
211 <div id="left_panel_splitter"></div>
222 <div id="left_panel_splitter"></div>
212 <div id="notebook_panel">
223 <div id="notebook_panel">
213 <div id="notebook"></div>
224 <div id="notebook"></div>
214 <div id="pager_splitter"></div>
225 <div id="pager_splitter"></div>
215 <div id="pager"></div>
226 <div id="pager"></div>
216 </div>
227 </div>
217
228
218 </div>
229 </div>
219
230
220 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
231 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
221 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
232 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
222 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
233 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
223
234
224 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
235 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
225 <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
236 <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
226 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
237 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
227 <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
238 <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
228 <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
239 <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
229 <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
240 <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
230 <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
241 <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
231
242
232 <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
243 <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
233
244
234 <script src="static/prettify/prettify.js" charset="utf-8"></script>
245 <script src="static/prettify/prettify.js" charset="utf-8"></script>
235
246
236 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
247 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
237 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
248 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
238 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
249 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
239 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
250 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
240 <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script>
251 <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script>
241 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
252 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
242 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
253 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
243 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
254 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
244 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
255 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
245 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
256 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
246 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
257 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
247 <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script>
258 <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script>
248 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
259 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
249 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
260 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
250 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
261 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
251
262
252
263
253 </body>
264 </body>
254
265
255 </html>
266 </html>
256
267
257
268
General Comments 0
You need to be logged in to leave comments. Login now