mk
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 20 Jan 2022 08:58:38 +0000
changeset 868 8fb3b6d3be70
parent 752 c0bdd4ad69ca
permissions -rwxr-xr-x
updated to Doubles trhoughout

#!/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