mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 24 Aug 2020 15:03:55 +0100
changeset 747 077fc2e5412c
parent 630 9b1c15c3eb6f
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