Skip to content
Snippets Groups Projects
Commit 7d7ebf5b authored by Luke Naylor's avatar Luke Naylor
Browse files

Add new notebooks to build system

parent 31b8ae55
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,10 @@ examples.*
!examples.ipynb
characteristic_curves.*
!characteristic_curves.ipynb
rank_zero_case.*
!rank_zero_case.ipynb
other_P_choice.*
!other_P_choice.ipynb
filtered_sage.txt
_minted-main/*
sage-plots-for-main.tex
......
......@@ -8,7 +8,7 @@ SAGETEXSCRIPT = main.sagetex.sage
main.pdf: ${TEXFILES} main.sagetex.sout.tmp
latexmk
main.sagetex.sout.tmp: ${SAGETEXSCRIPT} plots_and_expressions.py examples.py characteristic_curves.py
main.sagetex.sout.tmp: ${SAGETEXSCRIPT} plots_and_expressions.py examples.py characteristic_curves.py rank_zero_case.py other_P_choice.py
PYTHONPATH=./sagetexscripts/ sage ${SAGETEXSCRIPT}
${SAGETEXSCRIPT}: ${TEXFILES}
......@@ -35,6 +35,20 @@ characteristic_curves.py: characteristic_curves.ipynb
sage --preparse characteristic_curves.sage
mv characteristic_curves.sage.py characteristic_curves.py
rank_zero_case.py: rank_zero_case.ipynb
jupyter nbconvert --to script rank_zero_case.ipynb
mv rank_zero_case.py rank_zero_case.sage
sed -e "/get_ipython/d" -i rank_zero_case.sage
sage --preparse rank_zero_case.sage
mv rank_zero_case.sage.py rank_zero_case.py
other_P_choice.py: other_P_choice.ipynb
jupyter nbconvert --to script other_P_choice.ipynb
mv other_P_choice.py other_P_choice.sage
sed -e "/get_ipython/d" -i other_P_choice.sage
sage --preparse other_P_choice.sage
mv other_P_choice.sage.py other_P_choice.py
.PHONY: clean nosage noappendix
clean:
rm -rf **/__pycache__
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment