Sorry to bother but I'm unable to get out from this problem. This code generate two scores:
\version "2.19.80" \score { \transpose c d {c' d' e'} \layout{} } \score { \transpose c e {c' d' e'} \layout{} } I tried to write a scheme function doing something similar: \version "2.19.80" myScore = #(define-scheme-function (music) (ly:music?) #{ \score { \transpose c d $music \layout{} } \score { \transpose c e $music \layout{} } #}) \myScore {c' d' e'} but when I try to compile I get this error error: syntax error, unexpected \score, expecting end of input \score { error: error in #{ ... #} Any suggestion? Thank you, Gianmaria
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user