post-script/post-script.sh
2021-12-03 11:51:30 +01:00

7 lines
462 B
Bash

etherpump gettext post-script.md > post-script.md
etherpump gettext post-script.css > css/post-script.css
pandoc -f markdown -t html -c css/post-script.css --toc --toc-depth=1 --standalone --template post-script.template.html post-script.md -o post-script.html
pandoc -f markdown --pdf-engine=weasyprint -c css/post-script.css --toc --toc-depth=1 --standalone --template post-script.template.html --reference-location=section post-script.md -o post-script.pdf