David Kastrup <dak <at> gnu.org> writes:

> Removing a warning is always simple.  I do have a problem figuring out
> what is logical about that on contrast to "unlogical versions", though,
> and that makes it hard to decide about a useful warning strategy.  Why
> wouldn't you delay \time 4/4 here until _after_ the remaining quarter
> note?

I found this in a hymnal between two sections of a song.  It makes
sense to break the line between the sections, and the line break is
the least ugly place to put the time change.

> Apart from the warning, are the bar numbers what you would expect from
> writing the above?

There is also the issue that the bar number is not parenthesized at
the line break, which I didn't notice at first.  I've repeated the
whole example below without any attempt to work around these two
issues.

\version "2.19.0"

music = \relative b' {
  \time 3/4
  b4 b b | b2 \bar "||" \break

  % Known problems:
  %   warning: \time in mid-measure at 1/2
  %   After the break the bar number is not parenthesized.
  \time 4/4
  \partial 4
  f4 | f f f f |
}

\layout {
  indent = 0
  ragged-right = ##t
}

\score {
  \new Staff {
    \set Score.barNumberVisibility = #all-bar-numbers-visible
    \override Score.BarNumber.break-visibility = #end-of-line-invisible

    \music
  }
}



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to