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
|
2017-09-12 05:11:32 +00:00
|
|
|
pandoc -f markdown+yaml_metadata_block+raw_tex --latex-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
|
|
|
|
|
|
|
pdfjoin ./pdf/README.pdf ./pdf/semaine*.pdf -o journal_de_bord_908144032.pdf
|