Mark Witmer <mark.d.wit...@gmail.com> writes: > David Kastrup <dak <at> gnu.org> writes: >> you might consider rephrasing the ly:make-book >> call as #{ \book { ... } #} as well, peeling off another Scheme layer >> and leaving just ly:book-process. >> > > > Thanks! That did the trick. I'm glad to see this code works in 2.16.0; > putting \score inside of a scheme expression was giving me errors in > 2.14.2
Yes, it would. From <URL:http://lilypond.org/doc/v2.15/Documentation/changes/index.html> The construct #{ … #} can now be used not just for constructing sequential music lists, but also for pitches (distinguished from single note events by the absence of a duration or other information that can’t be part of a pitch), single music events, void music expressions, post events, markups (mostly freeing users from having to use the markup macro), markup lists, number expressions, context definitions and modifications, and a few other things. If it encloses nothing or only a single music event, it no longer returns a sequential music list but rather a void music expression or just the music event itself, respectively. Granted, books and scores are not listed explicitly but rather as "and a few other things". Perhaps a bit reckless. -- David Kastrup _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond