bug-lilypond
[Top][All Lists]
Advanced

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

Re: 2 more bugs with PianoStaff


From: Mats Bengtsson
Subject: Re: 2 more bugs with PianoStaff
Date: Mon, 29 Mar 2004 18:32:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

I corrected problem number 1 in CVS.

Problem 2 remains: \change doesn't work if nothing else has
already happaned in the context.

   /Mats

Erik Sandberg wrote:
1. The R rests are misplaced (too high in the upper, too low in the lower staff).

2. If you comment out \key c\major (which does nothing), you get the following warning:

 warning: Change_iterator::process (): Staff = `up':

/tmp/bee/piano.ly:6:21: warning: can't change `Staff' to `down': I'm one myself:
    \change Staff=dow
                     n \voiceOne c1 \change Staff=up \oneVoice c R
..and the staff change is not done.

The code:

\version "2.1.34"
\score { \context PianoStaff <<
  \context Staff=up \notes \relative c' {
    \key c\major
    \change Staff=down \voiceOne c1 \change Staff=up \oneVoice c R
  }
  \context Staff=down \notes \relative c'' {
    \voiceTwo c1 \oneVoice R c
  }

\paper{}
}


erik



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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        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]