-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (33 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
open: talk.html
sensible-browser $<
all: talk.html talk.tex talk.pdf talk-handout.pdf talk-notes.pdf
talk.html: talk.json reveal.js
pandoc --standalone --slide-level=2 --to revealjs \
--css style.css --filter ./filters/transform-notes.hs \
-S -o $@ $<
talk.tex: talk.json
pandoc --standalone --slide-level=2 --to beamer \
--filter ./filters/transform-notes-beamer.hs \
-o $@ $<
talk.pdf: talk.json
pandoc --standalone --slide-level=2 --to beamer \
--filter ./filters/transform-notes-beamer.hs \
--latex-engine=xelatex --latex-engine-opt=--shell-escape \
-o $@ $<
talk-notes.pdf: talk.json
pandoc --standalone --slide-level=2 --to beamer \
--filter ./filters/transform-notes-beamer.hs \
--latex-engine=xelatex \
--metadata='classoption:notes=only' \
-o $@ $<
talk-handout.pdf: talk.json
pandoc --standalone --to latex \
--latex-engine=xelatex \
-o $@ $<
talk.json: talk.org
pandoc -S --standalone --to json -o $@ $<
reveal.js:
git submodule update --init
clean:
git clean -dXf
.PHONY: all clean open