replace latex with typst
This commit is contained in:
parent
1795cac514
commit
9c701c1263
82 changed files with 1208 additions and 1963 deletions
10
bin/generate
Executable file
10
bin/generate
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue