add Robberts Ufora script

This commit is contained in:
Felix Van der Jeugt 2020-11-14 14:52:24 +01:00
parent 7eb71c1361
commit 3ef84f0e1e
No known key found for this signature in database
GPG key ID: 58B209295023754D
2 changed files with 41 additions and 0 deletions

6
local/bin/md2pdf Executable file
View file

@ -0,0 +1,6 @@
#!/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 "$@"