bug-lilypond
[Top][All Lists]
Advanced

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

\acciaccatura produces extra double bar when using multiple staves


From: Wim van Dommelen
Subject: \acciaccatura produces extra double bar when using multiple staves
Date: Sun, 25 May 2008 12:05:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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
        }
  }
}






reply via email to

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