I asked a few weeks ago how I could get lily to do stem and rest
collision (because right now I am getting a screenfull of "warning too
many clashing notecolumns. Ignoring them." messages). I was told to look
at input/test/collision.ly, but that file no longer seems to exist. I
figured that perhaps it had been replaced by hshift.ly, but that won't
compile:

------------

ly2dvi (GNU LilyPond) 1.3.132
executing: kpsewhich tex titledefs.tex 
executing: lilypond  hshift.ly 2>&1
GNU LilyPond 1.3.132.
Now processing: `hshift.ly'
Parsing...
hshift.ly:5:16: error: parse error, expecting `'='':
shiftI \property
                 Voice.NoteColumn \override #'horizontal-shift = #0

hshift.ly:15:38: error: parse error:
                \context Voice =VA  {\stemUp \shiftI
                                                     g'' }

hshift.ly:16:39: error: parse error:
                \context Voice =VB  {\stemUp \shiftII
                                                      e }

hshift.ly:17:40: error: parse error:
                \context Voice =VC  {\stemUp \shiftIII
                                                       c }

hshift.ly:18:39: error: parse error:
                \context Voice =VD  {\stemUp \shiftIV
                                                      a }

hshift.ly:19:38: error: parse error:
                \context Voice =VE  {\stemUp \shiftV
                                                     f }

hshift.ly:9:33: warning: Braces don't match:
shiftV \property Voice.NoteColumn
                                  \override #'horizontal-shift = #4
ly2dvi: LilyPond failed: lilypond  hshift.ly 2>&1

-------------------

In any case, how can I go about rest/stem collision resolution? How do I
use the \shift* commands?

Secondly, a bug seems to have been introduced the last couple versions
of lily where any clef or time signature changes that happen at the end
of a line are placed past the end of the line--for example, if changing
to bass clef, the bass clef at the end of the line is placed past the
end of the staff. Sample ly file to demonstrate the error:

-------------------

\include "english.ly"

\score {
        
        \context Staff <
                \context Voice \notes \relative c'  { 
                        \key e \minor;
                        \time 4/4;
                        \property Staff.timeSignature \override #'style = #'C
                        \stemUp
                        \property Voice.Tie \override #'direction = #1;
                        r8 e16 e' ds fs, gs d' cs a c fs, g b e, c' |
                        fs, a ds, b' e, g b, gs' a c, cs as' b d, ds b' |
                        \clef bass;
                        \time 8/8;
                        e, c' cs e, fs d' ds fs, g8. fs16 g fs g fs |
                        g fs g fs g fs g fs g fs g fs g fs g fs |
                        g1 |
                        R1 |
                        \clef bass;
                }
        >
}

------------------

Admittedly, I'm lagging a few versions behind (I'm running 1.3.132), and
I didn't even build myself, I'm using the debian package, so if these
problems are related to that then I apologize.

Joshua

-- 
Joshua Haberman <[EMAIL PROTECTED]>,  University of Puget Sound
"Delaying decisions" is too often a euphemism for "avoiding thinking."
                                            -Bjarne Stroustrup

_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss

Reply via email to