-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (38 loc) · 1.35 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
44
45
46
47
48
# Quick Makefile to easily compile the slides (make pdf) and run the slide (make showtime)
SHELL=/usr/bin/env /bin/bash
all: webslides send
webslides: slidy
allslides: slidy revealjs s5 slideous dzslides
slidy:
pandoc --standalone -c slides.css -t slidy slides.md -o slides.slidy.html
revealjs:
pandoc --standalone -c slides.css -t revealjs slides.md -o slides.revealjs.html
s5:
pandoc --standalone -c slides.css -t s5 slides.md -o slides.s5.html
slideous:
pandoc --standalone -c slides.css -t slideous slides.md -o slides.slideous.html
dzslides:
pandoc --standalone -c slides.css -t dzslides slides.md -o slides.dzslides.html
# default: pandocpdf
pandocpdf:
# pandoc --variable=aspectratio:43 -N -s --template=../common/my.beamer -t beamer slides.md -o slides.tex
pandoc --variable=aspectratio:43 -N -s -t beamer slides.md -o slides.tex
latexmk -xelatex -gg -pdf slides.tex
xdg-open slides.pdf &
showtime: show
show:
pdfpc -d 30 slides.pdf
pandocpdf169:
pandoc --variable=aspectratio:169 -N -s --template=../common/my.beamer -t beamer slides.md -o slides_169.tex
latexmk -xelatex -gg -pdf slides_169.tex
xdg-open slides_169.pdf &
showtime169: show169
show169:
pdfpc -d 30 slides_169.pdf
Marp:
Marp slides.md
typora:
typora slides.md
send: send_zamok
send_zamok:
CP --exclude=.git ./ ${Szam}publis/Un-Quiz-Magic-the-Gathering-pour-le-festival-Don-des-Dragons/