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:
|
# 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"
|
mkdir "public"
|
||||||
for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do
|
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;
|
done;
|
||||||
#clean up :
|
#clean up :
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
#rm -f **/*.aux **/*.log **/*.out
|
rm -f **/*.aux **/*.log **/*.out **/*.fls **/*.fdb_latexmk **/*.toc **/*.pyg
|
||||||
#**/*.fls **/*.fdb_latexmk **/*.toc
|
|
||||||
|
|
Loading…
Reference in a new issue