-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (23 loc) · 818 Bytes
/
Makefile
File metadata and controls
27 lines (23 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
lectures_folder="lecture_notes"
CHAPTERS = preface intro vectors linear_trans matrices linear_systems eigenvectors uses integrals general quantum
$(eval CHPTRNM=$(shell echo $$(($(NUM)+1))))
CHAPTER = $(word $(CHPTRNM), $(CHAPTERS))
do:
rm -rf pythontex-files-* *.pytxcode
pdflatex -shell-escape lectures
biber lectures
pythontex lectures.pytxcode
pdflatex -shell-escape lectures
quick:
pdflatex -shell-escape lectures
presentation:
pdflatex -shell-escape --jobname '$(CHAPTER)' "\def\chnum{$(NUM)} \input{presentations}"
mv "$(CHAPTER).pdf" presentation_chapters
rm -f $(CHAPTER).*
rm -f ../$(CHAPTER).*
fullpresent:
rm -rf pythontex-files-* *.pytxcode
pdflatex -shell-escape "\def\full{1} \input{presentations}"
biber lectures
pythontex presentations.pytxcode
pdflatex -shell-escape presentations