From 5ee1a7b6be20820432c7c1a86a4d369a6522a257 Mon Sep 17 00:00:00 2001 From: tux Date: Wed, 17 Jul 2024 13:34:00 +0200 Subject: [PATCH] show year also for same author on text and melody --- footer_with_songinfo.ly | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/footer_with_songinfo.ly b/footer_with_songinfo.ly index 26d5b89..b3967b5 100644 --- a/footer_with_songinfo.ly +++ b/footer_with_songinfo.ly @@ -104,7 +104,10 @@ ) (if (and (equal? poetIds composerIds) (null? translatorIds) (null? versePoetData) (null? verseComposerData) (null? voiceComposerData) (null? compositionIds) (null? bridgeIds) (null? interludeIds)) (list - (render-contribution-group (ly:output-def-lookup layout 'poetAndComposerEqualPrefix) poetIds) + (join-present (list + (render-contribution-group (ly:output-def-lookup layout 'poetAndComposerEqualPrefix) poetIds) + (if (equal? year_text year_melody) year_text (join-present (list year_text year_melody) "/")) + ) ", ") #f) (list (if (and (null? poetIds) (null? versePoetData) (null? translatorIds)) #f