Am Mi., 22. Mai 2019 um 08:17 Uhr schrieb Alexander Kobel <a-ko...@a-kobel.de>: > > Hi Harm, hi all, > > On 22.05.19 01:20, Thomas Morley wrote: > > Am Do., 16. Mai 2019 um 13:25 Uhr schrieb Alexander Kobel > > <a-ko...@a-kobel.de>: > >> > >> Hi David, hi Mike, hi all, > >> > >> I sometimes (still use Lilypond, and when I do, I typically use) your > >> wonderful snippet for snapping "close" syllables into a single token. [...] > >> > >> Now I stumbled across an issue with that: two syllables are combined > >> which are clearly far apart; see the attached screenshot and reduced > >> working example from an actual engraving. It's not exactly minimal, but > >> at least it's reasonably short and shows the problem. And the exact > >> circumstances when the bug occurs are not clear to me, and it's somewhat > >> sensitive to reduction. > >> > >> According to my tests, it's related to the facts that there is > >> > >> (1) a hyphen *before* the syllable "bor" in "ver -- bor -- gen" in the > >> alto part; > >> > >> (2) a line break exactly there (moving the break "remedies" the > >> problem); and > >> > >> (3) another voice/staff simultaneously (commenting out the soprano > >> mitigates the issue as well). > >> > >> It's not, however, related to the accidental in the soprano, or the fact > >> that the whole note in the lower voice is wider than the quarter in the > >> upper voice (replacing d'1 by d'4*4 doesn't help). > >> > >> > >> Any thoughts on what goes wrong here, and about a possible fix or > >> workarounds? > > d'oh; I must have been tired as well. Obvious workaround: revert > LyricWord.after-line-breaking (or override to ##f) at the problematic > places. Of course, it's a manual workaround; but an automatic workaround > would be a fix, right? > > > Hi, > > > > I tried to have a look at it ... > > > > Though, I'm too tired to be verbose, please refer to the pdf. > > First a minimal, then some debugging output with a probably > > significant difference. [...] > > Thank you, that's what I should have done immediately when posting; > sorry about that. > > You forgot to attach the PDF, but I have an idea about what you did and > observed, and what significant difference you point to; I'll try to > investigate further as soon as possible. > > > Thanks again, > Alex >
Hi, probably I've found a fix. See attached files. There's a change-log on top of the .ily-file. Main thing is to exclude LyricHyphens without stencil form iterating. Not sure if the core "magnetic-snapping"-functionality isn't disturbed. Please test thoroughly. Cheers, Harm
test-harm.pdf
Description: Adobe PDF document
lyric-syllable-magnetic-snap-harm.ily
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user