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

Convert to Make-driven build

parent 3eb128c2
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
# Requires GNU make, xargs, a latex distribution, sage
# and sagetex.sty visible in TEXINPUTS
MAINTEXFILE = main.tex
TEXFILES = ${MAINTEXFILE}
SAGETEXSCRIPT = main.sagetex.sage
main.pdf: ${TEXFILES} main.sagetex.sout
latexmk
main.sagetex.sout: ${SAGETEXSCRIPT} ${PYPLOTFILES}
PYTHONPATH=./sagetexscripts/ sage ${SAGETEXSCRIPT}
${SAGETEXSCRIPT}: ${TEXFILES}
latexmk -interaction=nonstopmode ${MAINTEXFILE} || echo this shoud fail
.PHONY: clean
clean:
rm -rf **/__pycache__
latexmk -C
git clean -xf || echo no git repo to use for cleaning
......@@ -7,6 +7,7 @@
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{color}
\usepackage{sagetex}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\ZZ}{\mathbb{Z}}
......@@ -134,6 +135,11 @@ for the rank of $E$:
\section{Refinement}
\begin{sagesilent}
from pseudowalls import *
\end{sagesilent}
\section{Conclusion}
\end{document}
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