Compare commits
13 Commits
7348a63cd3
...
feature/xe
Author | SHA1 | Date | |
---|---|---|---|
822fd277d5 | |||
a821fb141f | |||
d4547175da | |||
7b2644b953 | |||
4aecce6094 | |||
2a65d38c37 | |||
5591c2c0f0 | |||
0c09b27b8e | |||
5676297827 | |||
822dc3617c | |||
0172b4f62c | |||
d27cc4bf1b | |||
2606a82c17 |
@ -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
|
||||
|
@ -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
|
||||
|
2
package
2
package
@ -74,8 +74,6 @@ if __name__ == "__main__":
|
||||
# Verify project directory
|
||||
project_dir = os.path.abspath(args.project_directory)
|
||||
output_dir = os.path.abspath(args.output)
|
||||
if not os.path.exists(output_dir):
|
||||
os.mkdir(output_dir)
|
||||
|
||||
# Load build profile
|
||||
profile = tamarin.load_profile(args.profile, debug=args.debug)
|
||||
|
Reference in New Issue
Block a user