mk
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 02 Nov 2021 14:40:06 +0000
changeset 848 2e868b5867d8
parent 752 c0bdd4ad69ca
permissions -rwxr-xr-x
updated

#!/bin/sh
set -e

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

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