29 lines
856 B
Bash
Executable File
29 lines
856 B
Bash
Executable File
# source this file with "." in a shell
|
|
|
|
# do clean git checkout for changes from json-cleanup-for-pdf.py via:
|
|
# git checkout diffphys-code-burgers.ipynb diffphys-code-ns.ipynb diffphys-code-sol.ipynb physicalloss-code.ipynb bayesian-code.ipynb supervised-airfoils.ipynb reinflearn-code.ipynb physgrad-code.ipynb physgrad-comparison.ipynb physgrad-hig-code.ipynb
|
|
|
|
|
|
echo
|
|
echo WARNING - still requires one manual quit of first pdf/latex pass, use shift-x to quit, then fix latex
|
|
echo
|
|
|
|
PYT=python3
|
|
|
|
# warning - modifies notebooks!
|
|
${PYT} json-cleanup-for-pdf.py
|
|
|
|
# clean / remove _build dir ?
|
|
|
|
/Users/thuerey/Library/Python/3.9/bin/jupyter-book build . --builder pdflatex
|
|
|
|
# manual?
|
|
#xelatex book
|
|
|
|
# unused fixup-latex.py
|
|
|
|
# for convenience, archive results in main dir
|
|
#mv book.pdf ../../pbfl-book-pdflatex.pdf
|
|
#tar czvf ../../pbdl-latex-for-arxiv.tar.gz *
|
|
|