This one wired trick

This commit is contained in:
alexander
2025-11-10 23:35:28 +01:00
parent 5b1c954574
commit 23d4bda871
10 changed files with 3900 additions and 6 deletions

11
compile-all.bash Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Find all .typ files under src/ (recursive) into an array
mapfile -d '' LIST_OF_TYPST_FILES < <(find src -maxdepth 1 -type f -name '*.typ' -print0)
rm -rf output
mkdir -p output
for FILE in "${LIST_OF_TYPST_FILES[@]}"; do
typst compile "$FILE" output/"$(basename "${FILE%.*}").pdf"
done