mk
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 17 Dec 2014 17:50:34 +0000
changeset 354 8e5e84b14041
parent 345 7f0ac1355f0b
child 358 8787c16bc26e
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
345
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
#!/bin/sh
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
subdirs="slides handouts hws" 
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
for sd in $subdirs; do
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
  cd $sd
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
  for fl in *.tex; do
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
     xelatex $fl
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
  done
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
  cd ..
7f0ac1355f0b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
done