mk
author Christian Urban <urbanc@in.tum.de>
Wed, 25 Sep 2019 11:24:34 +0100
changeset 630 9b1c15c3eb6f
parent 332 4755ad4b457b
child 752 c0bdd4ad69ca
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