Shevek <[email protected]> writes: > Hello, > > I'm working on a multi-movement piece, so far using a separate file for the > score of each movement. I'm trying to add a file to the project that > compiles all the movements and frontmatter into a single pdf, using > bookparts, and I'm having trouble figuring out the best way to do that. The > nicest way would be if all I needed to do were: > > \book { > \bookpart { > \include "movement1_score.ly" > } > \bookpart { > \include "movement2_score.ly" > } > } > > As you might guess, that fails because each of the included files itself > includes a file (e.g. movement1_music.ly) containing variable declarations, > and variable declarations aren't allowed inside bookparts.
Will be fixed in 2.27.3. I'll admit that this is a somewhat late answer to your posting, but I haven't been able to wrap my head around this problem earlier: the Guile module system is not well-documented. -- David Kastrup
