From a83b53794c6cd41b0ed72c912561792aa7d2345f Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Mon, 2 Feb 2015 19:22:13 -0800 Subject: [PATCH] Changes to test upcoming IPython 3 release. --- pdf/short_build_book | 2 +- pdf/short_merge_book.py | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pdf/short_build_book b/pdf/short_build_book index 270711b..9b59b5b 100755 --- a/pdf/short_build_book +++ b/pdf/short_build_book @@ -2,7 +2,7 @@ echo "merging book..." -python short_merge_book.py > short.ipynb +ipython short_merge_book.py > short.ipynb echo "creating pdf..." ipython nbconvert --to latex --template book --post PDF short.ipynb diff --git a/pdf/short_merge_book.py b/pdf/short_merge_book.py index f7057db..d9c39d3 100644 --- a/pdf/short_merge_book.py +++ b/pdf/short_merge_book.py @@ -58,8 +58,5 @@ def merge_notebooks(filenames): if __name__ == '__main__': #merge_notebooks(sys.argv[1:]) merge_notebooks( - ['Preface.ipynb', - '01_gh_filter/g-h_filter.ipynb', - '02_Discrete_Bayes/discrete_bayes.ipynb', - 'Appendix_A_Installation/Appendix_Installation.ipynb', - 'Appendix_B_Symbols_and_Notations/Appendix_Symbols_and_Notations.ipynb']) + ['../01_g-h_filter.ipynb', + '../02_Discrete_Bayes.ipynb'])