diff --git a/compile.sh b/compile.sh index 968f5ea..a96914c 100755 --- a/compile.sh +++ b/compile.sh @@ -9,7 +9,9 @@ find . -name "main.tex" -execdir sh -c "pwd && pdflatex -shell-escape -interact mkdir "public" for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do - cp -f $i/Cours/main.pdf ./public/${i:2}.pdf; + cp -f $i/Cours/main.pdf ./public/${i:2}.pdf; + cp -f $i/TD/main.pdf ./public/${i:2}_TD.pdf; + done; #clean up : shopt -s globstar