From 9d84f171917e978dbc9a9ffae9aa9da715c0f236 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Tue, 5 Mar 2019 15:37:38 +0100 Subject: [PATCH] test --- .gitlab-ci.yml | 13 ++++--------- .../{cours => Cours}/3/1.png | Bin .../{cours => Cours}/3/2.png | Bin .../{cours => Cours}/4/1.png | Bin .../{cours => Cours}/4/10.png | Bin .../{cours => Cours}/4/11.png | Bin .../{cours => Cours}/4/12.png | Bin .../{cours => Cours}/4/13.png | Bin .../{cours => Cours}/4/14.png | Bin .../{cours => Cours}/4/15.png | Bin .../{cours => Cours}/4/16.png | Bin .../{cours => Cours}/4/2.png | Bin .../{cours => Cours}/4/3.png | Bin .../{cours => Cours}/4/4.png | Bin .../{cours => Cours}/4/5.png | Bin .../{cours => Cours}/4/6.png | Bin .../{cours => Cours}/4/7.png | Bin .../{cours => Cours}/4/8.png | Bin .../{cours => Cours}/4/9.png | Bin .../{cours => Cours}/5/1.png | Bin .../{cours => Cours}/5/10.png | Bin .../{cours => Cours}/5/11.png | Bin .../{cours => Cours}/5/12.png | Bin .../{cours => Cours}/5/2.png | Bin .../{cours => Cours}/5/3.png | Bin .../{cours => Cours}/5/4.png | Bin .../{cours => Cours}/5/5.png | Bin .../{cours => Cours}/5/6.png | Bin .../{cours => Cours}/5/7.png | Bin .../{cours => Cours}/5/8.png | Bin .../{cours => Cours}/5/9.png | Bin .../{cours => Cours}/chap1.tex | 0 .../{cours => Cours}/chap2.tex | 0 .../{cours => Cours}/chap3.tex | 0 .../{cours => Cours}/chap4.tex | 0 .../{cours => Cours}/main.tex | 0 .../{cours => Cours}/poly.png | Bin 441-Info_indus/{cours => Cours}/arm.png | Bin 441-Info_indus/{cours => Cours}/arm.svg | 0 441-Info_indus/{cours => Cours}/dessin-1.svg | 0 441-Info_indus/{cours => Cours}/dessin.svg | 0 441-Info_indus/{cours => Cours}/dessin2.svg | 0 441-Info_indus/{cours => Cours}/etat.png | Bin 441-Info_indus/{cours => Cours}/i2c.png | Bin 441-Info_indus/{cours/cours.tex => Cours/main.tex} | 0 441-Info_indus/{cours => Cours}/systeme.png | Bin {453 => 453-Traitement_Image}/Cours/chap1.tex | 0 {453 => 453-Traitement_Image}/Cours/harris.py | 0 {453 => 453-Traitement_Image}/Cours/hough.py | 0 .../Cours/img/Gaussian_LoG.png | Bin .../Cours/img/mona_lisa_echantillon.png | Bin .../Cours/img/mona_lisa_quantif.png | Bin .../Cours/img/ransac_0.png | Bin .../Cours/img/ransac_1.png | Bin .../Cours/img/ransac_2.png | Bin .../Cours/img/ransac_3.png | Bin .../Cours/img/sobel_magnitude.png | Bin {453 => 453-Traitement_Image}/Cours/main.tex | 0 compile.sh | 8 ++++++-- cours.cls | 2 +- 60 files changed, 11 insertions(+), 12 deletions(-) rename 433-Electronique_transmission_numerique/{cours => Cours}/3/1.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/3/2.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/1.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/10.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/11.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/12.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/13.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/14.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/15.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/16.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/2.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/3.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/4.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/5.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/6.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/7.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/8.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/4/9.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/1.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/10.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/11.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/12.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/2.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/3.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/4.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/5.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/6.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/7.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/8.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/5/9.png (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/chap1.tex (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/chap2.tex (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/chap3.tex (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/chap4.tex (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/main.tex (100%) rename 433-Electronique_transmission_numerique/{cours => Cours}/poly.png (100%) rename 441-Info_indus/{cours => Cours}/arm.png (100%) rename 441-Info_indus/{cours => Cours}/arm.svg (100%) rename 441-Info_indus/{cours => Cours}/dessin-1.svg (100%) rename 441-Info_indus/{cours => Cours}/dessin.svg (100%) rename 441-Info_indus/{cours => Cours}/dessin2.svg (100%) rename 441-Info_indus/{cours => Cours}/etat.png (100%) rename 441-Info_indus/{cours => Cours}/i2c.png (100%) rename 441-Info_indus/{cours/cours.tex => Cours/main.tex} (100%) rename 441-Info_indus/{cours => Cours}/systeme.png (100%) rename {453 => 453-Traitement_Image}/Cours/chap1.tex (100%) rename {453 => 453-Traitement_Image}/Cours/harris.py (100%) rename {453 => 453-Traitement_Image}/Cours/hough.py (100%) rename {453 => 453-Traitement_Image}/Cours/img/Gaussian_LoG.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/mona_lisa_echantillon.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/mona_lisa_quantif.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/ransac_0.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/ransac_1.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/ransac_2.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/ransac_3.png (100%) rename {453 => 453-Traitement_Image}/Cours/img/sobel_magnitude.png (100%) rename {453 => 453-Traitement_Image}/Cours/main.tex (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bc6bdc..c44134a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,11 @@ -compile_pdf: - stage: build - image: timnn/texlive # use a Docker image for LaTeX from https://hub.docker.com/ - script: pdflatex main.tex # build the pdf just as you would on your computer - artifacts: - paths: - - main.pdf # instruct GitLab to keep the main.pdf file +image: aergus/latex # use a Docker image for LaTeX from https://hub.docker.com/ pages: stage: deploy + variables: + USER: "gitlab-runner" script: - - mkdir public # create a folder called public - - cp main.pdf public # copy the pdf file into the public folder + - ./compile.sh # build the pdf artifacts: paths: - public # instruct GitLab to keep the public folder diff --git a/433-Electronique_transmission_numerique/cours/3/1.png b/433-Electronique_transmission_numerique/Cours/3/1.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/3/1.png rename to 433-Electronique_transmission_numerique/Cours/3/1.png diff --git a/433-Electronique_transmission_numerique/cours/3/2.png b/433-Electronique_transmission_numerique/Cours/3/2.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/3/2.png rename to 433-Electronique_transmission_numerique/Cours/3/2.png diff --git a/433-Electronique_transmission_numerique/cours/4/1.png b/433-Electronique_transmission_numerique/Cours/4/1.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/1.png rename to 433-Electronique_transmission_numerique/Cours/4/1.png diff --git a/433-Electronique_transmission_numerique/cours/4/10.png b/433-Electronique_transmission_numerique/Cours/4/10.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/10.png rename to 433-Electronique_transmission_numerique/Cours/4/10.png diff --git a/433-Electronique_transmission_numerique/cours/4/11.png b/433-Electronique_transmission_numerique/Cours/4/11.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/11.png rename to 433-Electronique_transmission_numerique/Cours/4/11.png diff --git a/433-Electronique_transmission_numerique/cours/4/12.png b/433-Electronique_transmission_numerique/Cours/4/12.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/12.png rename to 433-Electronique_transmission_numerique/Cours/4/12.png diff --git a/433-Electronique_transmission_numerique/cours/4/13.png b/433-Electronique_transmission_numerique/Cours/4/13.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/13.png rename to 433-Electronique_transmission_numerique/Cours/4/13.png diff --git a/433-Electronique_transmission_numerique/cours/4/14.png b/433-Electronique_transmission_numerique/Cours/4/14.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/14.png rename to 433-Electronique_transmission_numerique/Cours/4/14.png diff --git a/433-Electronique_transmission_numerique/cours/4/15.png b/433-Electronique_transmission_numerique/Cours/4/15.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/15.png rename to 433-Electronique_transmission_numerique/Cours/4/15.png diff --git a/433-Electronique_transmission_numerique/cours/4/16.png b/433-Electronique_transmission_numerique/Cours/4/16.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/16.png rename to 433-Electronique_transmission_numerique/Cours/4/16.png diff --git a/433-Electronique_transmission_numerique/cours/4/2.png b/433-Electronique_transmission_numerique/Cours/4/2.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/2.png rename to 433-Electronique_transmission_numerique/Cours/4/2.png diff --git a/433-Electronique_transmission_numerique/cours/4/3.png b/433-Electronique_transmission_numerique/Cours/4/3.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/3.png rename to 433-Electronique_transmission_numerique/Cours/4/3.png diff --git a/433-Electronique_transmission_numerique/cours/4/4.png b/433-Electronique_transmission_numerique/Cours/4/4.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/4.png rename to 433-Electronique_transmission_numerique/Cours/4/4.png diff --git a/433-Electronique_transmission_numerique/cours/4/5.png b/433-Electronique_transmission_numerique/Cours/4/5.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/5.png rename to 433-Electronique_transmission_numerique/Cours/4/5.png diff --git a/433-Electronique_transmission_numerique/cours/4/6.png b/433-Electronique_transmission_numerique/Cours/4/6.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/6.png rename to 433-Electronique_transmission_numerique/Cours/4/6.png diff --git a/433-Electronique_transmission_numerique/cours/4/7.png b/433-Electronique_transmission_numerique/Cours/4/7.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/7.png rename to 433-Electronique_transmission_numerique/Cours/4/7.png diff --git a/433-Electronique_transmission_numerique/cours/4/8.png b/433-Electronique_transmission_numerique/Cours/4/8.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/8.png rename to 433-Electronique_transmission_numerique/Cours/4/8.png diff --git a/433-Electronique_transmission_numerique/cours/4/9.png b/433-Electronique_transmission_numerique/Cours/4/9.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/4/9.png rename to 433-Electronique_transmission_numerique/Cours/4/9.png diff --git a/433-Electronique_transmission_numerique/cours/5/1.png b/433-Electronique_transmission_numerique/Cours/5/1.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/1.png rename to 433-Electronique_transmission_numerique/Cours/5/1.png diff --git a/433-Electronique_transmission_numerique/cours/5/10.png b/433-Electronique_transmission_numerique/Cours/5/10.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/10.png rename to 433-Electronique_transmission_numerique/Cours/5/10.png diff --git a/433-Electronique_transmission_numerique/cours/5/11.png b/433-Electronique_transmission_numerique/Cours/5/11.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/11.png rename to 433-Electronique_transmission_numerique/Cours/5/11.png diff --git a/433-Electronique_transmission_numerique/cours/5/12.png b/433-Electronique_transmission_numerique/Cours/5/12.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/12.png rename to 433-Electronique_transmission_numerique/Cours/5/12.png diff --git a/433-Electronique_transmission_numerique/cours/5/2.png b/433-Electronique_transmission_numerique/Cours/5/2.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/2.png rename to 433-Electronique_transmission_numerique/Cours/5/2.png diff --git a/433-Electronique_transmission_numerique/cours/5/3.png b/433-Electronique_transmission_numerique/Cours/5/3.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/3.png rename to 433-Electronique_transmission_numerique/Cours/5/3.png diff --git a/433-Electronique_transmission_numerique/cours/5/4.png b/433-Electronique_transmission_numerique/Cours/5/4.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/4.png rename to 433-Electronique_transmission_numerique/Cours/5/4.png diff --git a/433-Electronique_transmission_numerique/cours/5/5.png b/433-Electronique_transmission_numerique/Cours/5/5.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/5.png rename to 433-Electronique_transmission_numerique/Cours/5/5.png diff --git a/433-Electronique_transmission_numerique/cours/5/6.png b/433-Electronique_transmission_numerique/Cours/5/6.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/6.png rename to 433-Electronique_transmission_numerique/Cours/5/6.png diff --git a/433-Electronique_transmission_numerique/cours/5/7.png b/433-Electronique_transmission_numerique/Cours/5/7.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/7.png rename to 433-Electronique_transmission_numerique/Cours/5/7.png diff --git a/433-Electronique_transmission_numerique/cours/5/8.png b/433-Electronique_transmission_numerique/Cours/5/8.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/8.png rename to 433-Electronique_transmission_numerique/Cours/5/8.png diff --git a/433-Electronique_transmission_numerique/cours/5/9.png b/433-Electronique_transmission_numerique/Cours/5/9.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/5/9.png rename to 433-Electronique_transmission_numerique/Cours/5/9.png diff --git a/433-Electronique_transmission_numerique/cours/chap1.tex b/433-Electronique_transmission_numerique/Cours/chap1.tex similarity index 100% rename from 433-Electronique_transmission_numerique/cours/chap1.tex rename to 433-Electronique_transmission_numerique/Cours/chap1.tex diff --git a/433-Electronique_transmission_numerique/cours/chap2.tex b/433-Electronique_transmission_numerique/Cours/chap2.tex similarity index 100% rename from 433-Electronique_transmission_numerique/cours/chap2.tex rename to 433-Electronique_transmission_numerique/Cours/chap2.tex diff --git a/433-Electronique_transmission_numerique/cours/chap3.tex b/433-Electronique_transmission_numerique/Cours/chap3.tex similarity index 100% rename from 433-Electronique_transmission_numerique/cours/chap3.tex rename to 433-Electronique_transmission_numerique/Cours/chap3.tex diff --git a/433-Electronique_transmission_numerique/cours/chap4.tex b/433-Electronique_transmission_numerique/Cours/chap4.tex similarity index 100% rename from 433-Electronique_transmission_numerique/cours/chap4.tex rename to 433-Electronique_transmission_numerique/Cours/chap4.tex diff --git a/433-Electronique_transmission_numerique/cours/main.tex b/433-Electronique_transmission_numerique/Cours/main.tex similarity index 100% rename from 433-Electronique_transmission_numerique/cours/main.tex rename to 433-Electronique_transmission_numerique/Cours/main.tex diff --git a/433-Electronique_transmission_numerique/cours/poly.png b/433-Electronique_transmission_numerique/Cours/poly.png similarity index 100% rename from 433-Electronique_transmission_numerique/cours/poly.png rename to 433-Electronique_transmission_numerique/Cours/poly.png diff --git a/441-Info_indus/cours/arm.png b/441-Info_indus/Cours/arm.png similarity index 100% rename from 441-Info_indus/cours/arm.png rename to 441-Info_indus/Cours/arm.png diff --git a/441-Info_indus/cours/arm.svg b/441-Info_indus/Cours/arm.svg similarity index 100% rename from 441-Info_indus/cours/arm.svg rename to 441-Info_indus/Cours/arm.svg diff --git a/441-Info_indus/cours/dessin-1.svg b/441-Info_indus/Cours/dessin-1.svg similarity index 100% rename from 441-Info_indus/cours/dessin-1.svg rename to 441-Info_indus/Cours/dessin-1.svg diff --git a/441-Info_indus/cours/dessin.svg b/441-Info_indus/Cours/dessin.svg similarity index 100% rename from 441-Info_indus/cours/dessin.svg rename to 441-Info_indus/Cours/dessin.svg diff --git a/441-Info_indus/cours/dessin2.svg b/441-Info_indus/Cours/dessin2.svg similarity index 100% rename from 441-Info_indus/cours/dessin2.svg rename to 441-Info_indus/Cours/dessin2.svg diff --git a/441-Info_indus/cours/etat.png b/441-Info_indus/Cours/etat.png similarity index 100% rename from 441-Info_indus/cours/etat.png rename to 441-Info_indus/Cours/etat.png diff --git a/441-Info_indus/cours/i2c.png b/441-Info_indus/Cours/i2c.png similarity index 100% rename from 441-Info_indus/cours/i2c.png rename to 441-Info_indus/Cours/i2c.png diff --git a/441-Info_indus/cours/cours.tex b/441-Info_indus/Cours/main.tex similarity index 100% rename from 441-Info_indus/cours/cours.tex rename to 441-Info_indus/Cours/main.tex diff --git a/441-Info_indus/cours/systeme.png b/441-Info_indus/Cours/systeme.png similarity index 100% rename from 441-Info_indus/cours/systeme.png rename to 441-Info_indus/Cours/systeme.png diff --git a/453/Cours/chap1.tex b/453-Traitement_Image/Cours/chap1.tex similarity index 100% rename from 453/Cours/chap1.tex rename to 453-Traitement_Image/Cours/chap1.tex diff --git a/453/Cours/harris.py b/453-Traitement_Image/Cours/harris.py similarity index 100% rename from 453/Cours/harris.py rename to 453-Traitement_Image/Cours/harris.py diff --git a/453/Cours/hough.py b/453-Traitement_Image/Cours/hough.py similarity index 100% rename from 453/Cours/hough.py rename to 453-Traitement_Image/Cours/hough.py diff --git a/453/Cours/img/Gaussian_LoG.png b/453-Traitement_Image/Cours/img/Gaussian_LoG.png similarity index 100% rename from 453/Cours/img/Gaussian_LoG.png rename to 453-Traitement_Image/Cours/img/Gaussian_LoG.png diff --git a/453/Cours/img/mona_lisa_echantillon.png b/453-Traitement_Image/Cours/img/mona_lisa_echantillon.png similarity index 100% rename from 453/Cours/img/mona_lisa_echantillon.png rename to 453-Traitement_Image/Cours/img/mona_lisa_echantillon.png diff --git a/453/Cours/img/mona_lisa_quantif.png b/453-Traitement_Image/Cours/img/mona_lisa_quantif.png similarity index 100% rename from 453/Cours/img/mona_lisa_quantif.png rename to 453-Traitement_Image/Cours/img/mona_lisa_quantif.png diff --git a/453/Cours/img/ransac_0.png b/453-Traitement_Image/Cours/img/ransac_0.png similarity index 100% rename from 453/Cours/img/ransac_0.png rename to 453-Traitement_Image/Cours/img/ransac_0.png diff --git a/453/Cours/img/ransac_1.png b/453-Traitement_Image/Cours/img/ransac_1.png similarity index 100% rename from 453/Cours/img/ransac_1.png rename to 453-Traitement_Image/Cours/img/ransac_1.png diff --git a/453/Cours/img/ransac_2.png b/453-Traitement_Image/Cours/img/ransac_2.png similarity index 100% rename from 453/Cours/img/ransac_2.png rename to 453-Traitement_Image/Cours/img/ransac_2.png diff --git a/453/Cours/img/ransac_3.png b/453-Traitement_Image/Cours/img/ransac_3.png similarity index 100% rename from 453/Cours/img/ransac_3.png rename to 453-Traitement_Image/Cours/img/ransac_3.png diff --git a/453/Cours/img/sobel_magnitude.png b/453-Traitement_Image/Cours/img/sobel_magnitude.png similarity index 100% rename from 453/Cours/img/sobel_magnitude.png rename to 453-Traitement_Image/Cours/img/sobel_magnitude.png diff --git a/453/Cours/main.tex b/453-Traitement_Image/Cours/main.tex similarity index 100% rename from 453/Cours/main.tex rename to 453-Traitement_Image/Cours/main.tex diff --git a/compile.sh b/compile.sh index 38ceed8..4920edf 100755 --- a/compile.sh +++ b/compile.sh @@ -2,9 +2,13 @@ # 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/' -quiet | grep 'Latexmk'" \; +find . -name "main.tex" -execdir sh -c "pwd && latexmk {} -pdf main.tex -e '$latex=q/latex %O -shell-escape %S/' -quiet | grep 'Latexmk'" \; +mkdir "public" +for i in `find . -maxdepth 1 -type d -regex \.\/[0-9].*?`;do + cp $i/Cours/main.pdf ./public/${i:2}.pdf; +done; #clean up : shopt -s globstar -rm -f **/*.aux **/*.log **/*.out +#rm -f **/*.aux **/*.log **/*.out #**/*.fls **/*.fdb_latexmk **/*.toc diff --git a/cours.cls b/cours.cls index 843503a..fca50e3 100644 --- a/cours.cls +++ b/cours.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{cours}[2019/01/09 LaTeX class for Lessons] +\ProvidesClass{../../cours}[2019/01/09 LaTeX class for Lessons] \makeatletter % Base Class