slides: init

This commit is contained in:
Raito Bezarius 2020-05-26 17:27:52 +02:00
parent 64601ca476
commit 338ce563d7
10 changed files with 227 additions and 0 deletions

19
slides/Makefile Normal file
View file

@ -0,0 +1,19 @@
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
all : $(SLIDES) $(HANDOUTS)
%.md.slides.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -o $@
%.md.handout.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -V handout -o $@
pdfnup $@ --nup 1x2 --no-landscape --keepinfo \
--paper letterpaper --frame true --scale 0.9 \
--suffix "nup"
mv $*.md.handout-nup.pdf $@
clobber :
rm -f $(SLIDES)
rm -f $(HANDOUTS)