Skip to content

Commit 1df294e

Browse files
committed
Merge pull request #33 from BCSharp/ipython4_ch03_rcp02
Upgraded Recipe 3.2 to IPython 4
2 parents 2572a02 + 9749223 commit 1df294e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notebooks/chapter03_notebook/02_nbformat.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"cell_type": "markdown",
206206
"metadata": {},
207207
"source": [
208-
"7. Now, we are going to use nbconvert to convert our text notebook to other formats. This tool can be used from the command-line. Note that the API of nbconvert may change in future versions. Here, we convert the notebook to an HTML document."
208+
"7. Now, we are going to use nbconvert to convert our text notebook to other formats. This tool can be used from the command-line (if you are using IPython < 4.x, replace command `jupyter` with `ipython`). Here, we convert the notebook to an HTML document."
209209
]
210210
},
211211
{
@@ -216,7 +216,7 @@
216216
},
217217
"outputs": [],
218218
"source": [
219-
"!ipython nbconvert --to html data/test.ipynb"
219+
"!jupyter nbconvert --to html data/test.ipynb"
220220
]
221221
},
222222
{
@@ -280,7 +280,7 @@
280280
},
281281
"outputs": [],
282282
"source": [
283-
"!ipython nbconvert --to latex --template mytemplate data/test.ipynb\n",
283+
"!jupyter nbconvert --to latex --template mytemplate data/test.ipynb\n",
284284
"!pdflatex test.tex"
285285
]
286286
},
@@ -310,7 +310,7 @@
310310
"name": "python",
311311
"nbconvert_exporter": "python",
312312
"pygments_lexer": "ipython3",
313-
"version": "3.4.2"
313+
"version": "3.5.1"
314314
}
315315
},
316316
"nbformat": 4,

0 commit comments

Comments
 (0)