summary refs log tree commit diff stats
path: root/python/abld
diff options
context:
space:
mode:
Diffstat (limited to 'python/abld')
-rwxr-xr-xpython/abld4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/abld b/python/abld
new file mode 100755
index 0000000..1cc9d0d
--- /dev/null
+++ b/python/abld
@@ -0,0 +1,4 @@
+#!/bin/sh
+d=$(dirname a/$1.pdf)
+if [ ! -d $d ]; then mkdir -p $d; fi
+typst ${2:-c} --root $PWD text/$1.typ a/$1.pdf