glo7001/compile.sh

8 lines
287 B
Bash
Raw Permalink Normal View History

2017-09-12 04:42:35 +00:00
#!/bin/bash
2017-09-12 05:10:13 +00:00
2017-09-12 04:42:35 +00:00
for filename in *.md; do
2020-02-09 15:01:05 +00:00
pandoc -f markdown+yaml_metadata_block+raw_tex --variable urlcolor=cyan --standalone --pdf-engine=pdflatex -o "./pdf/$(basename "$filename" .md)".pdf $filename
2017-09-12 04:42:35 +00:00
done
2017-09-12 05:10:13 +00:00
pdftk ./pdf/README.pdf ./pdf/semaine*.pdf cat output journal_de_bord_908144032.pdf