Hi, I attached a .ly file which gives me the following error with lily 0.1.71: Calculating column positions... [3][6][9][12][15][18][21][24][27][30][33][36][39][42][45][48]warning: add(): degenerate constraintslilypond: matrix.cc:278: void Matrix::swap_rows(int, int): Assertion `c1>=0&& c1 < rows()&&c2 < rows () && c2 >=0' failed. The score is a choir staff. I'm going to try to finding the bug for myself, but I fear it will take some time for me to understand the source code. Regards, BTW: Is there a way to prevent lyrics overlapping between measures? -- Jens Glaser Am Holderstrauch 13, 36041 Fulda, 0661/9429507 [EMAIL PROTECTED]
\header{ title = "Oh who could fail?"; date = "1998"; source = "Musical ARABICA"; composer = "Musical ARABICA"; enteredby = "Jens Glaser"; copyright = "Public Domain "; } \include "deutsch.ly" global = \melodic { \meter 4/4; \key fis cis; } sopran = \type Staff = Sopran { %\property Staff.instrument = "choir aahs" \melodic { \global \octave c''; R1*5 r2 r4 a| d'2 cis' | d'2. a4 | h g e a | fis. ~ e8 d2 | r1 | r2 r4 d | a2 d' | cis'4. d'8 e'4 e' | fis' d' h e' | cis'4. h8 a2 | r1 | r2 r4 a | d'4. a8 a4 d | h2. h4 | e'4. h8 h4 e | cis'2. cis'4 | d' ~ cis' d' a | g ~ e fis g | a2 d' | e' e'| fis'1 | r1 | r2 r4 fis | h d' cis' e' | d'4. cis'8 h2 | r1 | r2 r4 e | a cis' h d' | cis'4. h8 a2 | r1 | r2 r4 a4 | \octave c'''; d fis e g | fis4. e8 d4 a, | d fis e g | fis4. e8 d4 cis | \octave c''; h2 ais | h1 | r1 | r1 | r1 | r1 | r1 | r2 r4 a4 | d' fis' e' g' | fis'4. e'8 d'4 e' ~ | d'2 cis' | d'1 | r1 | r2 r4 a | d' d' a a | h2. h4 | e' e' h h | cis'2. a4 | d' d' e' e' | fis'4. e'8 d'4 e' | d'2 cis' | d'1 \bar "|."; }} soprantext = \lyric \type Lyrics = "sopran-text" { _4 _ _ Oh, who2 could fail,2. could4 fail to tell the story.1 _1 _2 _4 And who2 could2 hope,2. could4 hope to hide the glor-2. ry.4 _1 _2 _4 The won-4. der8 of4 the beans,2. the4 won-4. der8 of4 the beans,2. the4 won-2 der,4 the won-2 der,4 the4 won-2 der of the beans.1 _1 _2 _4 Which came from such a hum-4. ble8 birth,2 _1 _2 _4 Which came from such a hum-4. ble8 birth,2 _1 _2. which4 come from such a hum-4. ble8 birth,4 which come from such a hum-4. ble8 birth,4 a hum-2 ble birth.1 _1 _1 _1 _1 _1 _2. Yet4 grew to con- quer all4. the8 earth,4 all4 _2 the earth.1 _1 _2. The4 trea- sure and the pride,2. the4 trea- sure and the pride,2. the4 trea- sure and the pride2. of4 kings2 and queens?1 } alt = \type Staff = Alt { %\property Staff.instrument = "choir aahs" \melodic { \global \octave c''; R1*5 r2 r4 a | fis2 g | a4 a g fis | g2 g | fis4. ~ e8 d2 | r1 | r1 | r4 e fis gis | a4. h8 cis'4 cis' | d' [ h8 ~ a ] gis4 gis | a ~ e cis2 | r1 | r1 | r4 d e fis | g4. g8 g2 | r4 e fis gis | a4. a8 a2 | r2 r4 fis' | e' ~ cis' d' h |a ~ g a2 | d'2 cis'| d'1 | r1 | r1 | r2 r4 fis | h fis d [ e8 fis ] | g4 ~ a h ~ g | fis4. e8 d4 r4| r2 r4 e | a e cis [ d8 e ] | fis4 ~ gis a ~ h | cis'4. d'8 e'2 | r2 r4 a d' a fis g | [fis8 ( g] ) a2 h4 | cis' ais ~ h g | fis2 fis | fis1 | r1 | r1 | r1 | r2 r4 a | h cis' d' d' | cis'4. h8 a4 a ~ | a a a a | a4. a8 a4 h | a2 a | a1 | r1 | r2 r4 fis4 | a a fis fis | g2. g4 | h h gis gis | a2. a4 | a a a a | a2. h4 | a2 a | a1 }} alttext = \lyric \type Lyrics = "alt-text" { _4 _ _ Oh, who2 could fail,4 could fail to tell2 the story1 _1 _1 _4 And who could hope,2. could4 hope to hide the glo-2 ry.2 _1 _1 _4 The won- der of4. the8 beans2 _4 the won- der of4. the8 beans2 _2. the4 won-2 der,4 the won-2 der of the beans.1 _1 _1 _2. Which4 came from such a hum-2 ble birth,2. _4 _2. Which4 came from such a hum-2 ble birth,1 _2. which4 came from such a hum-2. ble4 birth,4 such2 a4 hum-2 ble birth1 _1 _1 _1 _2. Yet4 grew to con- quer all4. the8 earth,4 all4 _4 the earth, yet grew4. to8 con-4 quer all2 the earth.1 _1 _2. The4 trea- sure and the pride,2. the4 trea- sure and the pride,2. the4 trea- sure and the pride2. of4 kings2 and queens?1 } tenor = \type Staff = Tenor { % \property Staff.instrument = "choir aahs" \melodic { \global \octave c''; \clef "violin"; R1*5 r2 r4 a | d'2 e' | fis'4 fis' e' d' | d'2 a | d' d' | r1 | r | r | r4 e' a e' | d' h e' e' | a2 a | r1 | r1 | r2 r4 d' | d' d' g' fis' | e'2. e'4 | e' e' a' g' | fis' ~ e' fis' d' | a2 d'4 e' | fis' ~ e' fis' ~ g' | a2 a | a1 | r1 | r1 | r1 | r2 r4 d' | e' fis' g' e' | d'4. cis'8 h2 | r1 | r2 r4 a | d e fis gis | a4. h8 cis'2 | \octave c'''; r1 | r2 r4 a, | d d cis e | fis ~ cis d e | d2 cis | d1 | r1 | r2 r4 d | e fis g g | fis4. e8 d4 cis | h, h, e [ fis8 ~ gis ] | a4 e cis [ d8 e ] | fis4 d cis cis | [ d8 cis ] [ d e ] fis4 g | e2. e4 | fis1 | r1 | r2 r4 d | fis fis d d | g2. g4 | gis gis e e | e2. e4 | fis fis cis cis | d4. e8 fis4 g | e2 e2 | fis1 }} tenortext = \lyric \type Lyrics = "tenor-text" { _4 _ _ Oh, who2 could fail,4 could fail to tell2 the sto- ry _1 _1 _1 _4 And who could hope to hide the glo-2 ry. _1 _1 _2 _4 The won- der of the beans,2. the4 won- der of the beans,2. the4 won-2 der,4 the won-2 der of the beans.1 _1 _1 _1 _2. Which4 came from such a hum-4. ble8 birth,2 _1 _2. Which4 came from such a hum-4. ble8 birth,2 _1 _2. which4 came from such a hum- ble birth a hum-2 ble birth.1 _1 _2. Yet4 grew to con- quer all4. the8 earth,4 yet grew to con- quer, grew to con- quer all the earth, yet grew to con- quer all2. the4 earth4 _2. _1 _2. The4 trea- sure and the pride,2. the4 trea- sure and the pride,2. the4 trea- sure and the pride2. of4 kings2 and queens?1 } bass = \type Staff = Bass { % \property Staff.instrument = "choir aahs" \melodic { \global \octave c'; \clef "bass"; R1*5 r2 r4 a | d2 e2 | d4 fis e d | g2 cis | d d | r1 | r | r | r4 r2 a,4 | d h, e e | a,2 a, | r1 | r1 | r1 | r2 r4 g | gis [ e8 ~ fis ] gis4 e | a [ a8 gis ] a4 g | fis e fis d | cis ~ a, d e | fis ~ e fis ~ g | a2 a, | d1 | r1 | r1 | r1 | r2 r4 d | e fis g a | h fis h,2 | r1 | r1 | r2 r4 e | a e a, a, | d d e2 | r1 | r2 r4 e | fis ais h e | fis2 fis | h,1 | r1 | r1 | r1 | r1 | r1 | r2 r4 d | [ fis8 ~ e ] d4 cis a, | [ d8 ~ cis ] [ d ~ e ] fis4 g,4 | a,2. a,4 | d1 | r1 | r2 r4 d | d d d d | g [ h8 ~ a ] g4 fis | e e e e | a ~ a, a g | fis fis cis cis | [ d8 ~ cis ] [ d ~ e ] fis4 g | a [ a8 ~ g ] a4 a, | d1 }} basstext = \lyric \type Lyrics = "bass-text" { _4 _ _ Oh, who2 could fail,4 could fail to tell2 the stor- ry _1 _1 _1 _2. And4 who could hide the glo-2 ry. _1 _1 _1 _2 _4 The won-2 der,4 the won-2 der4 the won-2 der,4 the won-2 der,4 the won-2 der of the beans.1 _1 _1 _1 _2 _4 Which came from such a hum- ble birth2 _1 _1 _2. Which4 came from such a hum- ble birth,2 _1 _2. which4 came from such a hum-2 ble birth.1 _1 _1 _1 _1 _1 _2. Yet4 grew to con- quer all the earth, all _2. the4 earth.1 _1 _2. The4 trea- sure and the pride,2. the4 trea- sure and the pride,2. the4 trea- sure and the pride2. of4 kings2 and queens?1 } \score{ \type Staff_group < \sopran \soprantext \alt \alttext \tenor \tenortext \bass \basstext > \paper{ } \midi{ \tempo 4 = 102; } }