dotfiles/.local/bin/scripts/context-mkiv
2022-08-29 13:43:01 +02:00

7 lines
152 B
Bash
Executable file

#!/bin/sh -e
wd=$PWD
mkdir -p /tmp/context
cd /tmp/context
pdffile=${1%.*}.pdf
context --luatex --path=$wd "$wd/$@"
cp -v "/tmp/context/$pdffile" "$wd"