Any suggestion?
On 11 December 2017 at 08:57, Gianmaria Lari <[email protected]>
wrote:
> I created a simple scheme function with a single argument that works
> similarly to the score command:
>
> \version "2.19.80"
> mySc = #(define-scheme-function (music) (ly:music?)
> #{
> \score {
> $music
> \layout{}
> }
> #})
>
> \mySc {a b c'}
>
> This works as expected. But when I modify it to generates two scores, one
> layout and one midi, I have a compilation error.
>
> \version "2.19.80"
> mySc = #(define-scheme-function (music) (ly:music?)
> #{
> \score {
> $music
> \layout{}
> }
> \score {
> $music
> \midi{}
> }
> #})
>
> \mySc {a b c'}
>
> What's the problem and how can I fix it?
> Thank you, g.
>
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user