From 7348a63cd32d8501c9c576e56208b91ebc2d1a16 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Wed, 13 Apr 2022 11:18:43 +0200 Subject: [PATCH] =?UTF-8?q?Le=20chemin=20des=20sources=20n=E2=80=99est=20p?= =?UTF-8?q?as=20complet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hooks/build/texlive/xelatex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hooks/build/texlive/xelatex b/hooks/build/texlive/xelatex index 22885fc..fe01140 100755 --- a/hooks/build/texlive/xelatex +++ b/hooks/build/texlive/xelatex @@ -1,11 +1,12 @@ #!/usr/bin/env bash -cd /src +pushd /src project_name=$(tamarin_db get project_name) -for tex in $project_name/*.tex +for tex in presentations/$project_name/*.tex do rubber --inplace --module=xelatex "$tex" cp "${tex%.tex}.pdf" /dist/ # faire quelque chose pour le programme de la formation done +popd