> -----Original Message----- > From: Patrick McCarty [mailto:[email protected]] > Sent: Saturday, 23 May 2009 8:15 AM > To: Nick Payne > Cc: [email protected] > 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 _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
