From a821fb141fd1c61496f280cf9ba74cfcfe3dff63 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Thu, 14 Apr 2022 10:23:37 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20des=20d=C3=A9pendances=20et=20des?= =?UTF-8?q?=20options=20pour=20rubber?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hooks/build/texlive/xelatex | 2 +- hooks/containerbuild/texlive/add-packages | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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