lilypond-user
[Top][All Lists]
Advanced

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

Re: Include files into one score


From: pwf100220
Subject: Re: Include files into one score
Date: Tue, 3 Aug 2010 15:11:49 -0700 (PDT)



Urs Liska-4 wrote:
> 
> Am 03.08.2010 21:11, schrieb pwf100220:
> 
> This very much depends on the real content of your files.
> If the files "used to stand alone" and you have some sort of 
> "organization" I suspect you will have variables with the same name in 
> your included files.
> In such a case later definitions just overwrite earlier ones.
> 
> To \include a file is the same (for the lilypond parser) as writing the 
> contents of the included file directly in the main file.
> 
> To make it clear have a look at this example:
> if you define the variable "music" twice like this:
> 
> music = \relative c' {
>    c4 d e f g1
> }
> music = \relative c {
>    c2 a d1
> }
> 
> The first definition is discarded.
> If you \include two files which define a variable "music" it will look 
> like the first file isn't included.
> 
> The same goes for variables in \header or \paper blocks.
> 
> HTH
> Urs
> 
> 

That is precisely my situation!  I'll work around that.  Thanks
-- 
View this message in context: 
http://old.nabble.com/Include-files-into-one-score-tp29339034p29340726.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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