Hi Arno,

> is there some solution available? namespaces, or whatever?

I don't think there are namespaces (although that might be an interesting 
feature request).

I would think you have two obvious options:

1. Write a script (e.g., in perl or sed or something) that would add a unique 
identifier to each variable in all of your files.

2. Try this [untested brainexperiment]:

\include "fileA.ly"
myVariableA = \theNotes  % from fileA.ly
\include "fileB.ly"
myVariableB = \theNotes  % same name, but overrides because of the more recent 
\include
\include "fileC.ly"
myVariableC = \theNotes  % same name, but overrides because of the more recent 
\include
...

\score { { \myVariableA \myVariableB \myVariableC ... } }  % build as 
sequential music

Hope this helps!
Kieren.

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to