lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] Issue 3263 in lilypond: LyricText has wrong parent after


From: lilypond
Subject: [Lilypond-auto] Issue 3263 in lilypond: LyricText has wrong parent after switching voices
Date: Tue, 19 Mar 2013 11:17:10 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 3263 by address@hidden: LyricText has wrong parent after switching voices
http://code.google.com/p/lilypond/issues/detail?id=3263

\version "2.17.12"

\markup \wordwrap {
  When lyrics switch alignment from one voice to another
  and then back to first voice, second syllable after
  the return switch ("\"huh\"" in example below) doesn't
  have its parent set correctly - instead of NoteHead,
  it reports that its parent is a PaperColumn. A visible
  effect is that the syllable is left-aligned instead
  of centered (this behaviour will probably change when
  issue 3254 is solved).
}
\score {
  <<
    \context Voice = first {
      e'2 e'
      \context Voice = second { d''2 d'' }
      d'2 d' d'
    }
    \context Lyrics = foo \lyricsto first \lyricmode {
      one one
      one huh one
    }
    \context Lyrics = foo \lyricsto second \lyricmode {
      two two
    }
  >>
}

\markup {
  The problem doesn't appear when lyrics
  are connected to notes using associatedVoice:
}
\score {
  <<
    \context Voice = first {
      e'2 e'
      \context Voice = second { d''2 d'' }
      d'2 d' d'
    }
    \context Lyrics = foo \lyricsto first \lyricmode {
      % associatedVoice must be set one syllable early
      one \set associatedVoice = "second" one
      two \set associatedVoice = "first" two
      one huh one
    }
  >>
}

\markup {
  Interestingly, the problem disappears
  when one syllable is deleted:
}
\score {
  <<
    \context Voice = first {
      e'2 e'
      \context Voice = second { d''2 d'' }
      d'2 d' d'
    }
    \context Lyrics = foo \lyricsto first \lyricmode {
      one one
      one huh one
    }
    \context Lyrics = foo \lyricsto second \lyricmode {
      two
    }
  >>
}


Attachments:
        lyrictext loses parent.png  8.6 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]