From 63147ad37494e3e25554470f9b166eb2cba739e2 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Thu, 14 Apr 2022 08:45:31 +0200 Subject: [PATCH] Fournir le chemin des fichiers en argument --- hooks/build/texlive/xelatex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/build/texlive/xelatex b/hooks/build/texlive/xelatex index 8992744..ec9b354 100755 --- a/hooks/build/texlive/xelatex +++ b/hooks/build/texlive/xelatex @@ -1,8 +1,8 @@ #!/usr/bin/env bash pushd /src -project_name=$(tamarin_db get project_name) -for tex in presentations/$project_name/**/*.tex +document_root=${PROJECT} +for tex in ./presentations/${document_root}/*.tex do rubber --inplace --module=xelatex "$tex" cp "${tex%.tex}.pdf" /dist/