sous optimal mais fonctionnel
This commit is contained in:
parent
d40021e8e6
commit
cae4586bc1
1 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,10 @@
|
|||
|
||||
# Pour compiler tous les fichiers sources du dépot:
|
||||
|
||||
find . -name "main.tex" -execdir sh -c "pwd && latexmk {} -pdf main.tex -e '$latex=q/latex %O -shell-escape %S/'" \;
|
||||
#find . -name "main.tex" -execdir sh -c "pwd && latexmk -e '$pdflatex=q/pdflatex %O -shell-escape %S/' -pdf {} -quiet| grep Latexmk" \;
|
||||
|
||||
# 3 compilation nécessaire pour obtenir un résultat stable
|
||||
find . -name "main.tex" -execdir sh -c "pwd && pdflatex -shell-escape -interaction=batchmode {} &&pdflatex -shell-escape -interaction=batchmode {}&&pdflatex -shell-escape -interaction=batchmode {}" \;
|
||||
|
||||
mkdir "public"
|
||||
for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do
|
||||
|
@ -10,5 +13,4 @@ for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do
|
|||
done;
|
||||
#clean up :
|
||||
shopt -s globstar
|
||||
#rm -f **/*.aux **/*.log **/*.out
|
||||
#**/*.fls **/*.fdb_latexmk **/*.toc
|
||||
rm -f **/*.aux **/*.log **/*.out **/*.fls **/*.fdb_latexmk **/*.toc **/*.pyg
|
||||
|
|
Loading…
Reference in a new issue