bug-lilypond
[Top][All Lists]
Advanced

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

Re: barcheck failure with partial in middle of piece


From: David Kastrup
Subject: Re: barcheck failure with partial in middle of piece
Date: Fri, 08 Aug 2014 17:35:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Paul Morris <address@hidden> 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




reply via email to

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