lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using lilypond syntax in Scheme


From: Mats Bengtsson
Subject: Re: Using lilypond syntax in Scheme
Date: Mon, 19 Dec 2005 10:05:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

As far as I know, this has been fixed in the latest development versions.
In 2.6, you have to explicitly include a \notemode :

#(define mynotes #{ \override Stem #'thickness = #4
                     \notemode { c'8 d' } #})

 \score { \mynotes }


  /Mats

Don Blaheta wrote:

What am I missing here?  Whenever I include a literal note (e.g. "c" or
"bf'4") inside a #{ #} block, lilypond is complaining about an
unexpected STRING.  For instance, this example (lifted from section
11.1.6 of the manual) fails to compile:

 #(define mynotes #{ \override Stem #'thickness = #4
                     { c'8 d' } #})

 \score { \mynotes }

Am I just not invoking it right?  Commands and such (\override,
\context) seem ok, it's just the actual notes that don't work.  This is
on 2.6.4.


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]