[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)
(markup
#:line
(#:with-url "https://creativecommons.org/licenses/by-nc/4.0/"
licence)))
}
\score {
c''1
}
--
Timothy Lanfear, Bristol, UK.
- Function operating on header, Noeck, 2020/03/07
- Re: Function operating on header, Timothy Lanfear, 2020/03/07
- Re: Function operating on header, Noeck, 2020/03/07
- Re: Function operating on header, Timothy Lanfear, 2020/03/07
- Re: Function operating on header, Francisco Vila, 2020/03/12
- Re: Function operating on header, Noeck, 2020/03/12
- Re: Function operating on header, Aaron Hill, 2020/03/12
- Re: Function operating on header, David Kastrup, 2020/03/13
- Re: Function operating on header, Noeck, 2020/03/13
- Re: Function operating on header,
Timothy Lanfear <=
- Re: Function operating on header, Noeck, 2020/03/14
- Re: Function operating on header, Timothy Lanfear, 2020/03/14