Re: frameEngraver repeats not aligned

2015-05-06 Thread holl...@hollandhopson.com
Thanks David,
Changing the stem direction does the trick. I’d love to have a version of 
frameEngraver that would work with multiple staves. Maybe others would like 
this for score analysis, too? frameEngraver is such an important part of my 
work with lilypond right now; I’d hate to see it abandoned. If there’s ever an 
opportunity for further development, count me in as a sponsor.
Holland 

> On May 6, 2015, at 2:02 PM, David Nalesnik  wrote:
> 
> Hi Holland,
> 
> On Wed, May 6, 2015 at 9:45 AM, holl...@hollandhopson.com 
>   > wrote:
> Hello all,
> I’m using frameEngraver for a harp part and the repeat signs are not aligned. 
> The problem appears when I use compoundMeter. Below is a minimal example that 
> demonstrates the issue. It requires "frameEngraver-bars-and-boxes.ily” which 
> I’ve attached.
> 
> I’ve moved the frameStart, frameEnd, frameExtenderEnd into each voice. I’ve 
> also tried eliminating the common timing variable and specifying time 
> signatures within each voice. The results are the same. A similar 
> misalignment occurs with frame boxes instead of repeats. Any suggestions are 
> much appreciated.
> Thanks,
> Holland
> 
> 
> The width of the frames vary because one note is upstem and the other is 
> downstem, meaning one extends past the other.  (You can see the nice 
> alignment which happens when you change both to the same direction.)
> 
> All would be well if the bounds were paper columns (and probably if this is 
> ever to work properly with horizontal spacing they should be new paper 
> columns, created just for the frames)..
> 
> Sorry, I don't have a good solution.  And I've all but given up working on 
> this, because of long-standing problems which I can't resolve on my own.
> 
> One of which is getting it to work with multiple staves--which would be good 
> with your example!
> 
> Anyway, I suppose you could hack an invisible stem up note.  Hate to suggest 
> that, but it just might work...
> 
> David 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: frameEngraver repeats not aligned

2015-05-06 Thread David Nalesnik
On Wed, May 6, 2015 at 2:02 PM, David Nalesnik 
wrote:

> Hi Holland,
>
> On Wed, May 6, 2015 at 9:45 AM, holl...@hollandhopson.com <
> holl...@hollandhopson.com> wrote:
>
>> Hello all,
>> I’m using frameEngraver for a harp part and the repeat signs are not
>> aligned. The problem appears when I use compoundMeter. Below is a minimal
>> example that demonstrates the issue. It requires
>> "frameEngraver-bars-and-boxes.ily” which I’ve attached.
>>
>>
I should mention that this needs 2.18.x  There is a single change which you
need for current development versions.  See the last line below:

% ADD NEW GROB DEFINITIONS
%

#(define (add-grob-definition grob-name grob-entry)
   (let* ((meta-entry   (assoc-get 'meta grob-entry))
  (class(assoc-get 'class meta-entry))
  (ifaces-entry (assoc-get 'interfaces meta-entry)))
 (set-object-property! grob-name 'translation-type?
ly:grob-properties?) ;; NB!!

[...]

DN
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: frameEngraver repeats not aligned

2015-05-06 Thread David Nalesnik
Hi Holland,

On Wed, May 6, 2015 at 9:45 AM, holl...@hollandhopson.com <
holl...@hollandhopson.com> wrote:

> Hello all,
> I’m using frameEngraver for a harp part and the repeat signs are not
> aligned. The problem appears when I use compoundMeter. Below is a minimal
> example that demonstrates the issue. It requires
> "frameEngraver-bars-and-boxes.ily” which I’ve attached.
>
> I’ve moved the frameStart, frameEnd, frameExtenderEnd into each voice.
> I’ve also tried eliminating the common timing variable and specifying time
> signatures within each voice. The results are the same. A similar
> misalignment occurs with frame boxes instead of repeats. Any suggestions
> are much appreciated.
> Thanks,
> Holland
>
>
The width of the frames vary because one note is upstem and the other is
downstem, meaning one extends past the other.  (You can see the nice
alignment which happens when you change both to the same direction.)

All would be well if the bounds were paper columns (and probably if this is
ever to work properly with horizontal spacing they should be new paper
columns, created just for the frames)..

Sorry, I don't have a good solution.  And I've all but given up working on
this, because of long-standing problems which I can't resolve on my own.

One of which is getting it to work with multiple staves--which would be
good with your example!

Anyway, I suppose you could hack an invisible stem up note.  Hate to
suggest that, but it just might work...

David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user