diff --git a/jupyter_book/Makefile b/jupyter_book/Makefile index c0d6ce1..3552492 100644 --- a/jupyter_book/Makefile +++ b/jupyter_book/Makefile @@ -3,6 +3,8 @@ all: html pdf html: jupyter-book build . pdf: - jupyter-book build --builder pdflatex . + jupyter-book build --builder latex . + cd _build/latex && sed -i -e 's/letterpaper/a4paper/' -e 's/\(Dr\. Christoph G\)/\\hspace{8.2em}\1/' python_intro.tex && make && cd ../.. + clean: rm -rf _build diff --git a/jupyter_book/_config.yml b/jupyter_book/_config.yml index c3c22fe..aa74ef3 100644 --- a/jupyter_book/_config.yml +++ b/jupyter_book/_config.yml @@ -14,6 +14,9 @@ execute: latex: latex_documents: targetname: python_intro.tex + author: Dr. Christoph Giess \\ MARS – Center for Entrepreneurship + latex_show_urls: inline + latex_show_pagerefs: true sphinx: extra_extensions: