bin: add context-mkiv
This commit is contained in:
parent
3d04e42811
commit
ef52d65629
|
@ -49,7 +49,7 @@ fi
|
|||
|
||||
highlight "d :: recursively remove development caches"
|
||||
if [[ $1 =~ "d" ]]; then
|
||||
find -maxdepth 1 \( -name "*.aux" -o -name "*.log" -o -name "*.toc" -o -name "*.out" \) -print -delete
|
||||
find -maxdepth 1 \( -name "*.aux" -o -name "*.log" -o -name "*.t[uo]c" -o -name "*.out" \) -print -delete
|
||||
find -name "src" -prune -o \
|
||||
-type d \( -name 'cache' $(echo $DIRS_GENERATED | sed 's|-x \([^ ]\+\)|-o -name \1|g') \) \
|
||||
-print -exec rm $i -r {} + -prune
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/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"
|
Loading…
Reference in New Issue