i have excerpted the code from your example as \version "2.12" fng = #(define-music-function (parser location marktext) (string?) #{ \markup {\finger $marktext } #}) { < c' d'>4^\fng #"2\n1" }
but running it gives following errors: Analysieren... test.ly:5:12: Fehler: syntax error, unexpected MUSIC_FUNCTION { < c' d'>4^ \fng #"2\n1" } <string>:1:33: Fehler: syntax error, unexpected \markup parseStringResult = \notemode { \markup {\finger \lilyvartmpb } <string>:1:42: Fehler: Ungültige Fluchtsequenz: »\finger« parseStringResult = \notemode { \markup { \finger \lilyvartmpb } test.ly:5:0: Fehler: Fehler gefunden, musikalischer Ausdruck wird ignoriert { < c' d'>4^\fng #"2\n1" } what am i missisng? -- View this message in context: http://www.nabble.com/Parametric-variables--tp22513457p22523238.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user