lilypond-user
[Top][All Lists]
Advanced

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

Re: cannot run ../.ly file which includes another file


From: Malte Meyn
Subject: Re: cannot run ../.ly file which includes another file
Date: Sat, 14 Apr 2018 09:05:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0



Am 13.04.2018 um 21:22 schrieb Federico Bruni:
I don't think this is the problem you think it is. It's actually

myMusic = \relative c' { c4 d e f | } \myMusic

where the definition of myMusic tries to eat itself.


Doh, I forgot the basics. Thanks David.
I've now moved \myMusic into a \score block and it works.

You don’t even need a score block but *something* that isn’t \myMusic. I use #'() for this:


myMusic = \relative c { c4 d e f | }
#'()
\myMusic



reply via email to

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