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/