Le samedi 09 juillet 2016 à 16:59 +0100, Phil Holmes a écrit :
> ----- Original Message ----- 
> From: "Ken Pierce" <[email protected]>
> To: <[email protected]>
> Sent: Saturday, July 09, 2016 4:41 PM
> Subject: alternative repeat - extraneous barline
> 
> 
> > An extraneous barline appears in the middle of the second
> > ending.  How can 
> > I
> > eliminate it?
> > 
> > Thanks,
> > Ken
> > 
> > --- example:
> > 
> > \version "2.18.2"
> > \score {
> >   \new Staff {
> >       \time 6/8 \partial 8
> >       \repeat volta 2 { a'8 | a'8. g'16 f'8 a'8. g'16 f'8 | }
> >       \alternative {
> >         {  d'4.~ d'4 }
> >         {  d'4.~ d'4 } % extraneous barline appears
> >       }
> >      }
> >   \layout { }
> > }
> 
> Simplest answer is to upgrade to 2.19.  It looks like this has been
> fixed in 
> all 2.19.x versions, so the latest development version should be
> fine.
> 
> --
> Phil Holmes 

With 2.18.2, you can use something like:

\version "2.18.2"
\score {
   \new Staff {
       \time 6/8 \partial 8
       \repeat volta 2 { a'8 | a'8. g'16 f'8 a'8. g'16 f'8 | }
       \alternative {
         {  d'4.~ d'4 \set Timing.measurePosition = #(ly:make-moment 6/8)}
         {  d'4.~ d'4 } % no extraneous barline appears
       }
      }
   \layout { }
}

Best regards,
Jean

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

Reply via email to