diff --git a/hooks/build/texlive/xelatex b/hooks/build/texlive/xelatex index ec9b354..2a95c38 100755 --- a/hooks/build/texlive/xelatex +++ b/hooks/build/texlive/xelatex @@ -4,7 +4,7 @@ pushd /src document_root=${PROJECT} for tex in ./presentations/${document_root}/*.tex do - rubber --inplace --module=xelatex "$tex" + rubber --inplace -c shell_escape --unsafe --module=xelatex "$tex" cp "${tex%.tex}.pdf" /dist/ # faire quelque chose pour le programme de la formation done diff --git a/hooks/containerbuild/texlive/add-packages b/hooks/containerbuild/texlive/add-packages index 1c67d80..ad946e4 100755 --- a/hooks/containerbuild/texlive/add-packages +++ b/hooks/containerbuild/texlive/add-packages @@ -6,6 +6,6 @@ echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile echo 'RUN apt-get update && apt-get install --yes --no-install-recommends texlive-full' >> Dockerfile echo 'RUN apt-get update && apt-get install --yes --no-install-recommends make' >> Dockerfile echo 'RUN apt-get update && apt-get install --yes --no-install-recommends fonts-liberation fonts-liberation2' >> Dockerfile -echo 'RUN apt-get update && apt-get install --yes --no-install-recommends python3-pygments' >> Dockerfile +echo 'RUN apt-get update && apt-get install --yes --no-install-recommends python3-pygments python-pygments' >> Dockerfile echo 'RUN apt-get update && apt-get install --yes --no-install-recommends rubber' >> Dockerfile echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile