author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Thu, 09 Apr 2015 07:42:23 +0100 | |
changeset 322 | 698ed1c96cd0 |
parent 318 | 7975e4f0d4de |
child 332 | 4755ad4b457b |
permissions | -rwxr-xr-x |
317
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
#!/bin/sh |
322
698ed1c96cd0
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
318
diff
changeset
|
2 |
set -e |
317
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
|
318
7975e4f0d4de
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
317
diff
changeset
|
4 |
subdirs="slides handouts hws coursework" |
317
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
|
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
for sd in $subdirs; do |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
cd $sd |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
for fl in *.tex; do |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
xelatex $fl |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
done |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
cd .. |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
done |