From f7b8dad745c4905e493dd1dcc5dc172e9880fd41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Tue, 4 Oct 2022 19:23:36 +0000 Subject: [PATCH] Added explicit --top-level-division=section Required for Pandoc 2.19, see jgm/pandoc#5539 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b870d8aa..90cec4c9 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ pdf: init echo $$FILE_NAME.pdf; \ pandoc --standalone --template $(STYLES_DIR)/$(STYLE).tex \ --from markdown --to context \ + --top-level-division=section \ --variable papersize=A4 \ --output $(OUT_DIR)/$$FILE_NAME.tex $$f > /dev/null; \ mtxrun --path=$(OUT_DIR) --result=$$FILE_NAME.pdf --script context $$FILE_NAME.tex > $(OUT_DIR)/context_$$FILE_NAME.log 2>&1; \