-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-examples.sh
executable file
·38 lines (34 loc) · 1.09 KB
/
build-examples.sh
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
#!/bin/bash
echo "Building org-ref reference document"
docker run -v $(pwd):/doc/ -t -i --rm credmp/docker-pandoc \
pandoc examples/org-ref.org \
-o "examples/org-ref.pdf" \
-H meta/options.sty \
-N \
--listings \
--metadata-file=preamble.yaml \
--from org \
--template "eisvogel.tex" \
--toc -V toc-own-page=true \
--filter=pandoc-latex-environment \
--filter=pandoc-crossref \
--filter=pandoc-citeproc \
--biblio=meta/my-biblio.bib \
--csl=meta/apa.csl
echo "Building professional report"
docker run -v $(pwd):/doc/ -t -i --rm credmp/docker-pandoc \
pandoc examples/researchreport/rapport.org \
-o "examples/researchreport/document.pdf" \
-H meta/options.sty \
-N \
--listings \
-B examples/researchreport/management.tex \
--metadata-file=examples/researchreport/preamble.yaml \
--from org \
--template "eisvogel.tex" \
--toc -V toc-own-page=true \
--filter=pandoc-latex-environment \
--filter=pandoc-crossref \
--filter=pandoc-citeproc \
--biblio=meta/my-biblio.bib \
--csl=meta/apa.csl