author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Fri, 05 Dec 2014 17:13:33 +0000 | |
changeset 318 | 7975e4f0d4de |
parent 317 | a61b50c5d57f |
child 322 | 698ed1c96cd0 |
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 |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
|
318
7975e4f0d4de
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
317
diff
changeset
|
3 |
subdirs="slides handouts hws coursework" |
317
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
|
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
for sd in $subdirs; do |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
cd $sd |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
for fl in *.tex; do |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
xelatex $fl |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
done |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
cd .. |
a61b50c5d57f
updated all
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
done |