mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 29 Jun 2020 22:19:05 +0100
changeset 728 9a251e86c3ee
parent 630 3cea57c5501f
child 752 1f1a293549c1
permissions -rwxr-xr-x
updated

#!/bin/sh
set -e

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

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