lilypond-devel
[Top][All Lists]
Advanced

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

Re: problem with bar numbers and ossia staves


From: Werner LEMBERG
Subject: Re: problem with bar numbers and ossia staves
Date: Tue, 28 May 2013 22:04:17 +0200 (CEST)

>>> That being said, the bar number engraver uses
>>> ly:side_position_interface::move-to-extremal-staff for its
>>> vertical positioning.  The same would likely be done for marks.
>>> The question is what we should be doing here with regard to
>>> interrupted staves in general, and/or with regard to ossia staves
>>> in particular.
>>
>> Well, for bar numbers and marks, a temporary disabled or not-yet
>> existing staff should be treated as not present.  So it seems we
>> have a bug in the code.
> 
> +1

I'm no longer sure about this: For example, if you use this reduced
example

  <<
    \new Staff = "ossia" { \stopStaff s1*6 }

    \new Staff \relative c' {
      c4 b c2
      e4 f e2
      g4 a g2 \break

      c4 b c2
      <<
        { g4 a g2 }
        \context Staff = ossia {
          \startStaff g4 e8 f g2 \stopStaff
        }
      >>
      e4 d c2
    }
  >>

it is not easy to decide whether the bar number should be moved to the
non-ossia staff.  So maybe a warning in the documentation is more
appropriate which says that \startStaff and \stopStaff might cause
issues, in combination with an improved documentation example.


    Werner

PNG image


reply via email to

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