mk
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 01 Sep 2020 16:00:37 +0100
changeset 752 c0bdd4ad69ca
parent 630 9b1c15c3eb6f
permissions -rwxr-xr-x
updated

#!/bin/sh
set -e

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

for sd in $subdirs; do
  cd $sd
  for fl in *.tex; do
     echo $fl 
     xelatex $fl | pr -to4
  done
  cd ..
done