snippets einzeln baubar und default layout

This commit is contained in:
tux
2023-11-02 23:13:11 +01:00
parent 14e01900c2
commit 8b0fc2d7c9
6 changed files with 55 additions and 25 deletions

8
snippet_include.ly Normal file
View File

@ -0,0 +1,8 @@
#(ly:set-option 'relative-includes #t)
#(define noDefaultOutput (if (defined? 'noDefaultOutput) noDefaultOutput #f))
\include #(if noDefaultOutput "void.ly" "all_base_includes.ly")
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (call-with-input-file "../data/authors.json" json->scm)))
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (call-with-input-file "../data/songs.json" json->scm)))