glo7001/compile.sh
2017-09-12 00:42:35 -04:00

4 lines
164 B
Bash
Executable file

#!/bin/bash
for filename in *.md; do
pandoc -f markdown+yaml_metadata_block+raw_tex --latex-engine=pdflatex -o "pdf/$(basename "$filename" .md)".pdf $filename
done