From c66f566cf395f0fb8171ecff1da737be73aa0336 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 25 Jul 2026 16:49:17 +0100 Subject: make dissertation.pdf from markdown, not latex --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 565aea4..f7c6cca 100644 --- a/Makefile +++ b/Makefile @@ -74,14 +74,16 @@ $(SCRAPBOOK_PDF): $(SCRAPBOOK_MARKDOWN) $(BIBLIOGRAPHY) $(TEMPLATE_FILES) dissertation: $(DISSERTATION_PDF) -$(DISSERTATION_PDF): $(DISSERTATION_LATEX) +$(DISSERTATION_PDF): $(DISSERTATION_MARKDOWN) $(BIBLIOGRAPHY) $(TEMPLATE_FILES) pandoc \ --standalone \ - --from latex \ + --from markdown \ --to pdf \ --pdf-engine pdflatex \ + --citeproc \ + --template $(TEMPLATE) \ --output $(DISSERTATION_PDF) \ - $(DISSERTATION_LATEX) + $(DISSERTATION_MARKDOWN) $(DISSERTATION_LATEX): $(DISSERTATION_MARKDOWN) $(BIBLIOGRAPHY) $(TEMPLATE_FILES) pandoc \ -- cgit v1.2.3