diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-10 11:34:54 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-10 11:34:54 +0200 |
| commit | 099b16b2876d385624b8ad00914fa47ab396f40b (patch) | |
| tree | 9b645727305b4c9270e68602468f231b1929ea55 /common.mk | |
| parent | 6efec10a335bc2553106d272bf786196a7cfa041 (diff) | |
| download | unterricht-099b16b2876d385624b8ad00914fa47ab396f40b.tar.gz unterricht-099b16b2876d385624b8ad00914fa47ab396f40b.zip | |
pandoc: allow to include other files
The following block will inlcude a second markdown file:
```{.include}
path/to/other/markdown/file.md
```
Move all used pandoc filters from the latex/ base directory into
a new pandoc/ directory.
Diffstat (limited to 'common.mk')
| -rw-r--r-- | common.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,9 +1,10 @@ IMGS := $(wildcard img/*) LATEX_BASE := $(MAKEFILE_DIR)latex +PANDOC_FILTER_DIR := $(MAKEFILE_DIR)pandoc COMMON_IMAGES := $(LATEX_BASE)/images -COMMON_PANDOC_OPTIONS := --resource-path="$(COMMON_IMAGES):." --lua-filter "$(LATEX_BASE)/pandoc_center_img.lua" +COMMON_PANDOC_OPTIONS := --resource-path="$(COMMON_IMAGES):." --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua" --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua" PANDOC := pandoc $(COMMON_PANDOC_OPTIONS) SLIDES_OPTIONS := --slide-level 2 -t beamer |
