|
105 | 105 | "name": "stdout", |
106 | 106 | "output_type": "stream", |
107 | 107 | "text": [ |
108 | | - "dict_keys(['cells', 'metadata', 'nbformat', 'nbformat_minor'])\n", |
| 108 | + "dict_keys(['cells', 'metadata',\n", |
| 109 | + " 'nbformat', 'nbformat_minor'])\n", |
109 | 110 | "nbformat 4.4\n" |
110 | 111 | ] |
111 | 112 | } |
|
157 | 158 | " 'execution_count': 1,\n", |
158 | 159 | " 'metadata': {},\n", |
159 | 160 | " 'outputs': [{'data': {'image/png': 'iVBOR...QmCC\\n',\n", |
160 | | - " 'text/plain': ['<matplotlib.figure.Figure at ..>']},\n", |
| 161 | + " 'text/plain': ['<matplotlib Figure at ...>']},\n", |
161 | 162 | " 'metadata': {},\n", |
162 | 163 | " 'output_type': 'display_data'}],\n", |
163 | 164 | " 'source': ['import numpy as np\\n',\n", |
|
286 | 287 | "name": "stdout", |
287 | 288 | "output_type": "stream", |
288 | 289 | "text": [ |
289 | | - "Writing mytemplate.tplx\n" |
| 290 | + "Writing temp.tplx\n" |
290 | 291 | ] |
291 | 292 | } |
292 | 293 | ], |
293 | 294 | "source": [ |
294 | | - "%%writefile mytemplate.tplx\n", |
| 295 | + "%%writefile temp.tplx\n", |
295 | 296 | "((*- extends 'article.tplx' -*))\n", |
296 | 297 | "\n", |
297 | 298 | "((* block author *))\n", |
|
317 | 318 | "[NbConvertApp] Making directory test_files\n", |
318 | 319 | "[NbConvertApp] Writing 16695 bytes to notebook.tex\n", |
319 | 320 | "[NbConvertApp] Building PDF\n", |
320 | | - "[NbConvertApp] Running xelatex 3 times: ['xelatex', 'notebook.tex']\n", |
321 | | - "[NbConvertApp] Running bibtex 1 time: ['bibtex', 'notebook']\n", |
322 | | - "[NbConvertApp] WARNING | bibtex had problems, most likely because there were no citations\n", |
| 321 | + "[NbConvertApp] Running xelatex 3 times:\n", |
| 322 | + " ['xelatex', 'notebook.tex']\n", |
| 323 | + "[NbConvertApp] Running bibtex 1 time:\n", |
| 324 | + " ['bibtex', 'notebook']\n", |
323 | 325 | "[NbConvertApp] PDF successfully created\n", |
324 | 326 | "[NbConvertApp] Writing 16147 bytes to test.pdf\n" |
325 | 327 | ] |
326 | 328 | } |
327 | 329 | ], |
328 | 330 | "source": [ |
329 | 331 | "%%bash\n", |
330 | | - "jupyter nbconvert --to pdf --template mytemplate test.ipynb" |
| 332 | + "jupyter nbconvert --to pdf --template temp test.ipynb" |
331 | 333 | ] |
332 | 334 | } |
333 | 335 | ], |
|
0 commit comments