[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function operating on header

From: Timothy Lanfear
Subject: Re: Function operating on header
Date: Fri, 13 Mar 2020 21:12:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Because that is just a tiny example. I would like to create links to CC
licenses based on a license field etc.
What I am lacking here still, is how to do \with-url in Scheme or a
mechanism to show parts only under a certain condition:

\markup { "Text" ??if \license then \with-url #"url" "License" endif?? }

How about something like this? Comment out  "licence =  ..." to remove the copyright statement.

\version "2.20.0"

\header {
  licence = "CC-BY-NC 4.0"
  copyright =
    #(if (defined? 'licence)
        (#:with-url ""; licence)))

\score {

Timothy Lanfear, Bristol, UK.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]