build.sh 398 Bytes
Newer Older
Aaron Erhardt's avatar
Aaron Erhardt committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

build_pdf() {
  pandoc "$1.md" \
    -f markdown \
    -V geometry:a4paper \
    -V geometry:margin=2cm \
    -V mainfont='DejaVuSans' \
    -V monofont='DejaVuSansMono' \
    -V documentclass="article" \
    -V fontsize="11pt" \
    -V linkcolor:blue \
    --pdf-engine=xelatex \
    -o "../pdf/$1.pdf"
}

cd Matlab
build_pdf Matlab
cd ..

cd Mikrocomputertechnik
build_pdf asm
cd ..