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'])