Create aggregate thesis structure, initial import of papers

This commit is contained in:
jaseg 2025-06-13 14:12:34 +02:00
parent a2565bab43
commit 9bec99b729
169 changed files with 3867 additions and 387 deletions

View file

@ -7,28 +7,31 @@ MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
VERSION_STRING := $(shell git describe --always --tags --long)
# chapter subdir cwd, thesis repo root, system tex distribution
TEXINPUTS := .:..:
export TEXINPUTS
all: clean chapter.pdf
# We need three runs for biblatex's defernumbers
%.pdf: %.tex ../main.bib version.tex
pdflatex -shell-escape $<
biber $*
pdflatex -shell-escape $<
biber $*
pdflatex -shell-escape $<
%.pdf: ../chapter-template.tex %.tex ../common-packages.tex ../common-defs.tex ../main.bib version.tex
pdflatex -shell-escape -jobname chapter $<
biber --input-directory=.. $*
pdflatex -shell-escape -jobname chapter $<
biber --input-directory=.. $*
pdflatex -shell-escape -jobname chapter $<
.PHONY: preview
preview:
biber chapter || true
pdflatex -shell-escape '\def\thesispreviewmode{}\input{chapter.tex}'
biber --input-directory=.. chapter || true
pdflatex -shell-escape -jobname chapter ../chapter-template.tex
version.tex: chapter.tex
echo "${VERSION_STRING}" > $@
.PHONY: update-figures
update-figures:
@python figures/update_figures.py figures
@python ../update_figures.py figures
.PHONY: clean
clean: