mirror of
https://github.com/YunoHost/project-organization.git
synced 2024-09-03 19:56:35 +02:00
11 lines
273 B
Bash
11 lines
273 B
Bash
|
|
||
|
|
||
|
mkdir -p .work
|
||
|
cp *.png .work/
|
||
|
CONTENT=$(pandoc --from=markdown --to=latex statuts-fr.md | sed 's@\\@\\\\@g' | sed ':a;N;$!ba;s@\n@\\n@g')
|
||
|
sed "s@{{CONTENT}}@${CONTENT}@g" template_latex.tex > .work/statuts-fr.tex
|
||
|
cd .work/
|
||
|
pdflatex statuts-fr.tex
|
||
|
cp statuts-fr.pdf ../
|
||
|
|