mk
author cu
Fri, 27 Oct 2017 23:57:21 +0100
changeset 558 86334134abe5
parent 518 e1fcfba63a31
permissions -rwxr-xr-x
updated cw

#!/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