[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set /bookOutputName to Conjunction of Variable and String
From: |
foxfanfare |
Subject: |
Re: Set /bookOutputName to Conjunction of Variable and String |
Date: |
Sat, 19 Oct 2019 07:09:10 -0700 (MST) |
Aaron Hill wrote
> Would using a function help?
Thanks Aaron for your answer. I tried your solution but it crashes in my
situation. I think I understood where the problem is, it seems to be because
of the use of a variable, for instance:
%%%% main.ly
\version "2.19.83"
fetch = #(define-scheme-function (pet) (string?)
#{ \include #(string-join (list pet "ily") ".") #})
\fetch "kitten"
\fetch "puppy"
%%%%
%%%% kitten.ily
\version "2.19.83"
mytextI= "I like kittens."
\markup \myTextI
%%%%
%%%% puppy.ily
\version "2.19.83"
myTextII = "I like puppies."
\markup \myTextII
%%%%
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html