7 lines
167 B
Bash
Executable File
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 "$@"
|