lilypond-user
[Top][All Lists]
Advanced

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

Re: aleatoric box / frameEngraver


From: Urs Liska
Subject: Re: aleatoric box / frameEngraver
Date: Sun, 11 Aug 2013 19:23:47 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Am 11.08.2013 19:13, schrieb Karol Majewski:
Let's say I work on two pieces of music: piece-one.ly and piece-two.ly. Each of them has some files 
included, like "deutsch.ly" or "frameEngraver-bars-and-boxes.ly". Now I want to 
combine both files into one PDF document. To achieve this, I create a new *.ly file (main.ly) which 
has piece-one.ly and piece-two.ly included. And now the error happens.

Of course, I can exclude "frameEngraver-bars-and-boxes.ly" from piece-one.ly 
and piece-two.ly and include it into main.ly. But then... if I want to compile 
piece-one.ly separetly - I have to include it again. The point is that it is not 
comfortable to repeat this process again and again.
In such a case you can
- define an arbitrary variable in frameEngraver-bars-and-boxes.ly
- write a function that only includes that file if the variable isn't defined yet.

HTH
Urs

Dnia 11-08-2013 o godz. 17:30 David Kastrup napisaƂ(a):
"Karol Majewski" <address@hidden> writes:

Hi,

just found a small bug in frameEngraver-bars-and-boxes.ly.

When the main *.ly file includes more than one *.ly file, like:

\include "1.ly"
\include "2.ly"

... and each of those files (1.ly, 2.ly) includes
frameEngraver-bars-and-boxes.ly, then I cannot compile the main.ly,
because of:
Why should one be able to include the code in
frameEngraver-bars-and-boxes.ly twice in a single document?

--
David Kastrup


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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