[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quoting music in ly:book-process
From: |
David Kastrup |
Subject: |
Re: Quoting music in ly:book-process |
Date: |
Mon, 01 Oct 2012 07:15:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Mark Witmer <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Quoting music in ly:book-process,
David Kastrup <=