Fixed PDF generation re %matplotlib magic

Fixed the scripts that comment out the matplotlib magic.
It was commenting out all of the magics - the first one, and
ones in markdown cells. It should only comment out the ones
in code cells, and leave the first one.
This commit is contained in:
Roger Labbe
2017-01-18 12:23:06 -08:00
parent 91e9e08377
commit c97186c8b4
4 changed files with 29 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
rem call run_notebooks
rem cd ..
call run_notebooks
cd ..
ipython merge_book.py
jupyter nbconvert --to latex --template book book.ipynb