[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem executing example code with LilyPond 2.16.2
From: |
Speldosa |
Subject: |
Problem executing example code with LilyPond 2.16.2 |
Date: |
Sat, 28 Dec 2013 08:59:53 -0800 (PST) |
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?
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Problem-executing-example-code-with-LilyPond-2-16-2-tp156615.html
Sent from the User mailing list archive at Nabble.com.