[EMAIL PROTECTED] writes:

> The code which generates the error - unexpected '(' - is as follows:
>
> altSlur = #(define-music-function (parser location e1 e2) (ly:music? 
> ly:music?)
>       #{
>               <<
>                       { $e1 $e2 }
>                       \new Voice = "1" {
>                               \once \override Stem #'transparent = ##t {
>                                       $e1 
>                                       \slurDotted 
>                                       ( $e2 )
>                                       \slurSolid
>                               }
>                       }
>               >>
>       #}
> )

You can write a '(' only after a literal note, not after a variable:
"\myVariable (" ==> parse error

You'll have to manually build the music expression: try using
\displayMusic to find out what to do (some examples are described in the
manual).

nicolas


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to