lilypond-user
[Top][All Lists]
Advanced

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

RE:


From: James Lowe
Subject: RE:
Date: Mon, 15 Nov 2010 17:10:55 -0500

Xavier, Paul

-----Original Message-----
From: address@hidden on behalf of Xavier Scheuer
 
On 14/11/2010, Paul Thompson <address@hidden> wrote:
>
> I am having an error in using lilypond 2.13.38
>
> Here is my input file:
>
> \book {
>   \bookOutputName "Romanze"
>     a a a
> }
> \book {
>   \bookOutputName "Menuetto"
> \score{
>    a a a
> }
> }
>
> I am getting a persistent error:
>
> testa.ly:3:4: error: syntax error, unexpected NOTENAME_PITCH
>
>
> I am inexperienced, but have gone thru the manual.

Yes, I have noticed that *sometimes* LilyPond does not understand
"shortcuted" structures.
Just add explicit instanciation for Staff and it is OK.

\book {
  \bookOutputName "Romanze"
  \new Staff { a a a }
}
\book {
  \bookOutputName "Menuetto"
  \score{
    \new Staff { a a a }
  }
}

-----

Actually 

\book {
  \bookOutputName "Romanze"
  { a a a }
}
\book {
  \bookOutputName "Menuetto"
    { a a a }
  }
}

will work.

The original example above used note names in a \book { } construct without the 
correct brackets - this is wrong and is covered in the manuals.

There is no need to explicitly put in a \score or \new Staff for your example 
to work. Keep it simple.

Unless I have misunderstood.

James




reply via email to

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