diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-11-03 15:02:24 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-11-03 15:02:24 +0100 |
| commit | e8a1fb3d3fb512c4d845332525f644ac0fe791dc (patch) | |
| tree | 68ed971b5a8acbcebbb215d88ceb34a339d03505 | |
| parent | 95cc57b104d76405c0e80ae8b05157e90a685607 (diff) | |
| download | unterricht-e8a1fb3d3fb512c4d845332525f644ac0fe791dc.tar.gz unterricht-e8a1fb3d3fb512c4d845332525f644ac0fe791dc.zip | |
remove citeproc from slides pandoc options
Using citeproc breaks when including
\makeatletter
\beamer@ignorenonframefalse
\makeatother
in the slides header-includes.
But this is needed to use standalone documents.
| -rw-r--r-- | common.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,13 +13,15 @@ PANDOC_FILTER_DIR := $(PANDOC_DIR)/filters PANDOC_TEMPLATE_DIR := $(PANDOC_DIR)/templates PANDOC_CITE_OPTIONS := --citeproc + PANDOC_FILTER_OPTIONS := --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua" PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua" PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/meta-vars.lua" PANDOC_FILTER_OPTIONS += --filter pandoc-plot -COMMON_PANDOC_OPTIONS := --data-dir="$(PANDOC_DIR)" --resource-path="$(COMMON_IMAGES):." $(PANDOC_CITE_OPTIONS) $(PANDOC_FILTER_OPTIONS) +COMMON_PANDOC_OPTIONS := --data-dir="$(PANDOC_DIR)" --resource-path="$(COMMON_IMAGES):." $(PANDOC_FILTER_OPTIONS) PANDOC := pandoc $(COMMON_PANDOC_OPTIONS) +SLIDES_OPTIONS := --biblatex SLIDES_OPTIONS := --slide-level 2 -t beamer SLIDES_OPTIONS += --pdf-engine-opt=--shell-escape SLIDES_OPTIONS += --metadata-file=$(PANDOC_DIR)/defaults/slides-metadata.yml @@ -64,7 +66,7 @@ schedule.pdf: schedule.md $(MAKEFILE_LIST) %.pdf: %.md $(MAKEFILE_LIST) @echo "building $@" - $(VERBOSE)$(PANDOC) -f markdown $< -o $@ + $(VERBOSE)$(PANDOC) $(PANDOC_CITE_OPTIONS) -f markdown $< -o $@ .PRECIOUS: .build/%.pdf .build/%.pdf: %.tex .FORCE $(MAKEFILE_LIST) |
