Merge branch 'main' of github.com:tum-pbs/pbdl-book into main

This commit is contained in:
NT
2021-04-26 14:14:05 +08:00
6 changed files with 2034 additions and 4 deletions

View File

@@ -5,13 +5,20 @@ echo Note: first comment out PG chapter in _toc
echo Note: manually quit first latex pass with shift-x
echo
#cd /Users/thuerey/Dropbox/mbaDevelSelected/pbdl-book/
DIR=/Users/thuerey/Dropbox/mbaDevelSelected/pbdl-book/
cd ${DIR}
#echo Note: make sure to copy latex helpers! cp ./latex-helpers/* ./_build/latex/
mkdir _build
mkdir _build/latex
cp ./latex-helpers/* ./_build/latex/
# first preliminary build to generate .tex file
/Users/thuerey/Library/Python/3.7/bin/jupyter-book build . --builder pdflatex
# fix up latex
#cd /Users/thuerey/Dropbox/mbaDevelSelected/pbdl-book/
cd _build/latex
# TODO, use py script later on...
cd ${DIR}/_build/latex
export JPYFILENAME=book.tex
rm ${JPYFILENAME}-in.bak
mv ${JPYFILENAME} ${JPYFILENAME}-in.bak