lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme function returning \book


From: David Kastrup
Subject: Re: Scheme function returning \book
Date: Tue, 15 Jan 2019 23:35:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lukas-Fabian Moser <address@hidden> writes:

> Folks,
>
> is it possible for a scheme function to return a whole \book ?
>
> test = #(define-scheme-function (suffix) (string?)  #{
>   \book {
>     \bookOutputSuffix #suffix
>     \score {
>       d4
>     }
>   }
> #} )
>
> \test
>
> causes a "Bad expression type" error.

\test apparently expects a string argument.

-- 
David Kastrup



reply via email to

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