Skip to content

Commit

Permalink
Added explicit --top-level-division=section (#1)
Browse files Browse the repository at this point in the history
Required for Pandoc 2.19, see jgm/pandoc#5539

Co-authored-by: Vedran Miletić <[email protected]>
  • Loading branch information
mwolson and vedranmiletic authored Dec 12, 2024
1 parent b5abc55 commit d9d8115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit d9d8115

Please sign in to comment.