Compare commits
10 Commits
feature/xe
...
7348a63cd3
Author | SHA1 | Date | |
---|---|---|---|
7348a63cd3 | |||
858bde16c6 | |||
d0d1fcb4bd | |||
2c8fd55a37 | |||
8d5a813a84 | |||
8d926f53a1 | |||
1a9077fa01 | |||
6213578981 | |||
4a3839e86b | |||
d41482375e |
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd /src
|
||||
document_root=${PROJECT}
|
||||
for tex in ./presentations/${document_root}/*.tex
|
||||
project_name=$(tamarin_db get project_name)
|
||||
for tex in presentations/$project_name/*.tex
|
||||
do
|
||||
rubber --inplace -c shell_escape --unsafe --module=xelatex "$tex"
|
||||
rubber --inplace --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 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 '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 'ENV DEBIAN_FRONTEND=' >> Dockerfile
|
||||
|
2
package
2
package
@ -74,6 +74,8 @@ 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