7 lines
167 B
Plaintext
7 lines
167 B
Plaintext
|
#!/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 "$@"
|