forked from katrinleinweber/scientific-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
42 lines (37 loc) · 1.01 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
clean:
latexmk -C
all:
report
presentation
presentation:
scholdoc \
--slide-level 2 \
--from markdown+yaml_metadata_block+table_captions \
--to beamer \
--include-in-header presentation-header.tex \
--listings \
--highlight-style espresso \
--include-before-body presentation-toc.tex \
--bibliography bibliography.bibtex \
--csl citation.csl \
--output presentation.tex \
presentation*.md
latexmk -pdflatex="pdflatex --shell-escape %O %S" -pdf presentation.tex
report:
scholdoc \
--from markdown+yaml_metadata_block+table_captions \
--to latex \
--variable documentclass=article \
--variable classoption=twocolumn \
--variable classoption=12pt \
--number-sections \
--include-in-header report-header.tex \
--include-after-body report-footer.tex \
--listings \
--bibliography bibliography.bibtex \
--csl citation.csl \
--output report.tex \
--standalone \
report*.md
latexmk -pdflatex="pdflatex --shell-escape %O %S" -pdf report.tex
#--variable theme=Minimal \