author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Sat, 20 Dec 2014 00:24:59 +0000 | |
changeset 358 | 8787c16bc26e |
parent 345 | 7f0ac1355f0b |
child 385 | b7d055cf16e8 |
permissions | -rwxr-xr-x |
345
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
#!/bin/sh |
358
8787c16bc26e
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
345
diff
changeset
|
2 |
set -e |
345
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
|
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
subdirs="slides handouts hws" |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
|
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
for sd in $subdirs; do |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
cd $sd |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
for fl in *.tex; do |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
xelatex $fl |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
done |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
cd .. |
7f0ac1355f0b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
done |