From f709ed040e8945184b5d50599075eb6c0bfa1d8d Mon Sep 17 00:00:00 2001 From: Aakash Gupta Date: Tue, 17 Dec 2019 16:14:16 +1100 Subject: [PATCH] added jupyter pdf book flag to Makefile --- Makefile | 4 ++-- conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 02a83a17..a6a2266f 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,10 @@ endif pdf: ifneq ($(strip $(parallel)),) - @$(SPHINXBUILD) -M jupyterpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(FILES) $(SPHINXOPTS) $(O) -D jupyter_latex_template="latex.tpl" -D jupyter_latex_template_book="latex_book.tpl" -D jupyter_images_markdown=1 -D jupyter_execute_notebooks=1 -D jupyter_target_pdf=1 -D jupyter_number_workers=$(parallel) + @$(SPHINXBUILD) -M jupyterpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(FILES) $(SPHINXOPTS) $(O) -D jupyter_latex_template="latex.tpl" -D jupyter_latex_template_book="latex_book.tpl" -D jupyter_images_markdown=1 -D jupyter_execute_notebooks=1 -D jupyter_pdf_book=1 -D jupyter_target_pdf=1 -D jupyter_number_workers=$(parallel) else - @$(SPHINXBUILD) -M jupyterpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(FILES) $(SPHINXOPTS) $(O) -D jupyter_latex_template="latex.tpl" -D jupyter_latex_template_book="latex_book.tpl" -D jupyter_images_markdown=1 -D jupyter_execute_notebooks=1 -D jupyter_target_pdf=1 + @$(SPHINXBUILD) -M jupyterpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(FILES) $(SPHINXOPTS) $(O) -D jupyter_latex_template="latex.tpl" -D jupyter_latex_template_book="latex_book.tpl" -D jupyter_images_markdown=1 -D jupyter_execute_notebooks=1 -D jupyter_pdf_book=1 -D jupyter_target_pdf=1 endif constructor-pdf: diff --git a/conf.py b/conf.py index 0e6bc21e..f08de307 100644 --- a/conf.py +++ b/conf.py @@ -465,7 +465,7 @@ jupyter_pdf_urlpath = "https://lectures.quantecon.org/py/" # make book -jupyter_pdf_book = True +jupyter_pdf_book = False # book title jupyter_pdf_book_title = "Quantitative Economics with Python"