[Top][All Lists]

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

Re: Extenders are not printed for lyrics associated with multi-staff con

From: Alexander Kobel
Subject: Re: Extenders are not printed for lyrics associated with multi-staff contexts
Date: Mon, 2 Jan 2017 18:38:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1

Dear all,

an update to my previous bug report.

First, I attach a slightly simplified and enhanced test case, including lyrics attached to ChordNames, TabStaff and FiguredBass. The latter does not work. I guess that's reasonable, because there is little point to have a FiguredBass without a companion Staff; on the other hand, I'm not sure if it points to a structural deficiency of the association algorithm, because AFAICS the FiguredBass is probably not that different from a ChordNames context when it comes to alignment...

Second, w.r.t. ChoirStaves/GrandStaves/StaffGroups, I tried to find my way through the codebase and figure out why no extenders are created. Going over the get_voice_to_lyrics function in lily/lyric-engraver.cc, I eventually noticed that correct extenders are printed for lyrics assigned to Staff and one of the above contained groups *unless there is a ChordNames context.* (That's why the ChordNames lines are commented out in the attached file...)

Maybe those settings could be applied per default for lyrics assigned to container contexts once someone more knowledgeable than I can resolve the issue with ChordNames?


On 2016-12-26 16:31, Alexander Kobel wrote:
Dear all,

since the advent of 2.19.50, it is possible to attach lyrics to
different contexts than just a voice:  "The \addlyrics function now
works with arbitrary contexts incuding Staff."
Indeed, for Staves, it works like a charm AFAICS.  However, when
attached to a ChoirStaff, GrandStaff or StaffGroup, no extenders are
generated.  (Nb: the *alignment* with notes / music columns works
perfectly fine, just the extender generation fails.)

Attached is a test case.  The lyrics lines for the three multi-staff
contexts should look like the single-staff line, as far as I can tell.


Attachment: lyr-ctx.ly
Description: Text Data

Attachment: lyr-ctx.preview.png
Description: PNG image

reply via email to

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