How would the code for that function look? I can't quite picture what you mean.
Thanks! 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. > 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 ----- composer | sound designer -- View this message in context: http://lilypond.1069038.n5.nabble.com/aleatoric-box-frameEngraver-tp147962p149010.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user