Comment #8 on issue 1555 by [email protected]: Multiple warnings concerning staff-affinities
http://code.google.com/p/lilypond/issues/detail?id=1555

Returning to the original issue, the problem is that the first of the two scores has no staff-like context. Setting the Lyrics context to be staff-like removes
the warnings and spaces the following score correctly.  Like this:

\score {
<<
     \new ChordNames
     \chordmode {
       g:m
     }
\new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = ##f }
     \lyricmode {
       \markup { \fret-diagram #"w:4;4-o;3-o;2-1;1-3;" }
     }
 >>
}

\score {
<<
   \new Staff {
     \new Voice { c4 d e f }
   }
 >>
}

So maybe this should be classed as incorrect input? I don't regard this as a critical fault. Although a change is required from 2.12 which can't be coded in
convert-ly there is a perfectly good way of producing correct output.

I could still see this as a defect though - Lily should do the right thing by default.

Trevor


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

Reply via email to