From d9fb7fc1cb9b8806e5f59e18d2084ae47c0364eb Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Thu, 4 Apr 2019 10:09:49 +0200 Subject: [PATCH] compilation des TD --- compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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