Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade mathjax to version 2.7.1 #584

Merged
merged 1 commit into from
May 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 33 additions & 57 deletions docs/source/customizing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -54,17 +54,18 @@
"\n",
"# In[1]:\n",
"\n",
"\n",
"print(\"This is a code cell that produces some output\")\n",
"\n",
"\n",
"# ### Inline figures\n",
"\n",
"# In[2]:\n",
"# In[1]:\n",
"\n",
"get_ipython().magic('matplotlib inline')\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"plt.ion()\n",
"\n",
"x = np.linspace(0, 2 * np.pi, 100)\n",
"y = np.sin(x)\n",
Expand All @@ -88,7 +89,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -101,15 +102,16 @@
"\n",
"# In[1]:\n",
"\n",
"\n",
"print(\"This is a code cell that produces some output\")\n",
"\n",
"\n",
"# In[2]:\n",
"# In[1]:\n",
"\n",
"get_ipython().magic('matplotlib inline')\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"plt.ion()\n",
"\n",
"x = np.linspace(0, 2 * np.pi, 100)\n",
"y = np.sin(x)\n",
Expand All @@ -135,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -170,7 +172,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -187,12 +189,11 @@
"print(\"This is a code cell that produces some output\")\n",
"\n",
"\n",
"# [2]:\n",
"\n",
"get_ipython().magic('matplotlib inline')\n",
"# [1]:\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"plt.ion()\n",
"\n",
"x = np.linspace(0, 2 * np.pi, 100)\n",
"y = np.sin(x)\n",
Expand Down Expand Up @@ -220,7 +221,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -408,14 +409,14 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Writing mytemplate.tpl\n"
"Overwriting mytemplate.tpl\n"
]
}
],
Expand Down Expand Up @@ -451,7 +452,7 @@
},
{
"cell_type": "code",
"execution_count": 48,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -12184,9 +12185,7 @@
"div#notebook {\n",
" overflow: visible;\n",
" border-top: none;\n",
"}\n",
"\n",
"@media print {\n",
"}@media print {\n",
" div.cell {\n",
" display: block;\n",
" page-break-inside: avoid;\n",
Expand All @@ -12207,7 +12206,7 @@
"\n",
"<!-- Loading mathjax macro -->\n",
"<!-- Load mathjax -->\n",
" <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML\"></script>\n",
" <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML\"></script>\n",
" <!-- MathJax configuration -->\n",
" <script type=\"text/x-mathjax-config\">\n",
" MathJax.Hub.Config({\n",
Expand All @@ -12232,24 +12231,20 @@
" <div class=\"container\" id=\"notebook-container\">\n",
"\n",
"\n",
" <div style=\"border:thin solid red\">\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\">\n",
"<div class=\"prompt input_prompt\">\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\"><div class=\"prompt input_prompt\">\n",
"</div>\n",
"<div class=\"inner_cell\">\n",
"<div class=\"text_cell_render border-box-sizing rendered_html\">\n",
"<h1 id=\"Example-notebook\">Example notebook<a class=\"anchor-link\" href=\"#Example-notebook\">&#182;</a></h1>\n",
"</div>\n",
"</div>\n",
"</div>\n",
" </div>\n",
"\n",
"\n",
"\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\">\n",
"<div class=\"prompt input_prompt\">\n",
"<div class=\"cell border-box-sizing text_cell rendered\"><div class=\"prompt input_prompt\">\n",
"</div>\n",
"<div class=\"inner_cell\">\n",
"<div class=\"text_cell_render border-box-sizing rendered_html\">\n",
Expand All @@ -12261,9 +12256,9 @@
"\n",
"\n",
"\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\">\n",
"<div class=\"prompt input_prompt\">\n",
" <div style=\"border:thin solid orange\">\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\"><div class=\"prompt input_prompt\">\n",
"</div>\n",
"<div class=\"inner_cell\">\n",
"<div class=\"text_cell_render border-box-sizing rendered_html\">\n",
Expand All @@ -12274,25 +12269,24 @@
"</div>\n",
"</div>\n",
"</div>\n",
" </div>\n",
"\n",
"\n",
"\n",
" <div style=\"border:thin solid green\">\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\">\n",
"<div class=\"prompt input_prompt\">\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\"><div class=\"prompt input_prompt\">\n",
"</div>\n",
"<div class=\"inner_cell\">\n",
"<div class=\"text_cell_render border-box-sizing rendered_html\">\n",
"<h3 id=\"Code-cells\">Code cells<a class=\"anchor-link\" href=\"#Code-cells\">&#182;</a></h3>\n",
"</div>\n",
"</div>\n",
"</div>\n",
" </div>\n",
"\n",
"\n",
"\n",
" \n",
" <div style=\"border:thin solid green\">\n",
" \n",
"<div class=\"cell border-box-sizing code_cell rendered\">\n",
"<div class=\"input\">\n",
"<div class=\"prompt input_prompt\">In&nbsp;[1]:</div>\n",
Expand Down Expand Up @@ -12324,12 +12318,12 @@
"</div>\n",
"\n",
"</div>\n",
" </div>\n",
"\n",
"\n",
"\n",
" \n",
"<div class=\"cell border-box-sizing text_cell rendered\">\n",
"<div class=\"prompt input_prompt\">\n",
"<div class=\"cell border-box-sizing text_cell rendered\"><div class=\"prompt input_prompt\">\n",
"</div>\n",
"<div class=\"inner_cell\">\n",
"<div class=\"text_cell_render border-box-sizing rendered_html\">\n",
Expand All @@ -12340,7 +12334,7 @@
"\n",
"\n",
"\n",
" <div style=\"border:thin solid orange\">\n",
" <div style=\"border:thin solid red\">\n",
" \n",
"<div class=\"cell border-box-sizing code_cell rendered\">\n",
"<div class=\"input\">\n",
Expand Down Expand Up @@ -12614,23 +12608,6 @@
" </div>\n",
"\n",
"\n",
"\n",
" \n",
"<div class=\"cell border-box-sizing code_cell rendered\">\n",
"<div class=\"input\">\n",
"<div class=\"prompt input_prompt\">In&nbsp;[&nbsp;]:</div>\n",
"<div class=\"inner_cell\">\n",
" <div class=\"input_area\">\n",
"<div class=\" highlight hl-ipython3\"><pre><span></span> \n",
"</pre></div>\n",
"\n",
"</div>\n",
"</div>\n",
"</div>\n",
"\n",
"</div>\n",
"\n",
"\n",
" </div>\n",
" </div>\n",
"</body>\n",
Expand Down Expand Up @@ -24929,7 +24906,6 @@
}
],
"metadata": {
"celltoolbar": "Edit Metadata",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
Expand All @@ -24945,7 +24921,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/templates/html/mathjax.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- macro mathjax(url='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML') -%}
{%- macro mathjax(url='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML') -%}
<!-- Load mathjax -->
<script src="{{url}}"></script>
<!-- MathJax configuration -->
Expand Down