Texlive build context
This commit is contained in:
parent
822dc3617c
commit
5676297827
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
28
profiles/texlive.conf
Normal file
28
profiles/texlive.conf
Normal file
@ -0,0 +1,28 @@
|
||||
# Configuration générale du profil
|
||||
[profile]
|
||||
# Image Docker par défaut
|
||||
default_image=ubuntu:focal
|
||||
|
||||
# Configuration de l’étape de pré-construction du conteneur
|
||||
[containerbuild]
|
||||
hooks=
|
||||
containerbuild/texlive/add-packages,
|
||||
containerbuild/texlive/add-ressources,
|
||||
|
||||
# Configuration de l’étape de pré-compilation des documents
|
||||
[prebuild]
|
||||
hooks=
|
||||
prebuild/debian/copy-sources-to-workspace,
|
||||
prebuild/debian/run-project-hooks,
|
||||
prebuild/debian/load-project-db,
|
||||
prebuild/texlive/complete-project-db,
|
||||
|
||||
# Configuration de l’étape de compilation du document
|
||||
[build]
|
||||
hooks=build/texlive/xelatex
|
||||
|
||||
# Configuration de l’étape de post-compilation du document
|
||||
[postbuild]
|
||||
hooks=
|
||||
postbuild/debian/run-project-hooks,
|
||||
postbuild/texlive/export-dist,
|
Loading…
Reference in New Issue
Block a user