Hi,

On Mon, Mar 25, 2013 at 10:43 PM, Colin Campbell <c...@shaw.ca> wrote:
> I still don't understand the original error.

The problem is that voltas specified in lyrics are inserted right
where lyrics are, not aligned with voltas from music.
Maybe this will help you visualise what happens (it may be worth to
add this to tracker):

%%%%%%%%%%%%%%%%
\language "english"

\header {
  title = "Lyric volta bug"
}

\markup "voltas created by notes:"
\new Staff  {
  \repeat volta 2 { ef'1 }
  \alternative {
    { r2 r4 r8 bf8  }
    { r2 r4 r8 bf8  }
  }
  ef'4-. r4 r2
}
\addlyrics {
  gu.
  Mun8
  Mun8
  gu.4
}

\markup "voltas created by lyrics:"
<<
  \new Staff  {
    \new Voice = "sop" {
      ef'1
      r2 r4 r8 bf8
      r2 r4 r8 bf8
      ef'4-. r4 r2
    }
  }

  \new Lyrics \lyricmode {
    \repeat volta 2 { gu.1 \skip 2.. }
    \alternative {
      {  Mun8 -- \skip 2.. }
      {  Mun8 -- }
    }
    gu.4
  }
>>

\markup "these two interfere and result in wrong output you got."

% hth,
% Janek

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

Reply via email to