Skip to content

Instantly share code, notes, and snippets.

View gcpeixoto's full-sized avatar
🎯
Focusing

Gustavo Oliveira gcpeixoto

🎯
Focusing
View GitHub Profile
@gcpeixoto
gcpeixoto / Makefile
Created March 16, 2017 01:36 — forked from lmullen/Makefile
PDF slides and handouts using Pandoc and Beamer
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 $@