Odd interaction berween \alternative and bar lineI 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 
  To: [email protected] 
  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:[email protected]
  www.ptoye.com


------------------------------------------------------------------------------


  _______________________________________________
  lilypond-user mailing list
  [email protected]
  https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to