-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (46 loc) · 1014 Bytes
/
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
49
50
51
html:
rm -Rf build_html
mkdir build_html
ln -s ~/Presentations/reveal.js build_html
cp -R images build_html
cp custom.css build_html
pandoc --citeproc \
-t revealjs \
-V theme=solarized \
-V disableLayout=true \
-c custom.css \
--csl=https://www.zotero.org/styles/current-genetics?source=1 \
-s main.md \
-o build_html/main.html \
--slide-level 3 \
--mathjax
beamer:
rm -Rf build_pdf
mkdir build_pdf
cp main.md build_pdf
cp tyssue.bib build_pdf
cp -R images build_pdf
cd build_pdf
pandoc --citeproc \
-t beamer \
--pdf-engine lualatex \
--slide-level 3 \
-s main.md \
-o main.pdf
debug:
rm -Rf build_pdf
mkdir build_pdf
cp main.md build_pdf
cp tyssue.bib build_pdf
cp -R images build_pdf
cd build_pdf
pandoc --citeproc \
--verbose \
-t beamer \
--pdf-engine lualatex \
--slide-level 3 \
-s main.md \
-o main.pdf
clean:
rm -Rf build_html
rm -Rf build_pdf