allow inherits in authors

This commit is contained in:
tux 2024-11-02 20:01:11 +01:00
parent 37e823a425
commit 1da344a401
4 changed files with 8 additions and 4 deletions

View File

@ -10,7 +10,7 @@
\bookpart {
\header {
authors = #'(
("kumpel" text melody))
("kumpelerbe" text melody))
year_text = "1600"
year_melody = "1600"
}

@ -1 +1 @@
Subproject commit 5ee1a7b6be20820432c7c1a86a4d369a6522a257
Subproject commit 88f0dc9f8fee1cd3f7152cd7e56798bb97699ee0

View File

@ -4,5 +4,5 @@ customStyleOverridesFile = "../lilypond-custom-includes/custom_style_overrides.l
\include "categories.ly"
\include "../lilypond-common-includes/general_include.ly"
AUTHOR_DATA = #(call-with-input-file "../../lilypond-song-includes/data/authors.json" json->scm)
SONG_DATA = #(call-with-input-file "../../lilypond-song-includes/data/songs.json" json->scm)
AUTHOR_DATA = #(resolve-inherits (call-with-input-file "../../lilypond-song-includes/data/authors.json" json->scm))
SONG_DATA = #(resolve-inherits (call-with-input-file "../../lilypond-song-includes/data/songs.json" json->scm))

View File

@ -14,5 +14,9 @@
"nocheiner": {
"name": "Jemand anderes",
"death_year": "2050"
},
"kumpelerbe": {
"inherits": "kumpel",
"organization": "Bund der crazy Kumpels"
}
}