Kalman-and-Bayesian-Filters.../pdf/run_notebooks.bat
Roger Labbe c97186c8b4 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.
2017-01-18 12:23:06 -08:00

11 lines
247 B
Batchfile

mkdir tmp
copy ..\*.ipynb .\tmp
copy ..\*.py .\tmp
cp -r ..\code\ .\tmp\code\
cd tmp
forfiles /m *.ipynb /c "cmd /c ipython ..\rm_notebook.py @file"
forfiles /m *.ipynb /c "cmd /c jupyter nbconvert --to notebook --execute @file --output @file"