|
From: | Timothy Lanfear |
Subject: | Re: Function operating on header |
Date: | Sat, 7 Mar 2020 14:04:50 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 07/03/2020 12:19, Noeck wrote:
Hi, I would like to populate header fields based on other header fields (copyright based on author is just an example): \version "2.20.0" \header { author = "Name" } % call a function here equivalent to writng \header { copyright = #(string-append "© " "Name") % where "Name" is the author field from above } { a } Is that possible? Cheers, Joram
Does this solve your problem? \version "2.20.0" \header { author = "Name" copyright = \markup \concat { "© " \fromproperty #'header:author } } \score { c''1 } -- Timothy Lanfear, Bristol, UK.
[Prev in Thread] | Current Thread | [Next in Thread] |