configuration/local/bin/md2pdf
2020-11-14 14:52:24 +01:00

7 lines
167 B
Bash
Executable File

#!/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 "$@"