mk
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 26 Sep 2017 12:30:38 +0100
changeset 536 150f46bcb93b
parent 518 e1fcfba63a31
permissions -rwxr-xr-x
updated

#!/bin/sh
set -e

subdirs=${1:-"slides handouts hws coursework"} 
#subdirs="slides handouts hws"
#subdirs="hws"

echo $subdirs

for sd in $subdirs; do
  cd $sd
  for fl in *.tex; do
     xelatex $fl
  done
  cd ..
done