author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Fri, 13 Dec 2013 10:37:25 +1100 | |
changeset 18 | cfd4b8219c87 |
permissions | -rwxr-xr-x |
18
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
#!/bin/bash |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
|
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
set -e |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
|
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
FORMAT="$1" |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
VARIANT="$2" |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
|
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
ISABELLE_PDFLATEX="xelatex" |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
|
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |
cfd4b8219c87
added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |