some structure

This commit is contained in:
2026-10-10 13:49:11 +03:00
parent ae59957292
commit 000d98eba1
12 changed files with 4979 additions and 1049 deletions

18
compile.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
OUT=pdfs
mkdir -p "$OUT"
echo "==> main.typ"
typst compile --root . main.typ "$OUT/main.pdf"
for f in problems/problem*.typ; do
name="$(basename "$f" .typ)"
echo "==> $f"
typst compile --root . "$f" "$OUT/$name.pdf"
done
echo "Готово: $OUT/"