SRC=presentation.md

all: html pdf

html: $(SRC)
	pandoc -s --mathjax -t revealjs --css html/style.css -o presentation.html $^

html_tpl: $(SRC)
	pandoc -s --mathjax -t revealjs --template html/template-revealjs.html\
					--css html/style.css \
					-V theme=night \
					-o presentation_tpl.html $^

pdf: $(SRC)
	pandoc --self-contained --toc -V theme=metropolis -t beamer -o presentation.pdf $^
	# latexmk presentation.tex
