4 Commits

2 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
#!/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"
rubber --inplace -c shell_escape --unsafe --module=xelatex "$tex"
cp "${tex%.tex}.pdf" /dist/
# faire quelque chose pour le programme de la formation
done

View File

@ -3,9 +3,9 @@
set -e
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 rubber' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes texlive-full' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes make' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes fonts-liberation fonts-liberation2' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes python3-setuptools python-setuptools python3-pygments python-pygments' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes rubber' >> Dockerfile
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile