Re: 2.13.54 breaks NoteNames vertical spacing

2011-03-20 Thread Keith OHara
Michael Ellis michael.f.ellis at gmail.com writes:
  In 2.12,  the NoteNames output lays close beneath the lyric line. 
 In 2.13.54 the gap is quite large and the output collides with 
 markup above the next staff.  Is there a workaround?
 
 
Try
\layout { \context {
  \NoteNames
  \override VerticalAxisGroup #'staff-affinity = #UP
}}

The initialization file (engraver-init.ly) actually says
  % FIXME: not sure what the default should be here.
  \override VerticalAxisGroup #'staff-affinity = #DOWN

So let's set the correct default now.  Is there any reason to assume that note-
names will most often be associated with the staff above or the staff below ?

If not, we can set staff-affinity to CENTER -- which doesn't really mean center 
but means get close to a staff on either side.  I guess the programmer didn't 
think that 'staff-affinity = #PROMISCUOUS  was appropriate.




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


Re: 2.13.54 breaks NoteNames vertical spacing

2011-03-20 Thread Phil Holmes
- Original Message - 
From: Keith OHara k-ohara5...@oco.net

To: lilypond-user@gnu.org
Sent: Sunday, March 20, 2011 7:26 AM
Subject: Re: 2.13.54 breaks NoteNames vertical spacing



Michael Ellis michael.f.ellis at gmail.com writes:

 In 2.12,  the NoteNames output lays close beneath the lyric line.
In 2.13.54 the gap is quite large and the output collides with
markup above the next staff.  Is there a workaround?



Try
\layout { \context {
 \NoteNames
 \override VerticalAxisGroup #'staff-affinity = #UP
}}

The initialization file (engraver-init.ly) actually says
 % FIXME: not sure what the default should be here.
 \override VerticalAxisGroup #'staff-affinity = #DOWN

So let's set the correct default now.  Is there any reason to assume that 
note-
names will most often be associated with the staff above or the staff 
below ?


If not, we can set staff-affinity to CENTER -- which doesn't really mean 
center
but means get close to a staff on either side.  I guess the programmer 
didn't

think that 'staff-affinity = #PROMISCUOUS  was appropriate.


It definitely works best with staff-affinity UP, where the note names are 
below the stave.  Presumably it would be best with DOWN where they're above. 
It also is improved with:


\paper {
   system-system-spacing #'padding = #5
}


IIRC, this is all to do with the system spacing not taking account of 
non-staff grobs?  I do think this is likely to cause a number of problems in 
the future.


--
Phil Holmes



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


Re: 2.13.54 breaks NoteNames vertical spacing

2011-03-20 Thread Michael Ellis
On Sun, Mar 20, 2011 at 6:56 AM, Phil Holmes m...@philholmes.net wrote:
 - Original Message - From: Keith OHara k-ohara5...@oco.net
 To: lilypond-user@gnu.org
 Sent: Sunday, March 20, 2011 7:26 AM
 Subject: Re: 2.13.54 breaks NoteNames vertical spacing


 Michael Ellis michael.f.ellis at gmail.com writes:

  In 2.12,  the NoteNames output lays close beneath the lyric line.
 In 2.13.54 the gap is quite large and the output collides with
 markup above the next staff.  Is there a workaround?


 Try
 \layout { \context {
  \NoteNames
  \override VerticalAxisGroup #'staff-affinity = #UP
 }}

 The initialization file (engraver-init.ly) actually says
  % FIXME: not sure what the default should be here.
  \override VerticalAxisGroup #'staff-affinity = #DOWN

 So let's set the correct default now.  Is there any reason to assume that
 note-
 names will most often be associated with the staff above or the staff
 below ?

 If not, we can set staff-affinity to CENTER -- which doesn't really mean
 center
 but means get close to a staff on either side.  I guess the programmer
 didn't
 think that 'staff-affinity = #PROMISCUOUS  was appropriate.

 It definitely works best with staff-affinity UP, where the note names are
 below the stave.  Presumably it would be best with DOWN where they're above.
 It also is improved with:

 \paper {
   system-system-spacing #'padding = #5
 }


 IIRC, this is all to do with the system spacing not taking account of
 non-staff grobs?  I do think this is likely to cause a number of problems in
 the future.



Thanks!  The staff-affinity setting restores the old behavior.  FWIW,
I had to use the \with syntax to get it to actually compile.

\context NoteNames \with {
\override VerticalAxisGroup #'staff-affinity = #UP
} {  \notes }

The system-system-spacing change had no effect, AFAICT.

Making staff-affinity to default to #UP seems sensible to me.  Oh, and
congrats to the development team; compared to 2.12.3,  2.13.54 does a
noticeably better job  of making good trade-offs between note spacing
(horizontally) and lyric syllable spacing.

Cheers,
Mike

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


Re: 2.13.54 breaks NoteNames vertical spacing

2011-03-20 Thread Colin Campbell

On 11-03-19 08:25 PM, Michael Ellis wrote:

On Sat, Mar 19, 2011 at 8:22 PM, Xavier Scheuerx.sche...@gmail.com  wrote:

On 20 March 2011 01:05, Michael Ellismichael.f.el...@gmail.com  wrote:

Just installed 2.13.54 on OS X.  Attached images show what happens to
the NoteNames engraver (which I use every day) under this release.  In
2.12,  the NoteNames output lays close beneath the lyric line.  In
2.13.54 the gap is quite large and the output collides with markup
above the next staff.  Is there a workaround?

Looks like a problem of staff-affinity not defined for  NoteNames
context or something like that.

This definitely deserves to be reported.
Could you send a message to  bug-lilyp...@gnu.org  with a proper minimal
example of code?


Done by CC of this message.  Image from example below suggest that
NoteNames vertical is incompletely synchronized with Staff vertical
spacing.  Amount of interference varies from line to line.  Worst at
bottom of image.
Thanks!
Mike

%
\version 2.13.54

notes = \relative c {
   \repeat unfold 40 { c'4 c c c }
}

mylyrics = \repeat unfold 40 \lyricmode { \tempo Allegro ly -- ric ly -- ric }

\score {
 
 \new Voice = voice { \notes }
 \new Lyrics \lyricsto voice { \mylyrics }
 \context NoteNames \notes
 
}
%-



Thanks, Mike. Added as 
http://code.google.com/p/lilypond/issues/detail?id=1569


Colin Campbell
Bug Squad

--
The test of our progress is not whether we add more to the abundance
of those who have much, it is whether we provide enough for those who
have too little.
-Franklin D. Roosevelt, 32nd US President (1882-1945)


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


Re: 2.13.54 breaks NoteNames vertical spacing

2011-03-19 Thread Xavier Scheuer
On 20 March 2011 01:05, Michael Ellis michael.f.el...@gmail.com wrote:

 Just installed 2.13.54 on OS X.  Attached images show what happens to
 the NoteNames engraver (which I use every day) under this release.  In
 2.12,  the NoteNames output lays close beneath the lyric line.  In
 2.13.54 the gap is quite large and the output collides with markup
 above the next staff.  Is there a workaround?

Looks like a problem of staff-affinity not defined for  NoteNames
context or something like that.

This definitely deserves to be reported.
Could you send a message to  bug-lilyp...@gnu.org  with a proper minimal
example of code?

Thanks in advance.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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