udpate Prez
This commit is contained in:
parent
a46c169ae6
commit
9f76497d4d
@ -12,7 +12,6 @@ RUN wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-
|
||||
RUN dpkg -i /tmp/pandoc.deb
|
||||
RUN apt install texlive-lang-french -y
|
||||
|
||||
RUN echo coucou.
|
||||
COPY pandoc-fonts.tar /tmp/
|
||||
RUN tar xf /tmp/pandoc-fonts.tar -C /usr/share/fonts/
|
||||
RUN fc-cache -v -f
|
||||
|
@ -21,6 +21,12 @@ for File in $(find . -name "*.md")
|
||||
cat ./${InFile} >> ./${InFile}.better
|
||||
pandoc --from markdown --pdf-engine=xelatex --template "${ThemePDFNameCours}" --toc-depth 2 --listings --toc -o ../OUT/${OutFile} ./${InFile}.better &> /dev/null
|
||||
[[ $? -eq 0 ]] && echo OK || echo FAILED
|
||||
echo -n "$Title Prez : "
|
||||
sed -i 's/^titlepage:.*//g' ./${InFile}.better
|
||||
pandoc -s -i -t beamer --pdf-engine=xelatex --toc --template "${ThemePDFNameCours}" -o ../OUT/prez_${OutFile} --slide-level 2 -V classoption:aspectratio=1610 --toc ./${InFile}.better &> /dev/null
|
||||
|
||||
[[ $? -eq 0 ]] && echo OK || echo FAILED
|
||||
|
||||
done
|
||||
|
||||
echo -n "Clean environement : "
|
||||
|
1
run.sh
1
run.sh
@ -4,6 +4,7 @@ if [[ $1 == "gen" ]]
|
||||
then
|
||||
echo "it's Gonna Take a Little Bit Longer .... "
|
||||
echo -e "UID=$(id -u)\nGID=$(id -g)" > .env
|
||||
cd $(dirname $0)/DOCKER/
|
||||
#docker build . --no-cache -t pandoc-gen-file-isen &> /dev/null
|
||||
docker build . -t pandoc-gen-file-isen
|
||||
[[ "$?" -ne 0 ]] && echo FAILED || echo OK
|
||||
|
Loading…
x
Reference in New Issue
Block a user