Texlive build context

This commit is contained in:
2020-09-02 14:57:04 +02:00
parent 8d926f53a1
commit 8d5a813a84
3 changed files with 38 additions and 2 deletions

View File

@ -1,4 +1,11 @@
#!/usr/bin/env bash
cd src
make presentations/modules_EOLE_envole/support.pdf
cd /src
project_name=$(tamarin_db get project_name)
for tex in $project_name/*.tex
do
rubber --inplace --module=xelatex "$tex"
cp "${tex#.tex}.pdf" /dist/
# faire quelque chose pour le programme de la formation
done

View File

@ -7,4 +7,5 @@ echo 'RUN apt-get update && apt-get install --yes --no-install-recommends texliv
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 'ENV DEBIAN_FRONTEND=' >> Dockerfile