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