replace latex with typst

This commit is contained in:
Sebastian Hugentobler 2025-01-17 09:45:29 +01:00
parent 1795cac514
commit 9c701c1263
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
82 changed files with 1208 additions and 1963 deletions

10
bin/generate Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
echo -en "#import \"/src/song.typ\": * \n" >build/songs.typ
for t in src/songs/*.typ; do
base="$(basename $t .typ)"
title="$(grep -oP '^\W*title\W*=\W*"\K.*(?="\W*$$)' src/songs/$base.ly)"
echo -en "#song(\"$title\", \"$base\")\n" >>build/songs.typ
done