1 #!/bin/sh
2
3 subdirs="slides handouts hws"
4
5 for sd in $subdirs; do
6 cd $sd
7 for fl in *.tex; do
8 xelatex $fl
9 done
10 cd ..
11 done