bug-lilypond
[Top][All Lists]
Advanced

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

Re: \acciaccatura produces extra double bar when using multiple staves


From: Mats Bengtsson
Subject: Re: \acciaccatura produces extra double bar when using multiple staves
Date: Mon, 26 May 2008 09:34:35 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Please read the section on "Grace notes" under "Known issues and warnings".

  /Mats

Wim van Dommelen wrote:
Hi,

Running the example below will show an extra set of double bars when a
\acciaccatura is called together with a double bar spanning multiple staves with
multiple voices.

Version 2.11.45-2 on Mac OS X 10.4.9.

Regards,
Wim van Dommelen.


\version "2.11.45"

\paper { ragged-right=##t }

VoiceOne = {
                r1

        % 1. single bar:
                        |

                \acciaccatura a'8 b'2 r

        % 2. double bar:
%ERROR: the double bar is produced twice (including the bar-number).
                        \bar "||"

                \acciaccatura a'8 b'2 r

        % 3. double bar:
                        \bar "||"

                \acciaccatura a'8 b'2 r |
}

VoiceTwo = {
                r1

        % 1. single bar:
                        |

                c'2 r

        % 2. double bar:
                        \bar "||"

                c' r

        % 3. double bar, commented out so it inherits this from the first voice:
%PROBLEM: stupid fix, because I also want to use the separate voices.
%                 (outside of the conductors score to produce single voices)
                %       \bar "||"

                c' r |
}

\score {
        {
        <<
                \override Score.BarNumber #'break-visibility = ##(#f #t #t)
                \new Staff = One { \clef violin \time 4/4 \VoiceOne }
                \new Staff = Two { \clef violin \VoiceTwo }
        >>
  }

  \layout {
    \context {
      \Score
                \consists Span_bar_engraver
        }
  }
}




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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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