From c9f3bee30533a2cd11fa9ef9411c3cdd5f1af317 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 24 Jun 2023 11:53:02 +0200 Subject: improve the build system * Allow pandoc to format references in a numerical format * Introduce a new solution latex macro using phantom --- common.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 2e2602ed..8290d85e 100644 --- a/common.mk +++ b/common.mk @@ -9,7 +9,9 @@ LATEX_BASE := $(MAKEFILE_DIR)latex PANDOC_FILTER_DIR := $(MAKEFILE_DIR)pandoc COMMON_IMAGES := $(LATEX_BASE)/images -COMMON_PANDOC_OPTIONS := --pdf-engine=lualatex --resource-path="$(COMMON_IMAGES):." --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua" --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua" +PANDOC_CITE_OPTIONS := --citeproc --csl=$(PANDOC_FILTER_DIR)/din-1505-2-numeric-alphabetical.csl +PANDOC_FILTER_OPTIONS := --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua" --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua" +COMMON_PANDOC_OPTIONS := --pdf-engine=lualatex --resource-path="$(COMMON_IMAGES):." $(PANDOC_CITE_OPTIONS) $(PANDOC_FILTER_OPTIONS) PANDOC := pandoc $(COMMON_PANDOC_OPTIONS) SLIDES_OPTIONS := --slide-level 2 -t beamer --pdf-engine-opt=--shell-escape -- cgit v1.2.3