mk
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 20 Oct 2021 00:06:58 +0100
changeset 847 a137834fe8fc
parent 752 1f1a293549c1
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