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: Nick Payne
Subject: RE: Should sample code in NR build correctly?
Date: Sat, 23 May 2009 08:25:02 +1000

> -----Original Message-----
> From: Patrick McCarty [mailto:address@hidden
> Sent: Saturday, 23 May 2009 8:15 AM
> To: Nick Payne
> Cc: address@hidden
> Subject: Re: Should sample code in NR build correctly?
> 
> 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.
> 
That suggestion only works with the HTML documentation, not the PDF 
documentation. I almost always use the PDF documentation, as I can build an 
easily searchable index across all the different manuals.

Nick





reply via email to

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