configuration/local/bin/md2pdf

7 lines
167 B
Plaintext
Raw Permalink Normal View History

2020-11-14 14:52:24 +01:00
#!/bin/sh
input="$1"
[ ! -f "$input" ] && echo 'invalid input file' && exit 1
pandoc --pdf-engine=tectonic -V papersize=A4 -V geometry:margin=1in -o output.pdf "$@"