mk
author update
Mon, 05 Oct 2020 17:46:12 +0100
changeset 774 a9fcd8afcd6a
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