moves stuff to supplements

This commit is contained in:
2025-12-11 14:13:11 +01:00
parent 6c2d02b8e0
commit a2f42ee061
5 changed files with 595 additions and 472 deletions
+14 -15
View File
@@ -1,21 +1,20 @@
QUARTO = quarto
QMD = index.qmd
QUARTO ?= quarto
.PHONY: all pdf docx clean
# Build both formats for both documents
all: pdf docx
# PDF
# Aggregate targets
pdf: index.pdf Supplements.pdf
docx: index.docx Supplements.docx
pdf: OUTPUT_FORMAT = pdf/tex
pdf: index.pdf
# Pattern rules for either format
%.pdf: %.qmd
OUTPUT_FORMAT=pdf/tex $(QUARTO) render $< --to pdf
index.pdf: $(QMD)
OUTPUT_FORMAT="$(OUTPUT_FORMAT)" $(QUARTO) render $(QMD) --to pdf
# DOCX
docx: OUTPUT_FORMAT = docx
docx: index.docx
index.docx: $(QMD)
OUTPUT_FORMAT="$(OUTPUT_FORMAT)" $(QUARTO) render $(QMD) --to docx
%.docx: %.qmd
OUTPUT_FORMAT=docx $(QUARTO) render $< --to docx
clean:
rm -f index.pdf Supplements.pdf index.docx Supplements.docx