lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem executing example code with LilyPond 2.16.2


From: Phil Holmes
Subject: Re: Problem executing example code with LilyPond 2.16.2
Date: Sat, 28 Dec 2013 17:04:34 -0000

----- Original Message ----- From: "Speldosa" <address@hidden>
To: <address@hidden>
Sent: Saturday, December 28, 2013 4:59 PM
Subject: Problem executing example code with LilyPond 2.16.2


I've had some trouble with changing parameters in LilyPond, so I tried out
some example code from the manual.

In  section 4.2.1
<http://www.lilypond.org/doc/v2.17/Documentation/learning/properties-of-layout-objects>
of the LilyPond Learning Manual, I found the following example code, which
is meant to demonstrate how to change a property of a layout object (this is
directly copy-and-pasted from the manual):

{
 \key es \major
 \time 6/8
 {
   % Increase thickness of all following slurs from 1.2 to 5.0
   \override Slur.thickness = #5.0
   r4 bes8 bes[( g]) g |
   g8[( es]) es d[( f]) as |
   as8 g
 }
 \addlyrics {
   The man who | feels love's sweet e -- | mo -- tion
 }
}

When commenting out the \override line, everything compiles fine for me in
LilyPond 2.16.2. However, when uncommenting it (and therefore, running the
example code in its entirety) I get the following error message:

Test.ly:6:29: error: syntax error, unexpected '=', expecting SCM_FUNCTION or
SCM_IDENTIFIER or SCM_TOKEN
   \override Slur.thickness
                            = #5.0
Test.ly:6:31: warning: Ignoring non-music expression
   \override Slur.thickness =
                              #5.0
Test.ly:1:0: error: errors found, ignoring music expression

What is going on here?


You're using code from the 2.17 manuals for the 2.16 version of the program. Try using the 2.16 manuals.

--
Phil Holmes



reply via email to

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