lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheme function to output \bookpart {} ?


From: David Kastrup
Subject: Re: Scheme function to output \bookpart {} ?
Date: Thu, 24 Sep 2015 00:07:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> On 23.09.2015 23:43, David Kastrup wrote:
>> Thomas Morley <address@hidden> writes:
>>
>>> 2015-09-23 17:50 GMT+02:00 Simon Albrecht <address@hidden>:
>>>> Hello,
>>>>
>>>> is it possible to have a Scheme function output a bookpart? In the attached
>>>> example and my real-world setup, I get ‘error: bad expression type’.
>>>>
>>>> TIA, Simon
>>> Hi Simon,
>>>
>>> this may give you a starting point:
>>>
>>> \version "2.19.27"
>>>
>>> test =
>>> #(define-scheme-function (mus) (ly:music?)
>>>    (ly:book-process
>>>      (ly:make-book-part (list (ly:make-score mus)))
>>>      $defaultpaper
>>>      $defaultlayout
>>>      (ly:parser-output-name)))
>>>
>>> m = { c'4 }
>>>
>>> \test \m
>> Turns out I have some half-finished branch "bookactive" in my
>> repository.  I just don't remember any more what the problem was.
>
> Meaning? That you think about simplifying the interface/making
> something like my first example work? Which would of course be very
> honourable :-)

No, just that I did at one point of time work on that.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]