lilypond-user
[Top][All Lists]
Advanced

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

Re: Should sample code in NR build correctly?


From: Patrick McCarty
Subject: Re: Should sample code in NR build correctly?
Date: Fri, 22 May 2009 15:15:29 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, May 23, 2009 at 07:54:54AM +1000, Nick Payne wrote:
> For example, on p.98 of the PDF version of the 2.12.2 NR the following
> example appears about half way down the page:
> 
> \repeat volta 2 { c4 d e f }
> c2 d
> \repeat volta 2 { d4 e f g }
> 
> If you try to build this using 2.12.2 on Windows you get 
> 
> error: syntax error, unexpected NOTENAME_PITCH
> 
> c2 d
> 
> and the output is two separate staves rather than the single staff shown
> with the example. The whole thing has to be surrounded by \relative c'' { }
> to get the desired output.
> 
> The reason I ask is that I remember a post from someone a while ago saying
> that the code as shown in the manuals had been used to produce the output.

If you click on the image of the musical example, and copy/paste the
appropriate code, it should compile.

I believe this is explained in the Learning Manual, but it's not
something that is immediately intuitive, IMO.  We might want to make
this information more prominent.

-Patrick




reply via email to

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