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 { \bookpart {
\header { \header {
authors = #'( authors = #'(
("kumpel" text melody)) ("kumpelerbe" text melody))
year_text = "1600" year_text = "1600"
year_melody = "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 "categories.ly"
\include "../lilypond-common-includes/general_include.ly" \include "../lilypond-common-includes/general_include.ly"
AUTHOR_DATA = #(call-with-input-file "../../lilypond-song-includes/data/authors.json" json->scm) AUTHOR_DATA = #(resolve-inherits (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) SONG_DATA = #(resolve-inherits (call-with-input-file "../../lilypond-song-includes/data/songs.json" json->scm))

View File

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