mk
author Christian Urban <urbanc@in.tum.de>
Mon, 27 Jan 2020 10:11:44 +0000
changeset 708 1b5dc2468ce3
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