feat: adds identifying downturn notes

This commit is contained in:
2022-09-19 18:23:44 -05:00
parent 2b6df0ff45
commit ac31a39e1c
12 changed files with 136 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
### Build tools
#
LATEXMK := latexmk -pdflatex="luahblatex %O %S" -pdf -dvi- -ps- -quiet -logfilewarninglist
LATEXMK := latexmk -pdflatex="lualatex %O %S" -pdf -dvi- -ps- -quiet -logfilewarninglist
WS := wolframscript -f
### Directory variables
@@ -11,7 +11,7 @@ CALC_DIR := calc
### Here we go
#
OUT_PDF:= $(PDF_DIR)/notes.pdf
OUT_PDF:= $(PDF_DIR)/notes.pdf $(PDF_DIR)/identifying_downturn.pdf
.PHONY: all
all: $(OUT_PDF)
@@ -20,7 +20,7 @@ all: $(OUT_PDF)
#
## setup main pdf deps as variable that subdirs can add to
MAIN_PDF_DEPS := bibliography.bib
COMMON_PDF_DEPS := bibliography.bib
## Defining common directory recipes
$(PDF_DIR):
@@ -36,10 +36,15 @@ $(CALC_DIR):
FIGURES :=
## Making main.pdf and other pdfs
#
$(PDF_DIR)/notes.pdf: notes.tex $(MAIN_PDF_DEPS) | $(PDF_DIR) $(FIGURES)
$(PDF_DIR)/notes.pdf: notes.tex $(COMMON_PDF_DEPS) | $(PDF_DIR) $(FIGURES)
$(LATEXMK) $(<F)
cp $(@F) $@
$(PDF_DIR)/identifying_downturn.pdf: identifying_downturn.tex $(COMMON_PDF_DEPS) | $(PDF_DIR) $(FIGURES)
$(LATEXMK) $(<F)
cp $(@F) $@
### Convenience scripts for tidying tex
.PHONY: declutter
declutter: