Dear David,
I also use version 2.16.2
But Your example doesn't work for me.
I get the error message
partiturtest.ly:17:34: Fehler: syntax error, unexpected '} \score {
\TheScore \first \second    }



> I don't have 2.16 installed, but with current versions
> \version "2.16.2"
> TheScore = #(define-scheme-function (parser location x y) (ly:music?
> ly:music?)
> #{
> \score {
> \new StaffGroup
> <<
> \new Staff \with { instrumentName = "first" } $x
> \new Staff \with { instrumentName = "second" } $y
> >>
> }
> #})
>
> first = \relative c' { c4 d e f g1 }
> second = \relative c'' { g4 f e d c1 }
>
> \score { \TheScore \first \second }
>
> appears to work.  Of course, if you are going to have to write
> \score { ... } anyway, the incentive for not just using a music function
> is not all that high.
>
> --
> David Kastrup
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to