mk
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 01 Sep 2020 12:44:07 +0100
changeset 750 40b7efa5fbed
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