event-sim/instructions/compile
fly 878ff95c4d Updated getting started instructions
Signed-off-by: fly <merspieler@alwaysdata.net>
2024-12-23 00:49:34 +01:00

12 lines
211 B
Text
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash typst
main="how-to.typ"
asset() {
echo "how-to-$1.pdf"
}
for lang in "en" "de"; do
typst compile \
"$main" `asset "$lang"` \
"--input=lang=$lang"
done