Ok then. Just add single { } around the examples. Or maybe two {{ }} ? Find the doc section about file structure; it should be possible to figure it out from there.
We didn't manage to finish Vocal music during the last big documentation push, and I don't think we'll have the resources to work on this for at least 4 months. Sorry, - Graham On Sat, Jan 09, 2010 at 04:25:21PM +0000, Philip Potter wrote: > Thanks for the reference. However, I don't understand how that section > of the learning manual applies. Quoting from "How to read the > manuals": > > "Why omit the braces? Most examples in this manual can be inserted > into the middle of a longer piece of music. For these examples, it > does not make sense to add \relative c'' { } – you should not place a > \relative inside another \relative! If we included \relative c'' { } > around every example, you would not be able to copy a small > documentation example and paste it inside a longer piece of your own. > Most people want to add material to an existing piece, so we format > the manual this way. " > > Since the examples I highlight *do* include a \relative block, they > are neither compilable as a standalone program nor includable inside > another \relative block. > > Phil > > 2010/1/9 Graham Percival <gra...@percival-music.ca>: > > Read the beginning of the Learning Manual again; you want a > > section called something like "How to read the manuals". It > > discusses this specific issue. > > > > Cheers, > > - Graham > > > > On Sat, Jan 09, 2010 at 03:25:32PM +0000, Philip Potter wrote: > >> Hello, > >> > >> There seems to be a problem with the example in the notation reference, > >> section > >> 2.1.2 [1]: > >> > >> \time 3/4 > >> \relative c' { c2 e4 g2 e4 } > >> \addlyrics { gran- de_a- mi- go } > >> \addlyrics { pu- "ro y ho-" nes- to } > >> \addlyrics { pu- ro~y~ho- nes- to } > >> > >> If I try to compile this under 2.12.2 as a complete file I get > >> lyrics.ly:1:0: error: syntax error, unexpected \time > >> > >> If I move the \time directive to within the \relative block, it compiles > >> ok. Is > >> this an error with the documents or is there some context in which this > >> example > >> might make sense? I notice that some later examples in the same section put > >> \time within \relative, but not all - particularly this one: > >> > >> \time 3/4 > >> \relative c' { c2 e4 g2. } > >> \addlyrics { play the game } > >> > >> and this one: > >> > >> \time 3/4 > >> \relative c' { c2 e4 g2. } > >> \addlyrics { play the game } > >> \addlyrics { speel het spel } > >> \addlyrics { joue le jeu } > >> > >> > >> [1] > >> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Entering-lyrics#index-lyrics > >> > >> > >> > >> _______________________________________________ > >> bug-lilypond mailing list > >> bug-lilypond@gnu.org > >> http://lists.gnu.org/mailman/listinfo/bug-lilypond > > _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond