dotfiles/.local/bin/scripts/context-mkiv

8 lines
152 B
Plaintext
Raw Normal View History

2022-08-29 11:37:58 +00:00
#!/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"