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? -- 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. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem executing example code with LilyPond 2.16.2
- Original Message - From: Speldosa l4rs...@gmail.com To: lilypond-user@gnu.org 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem executing example code with LilyPond 2.16.2
Hello, You use LilyPond 2.16.2 but the syntax you linked comes from 2.17 documentation. Your code compiles without problem using 2.17 version of LilyPond. You could either try the latest 2.17.97 development version, or see the syntax used in the 2.16 documentation. Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Problem-executing-example-code-with-LilyPond-2-16-2-tp156615p156617.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem executing example code with LilyPond 2.16.2
Ops, that's one of the drawbacks of using Google to find your way around the LilyPond website. I'll be more careful what version of the manuals I'm reading in the future. Anyhow, I upgraded to the latest unstable version, and it works now. Thanks! -- View this message in context: http://lilypond.1069038.n5.nabble.com/Problem-executing-example-code-with-LilyPond-2-16-2-tp156615p156620.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem executing example code with LilyPond 2.16.2
On 29/12/13 05:13, Speldosa wrote: Ops, that's one of the drawbacks of using Google to find your way around the LilyPond website. I'll be more careful what version of the manuals I'm reading in the future. Anyhow, I upgraded to the latest unstable version, and it works now. Thanks! The Lilypond web site also has a bug with searching the manuals where it returns results from the 2.17 docs for a search started from the 2.16 manuals page. http://code.google.com/p/lilypond/issues/detail?id=2909 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem executing example code with LilyPond 2.16.2
2013/12/28 Nick Payne nick.pa...@internode.on.net On 29/12/13 05:13, Speldosa wrote: Ops, that's one of the drawbacks of using Google to find your way around the LilyPond website. I'll be more careful what version of the manuals I'm reading in the future. Anyhow, I upgraded to the latest unstable version, and it works now. Thanks! The Lilypond web site also has a bug with searching the manuals where it returns results from the 2.17 docs for a search started from the 2.16 manuals page. http://code.google.com/p/lilypond/issues/detail?id=2909 I don't think that it's a bug (see my comment in the tracker) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user