author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Thu, 10 Sep 2015 09:45:10 +0100 | |
changeset 380 | 948f4b39d55d |
parent 358 | 8787c16bc26e |
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 |