lilypond-user
[Top][All Lists]
Advanced

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

Re: Odd interaction berween \alternative and bar line


From: Phil Holmes
Subject: Re: Odd interaction berween \alternative and bar line
Date: Mon, 28 Nov 2016 15:01:40 -0000

I wasn't certain, so I looked in the Notation Reference.  It says "Each group of alternatives must be themselves, enclosed in a set of braces."

--
Phil Holmes
 
 
----- Original Message -----
From: Peter Toye
Sent: Monday, November 28, 2016 2:51 PM
Subject: Odd interaction berween \alternative and bar line

The snippet below gives an error:

warning: More alternatives than repeats.  Junking excess alternatives
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers

Comment out the bar line and it's OK. Anyone any idea what's going on?

\version "2.18.2"

\language "english"

\score {
   \new PianoStaff  <<
     \new Staff = "lh"
     {
       \clef bass
       \relative c
       {
         \repeat volta 2 {
           c1
         }
         \alternative {
           <g, g'>
          |        %comment this out and it's OK
           <a a'>
         }
         d'1
       }
     }
   >>
}

Regards,

Peter
mailto:address@hidden
www.ptoye.com


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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