12 lines
211 B
Text
Executable file
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
|