##// END OF EJS Templates
add server/permission info in failed-mathjax dialog...
MinRK -
Show More
@@ -28,13 +28,14 b' $(document).ready(function () {'
28 var dialog = $('<div></div>')
28 var dialog = $('<div></div>')
29 .append(
29 .append(
30 $("<p></p>").addClass('dialog').html(
30 $("<p></p>").addClass('dialog').html(
31 "Math/LaTeX equation rendering will be disabled."
31 "Math/LaTeX rendering will be disabled."
32 )
32 )
33 ).append(
33 ).append(
34 $("<p></p>").addClass('dialog').html(
34 $("<p></p>").addClass('dialog').html(
35 "With a working internet connection, you can install a local copy" +
35 "If you have administrative access to the notebook server and" +
36 " of MathJax for offline use with the following command at a Python" +
36 " a working internet connection, you can install a local copy" +
37 " or IPython prompt:"
37 " of MathJax for offline use with the following command on the server" +
38 " at a Python or IPython prompt:"
38 )
39 )
39 ).append(
40 ).append(
40 $("<pre></pre>").addClass('dialog').html(
41 $("<pre></pre>").addClass('dialog').html(
@@ -42,14 +43,17 b' $(document).ready(function () {'
42 )
43 )
43 ).append(
44 ).append(
44 $("<p></p>").addClass('dialog').html(
45 $("<p></p>").addClass('dialog').html(
45 "This will try to install MathJax into the directory where you installed"+
46 "This will try to install MathJax into the IPython source directory."
46 " IPython. If you installed IPython to a location that requires"+
47 )
47 " administrative privileges to write, you will need to make this call as"+
48 ).append(
49 $("<p></p>").addClass('dialog').html(
50 "If IPython is installed to a location that requires" +
51 " administrative privileges to write, you will need to make this call as" +
48 " an administrator, via 'sudo'."
52 " an administrator, via 'sudo'."
49 )
53 )
50 ).append(
54 ).append(
51 $("<p></p>").addClass('dialog').html(
55 $("<p></p>").addClass('dialog').html(
52 "Or you can instruct the notebook server to disable MathJax support altogether:"
56 "When you start the notebook server, you can instruct it to disable MathJax support altogether:"
53 )
57 )
54 ).append(
58 ).append(
55 $("<pre></pre>").addClass('dialog').html(
59 $("<pre></pre>").addClass('dialog').html(
General Comments 0
You need to be logged in to leave comments. Login now