Hi Knut, > Because the definition of testing is invalid at that point of the main > source file. If tempTest.ly would contain e.g. a score or a \paper block > no error would occur.
No, it still throws an error because you can't define a variable inside a \bookpart (which is what \include-ing it at that point does). Cheers, Kieren. ________________________________ Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user