author | Christian Urban <urbanc@in.tum.de> |
Sun, 23 Sep 2018 09:02:52 +0100 | |
changeset 556 | 40e22ad45744 |
parent 332 | 4755ad4b457b |
child 630 | 9b1c15c3eb6f |
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 |
|
332
4755ad4b457b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
322
diff
changeset
|
4 |
subdirs=${1:-"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 |