bug-lilypond
[Top][All Lists]
Advanced

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

Disappearing clef


From: Erik Sandberg
Subject: Disappearing clef
Date: Sat, 14 Sep 2002 19:08:42 +0200

Hi,

In the following score, the treble clef on the 3rd system of the score 
disappears, using debian's lily 1.6.0 package. Feels like a memory bug or 
something. It comes back e.g. if I remove the Staff.instr assignments or 
change the papersize.

If I add more notes to the score, all subsequent systems have their treble 
clefs removed as well, and the same if I add any staves before the last one.

Erik

\version "1.6.0"
\include "paper13.ly"

MandolinStaff = \notes {
  \clef "treble"
  \key d\major
  \time 6/8
  d''16  e''16  fis''16  g''16  a''16  fis''16  d''8  fis''8 a''8  |
  % 2
  g''16  a''16  b''16  cis'''16  d'''16  b''16  g''8  b''8  
  d'''8  |
  % 3
  a'16  b'16  cis''16  d''16  e''16  fis''16  g''16  fis''16  
  g''16  e''16  cis''16  e''16  |
  % 4
  d''16  fis''16  d''16  a'16  fis'16  a'16  d'4  r8  |
  % 5
  d''16  e''16  fis''16  g''16  a''16  fis''16  d''8  fis''8  
  a''8  |
  % 6
  g''16  a''16  b''16  cis'''16  d'''16  b''16  g''8  b''8  
  d'''8  |
  % 7
  a'16  b'16  cis''16  d''16  e''16  cis''16  a'8  cis''8  
  e''8  |
  % 8
  e'16  fis'16  g'16  a'16  b'16  cis''16  d''16  cis''16  
  d''16  a'16  fis'16  d'16  |
  % 9
  d''16  e''16  fis''16  g''16  a''16  fis''16  d''8  fis''8  
  a'8  |
  % 10
  gis'16  b'16  e''16  b'16  gis'16  b'16  a'16  cis''16  
  e''16  cis''16  a'16  cis''16  |
  % 11
  fis'16  a'16  d''16  a'16  fis''16  d''16  cis''16  e''16  
  a''16  cis''16  b'16  gis''16  |
  % 12
  a'16  cis''16  e''16  a''16  e''16  cis''16  a'16  cis''16  
  e''16  cis''16  a'16  cis''16  |
  % 13
  a'16  d''16  fis''16  d''16  a'16  d''16  gis'16  b'16  
  e''16  b'16  gis'16  b'16  |
  % 14
  a'16  e''16  cis''16  a'16  e'16  cis'16  <a4 e'4  a'4> r8      |
}

DonGiovanniStaff = \notes {
  \clef "bass"
  \key d\major
  \time 6/8
  R2. | R2. | R2. | 
  % 4
  r4 r8 r4 a8  |
  % 5
  [a8(  )d'8]  d'8  d'4  cis'8  |
  % 6
  b4  b8 r8 r8  b8  |
  % 7
  a4. ~ [a8( )b8]  g8  |
  % 8
  a4(  )g8  fis8  r8  a8  |
  % 9
  [a8(  )d'8]  d'8  d'4  cis'8  |
  % 10
  b4.  cis'4.  |
  % 11
  a4  d'8  [cis'8.(  d'16  )b8]  |
  % 12
  a4  r8 r4 r8 | R2. |
  % 14
  r4 r8 r4 a8  |
}


\score {
  <
    \context Staff = Mandolin <
      \property Staff.instr = "Mand."
      \MandolinStaff
    >

    \context Staff = DonGiovanni <
      \property Staff.instr = "D.Giov."
      \DonGiovanniStaff
    >
  >
  \paper {\translator {\StaffContext minimumVerticalExtent = #'(-4 . 4) }}
}






reply via email to

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