Merge branch 'main' of github.com:tum-pbs/pbdl-book into main
This commit is contained in:
15
make-pdf.sh
15
make-pdf.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user