Compare commits
No commits in common. "main" and "V1.0" have entirely different histories.
@ -12,6 +12,7 @@ RUN wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-
|
|||||||
RUN dpkg -i /tmp/pandoc.deb
|
RUN dpkg -i /tmp/pandoc.deb
|
||||||
RUN apt install texlive-lang-french -y
|
RUN apt install texlive-lang-french -y
|
||||||
|
|
||||||
|
RUN echo coucou.
|
||||||
COPY pandoc-fonts.tar /tmp/
|
COPY pandoc-fonts.tar /tmp/
|
||||||
RUN tar xf /tmp/pandoc-fonts.tar -C /usr/share/fonts/
|
RUN tar xf /tmp/pandoc-fonts.tar -C /usr/share/fonts/
|
||||||
RUN fc-cache -v -f
|
RUN fc-cache -v -f
|
||||||
|
@ -21,12 +21,6 @@ for File in $(find . -name "*.md")
|
|||||||
cat ./${InFile} >> ./${InFile}.better
|
cat ./${InFile} >> ./${InFile}.better
|
||||||
pandoc --from markdown --pdf-engine=xelatex --template "${ThemePDFNameCours}" --toc-depth 2 --listings --toc -o ../OUT/${OutFile} ./${InFile}.better &> /dev/null
|
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
|
[[ $? -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
|
done
|
||||||
|
|
||||||
echo -n "Clean environement : "
|
echo -n "Clean environement : "
|
||||||
|
1
run.sh
1
run.sh
@ -4,7 +4,6 @@ if [[ $1 == "gen" ]]
|
|||||||
then
|
then
|
||||||
echo "it's Gonna Take a Little Bit Longer .... "
|
echo "it's Gonna Take a Little Bit Longer .... "
|
||||||
echo -e "UID=$(id -u)\nGID=$(id -g)" > .env
|
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 . --no-cache -t pandoc-gen-file-isen &> /dev/null
|
||||||
docker build . -t pandoc-gen-file-isen
|
docker build . -t pandoc-gen-file-isen
|
||||||
[[ "$?" -ne 0 ]] && echo FAILED || echo OK
|
[[ "$?" -ne 0 ]] && echo FAILED || echo OK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user