2023-03-10 14:19:06 +01:00
|
|
|
# make creates pdf files of all newly edited .md files
|
|
|
|
|
|
|
|
SRCS := $(wildcard *.md)
|
|
|
|
PDF := $(SRCS:%.md=%.pdf)
|
|
|
|
|
2023-04-03 13:43:34 +02:00
|
|
|
#OPT := --pdf-engine=xelatex --variable mainfont="Helvetica" --variable sansfont="Helvetica" -t beamer -s -fmarkdown-implicit_figures --template=template.beamer --highlight-style=kate
|
|
|
|
OPT := -t beamer -s -fmarkdown-implicit_figures --template=template.beamer --highlight-style=kate
|
|
|
|
|
|
|
|
|
2023-03-10 14:19:06 +01:00
|
|
|
all: ${PDF}
|
|
|
|
|
|
|
|
%.pdf: %.md
|
|
|
|
pandoc $(OPT) --output=$@ $<
|