Paul Morris <[email protected]> writes:

> I'm getting an unexpected barcheck failure when using partial in the middle
> of a piece.  In the minimal example below, if you comment out the chords the
> first barcheck succeeds, but with the chords included it fails.  (Also the
> beaming in that first measure is off.)  
>
> Not sure if this is a bug or if I'm expecting too much from \partial.

More like you are expecting too much from |.  A bar check will check
that you are at the end of a bar.  Putting it in parallel with \partial
does not make all that much sense since \partial explicitly demands
_not_ to be at the end of a bar.

At any rate, I found some branch in my repository that appears to change
the behavior to the one you'd have preferred in this case.  Probably the
patch did not work in the particular case I had in mind or had some
logical fallacy in it or failed some other test.

Since it at least seems to cause more expected behavior in your usage,
I've put it to review as

Tracker issue: 4056 (http://code.google.com/p/lilypond/issues/detail?id=4056)
Rietveld issue: 119610044 (http://codereview.appspot.com/119610044)
Issue description:
  Let \partial in mid-piece work via a finalization hook    That
  allows all other processing to complete before measurePosition is
  adjusted.  In particular, this avoids problems when multiple
  parallel  contexts invoke \partial and/or bar checks.      Also
  contains commit:  Regtest for \partial in mid-piece

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to