[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
define-music-function -> unexpected EVENT_FUNCTION
From: |
address@hidden |
Subject: |
define-music-function -> unexpected EVENT_FUNCTION |
Date: |
Mon, 26 Jan 2015 11:39:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
I have this test program, se below, but I get
unexpected EVENT_FUNCTION
\transpose c cis $mus
\rightHandFinger
\markup\normal-text\bold\fontsize #0 $txt
How would I do this correctly?
// Anders
%% Start
\version "2.19.15"
meTrans =
#(define-music-function (parser location mus txt) (ly:music? string?)
#{
\transpose c cis $mus \rightHandFinger
\markup\normal-text\bold\fontsize #0 $txt
#}
)
{
\transpose c cis c' \rightHandFinger \markup\normal-text\bold
\fontsize #0 "A"
\meTrans c' "a"
}
%% End
--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.
test3.ly
Description: Text Data
- define-music-function -> unexpected EVENT_FUNCTION,
address@hidden <=