Re: Incorrect bar line with voltas, \repeatTie and lyrics

Simon Albrecht via bug-lilypond <[email protected]> Mon, 30 Dec 2024 17:24:29 +0100
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hi Ole,

it’s OK that you’re dissatisfied with the way LilyPond handles this 
example, but we do not have the resources or policy to turn every such 
example coming to the bug list into a constructive issue report ourselves.

For one thing, your example is not actually minimal. You are convinced 
that you follow the guidelines, but the guidelines include the fact that 
anything but “tiny examples” in the technical sense cannot be processed 
on the bug list. See below for a much slimmer version. The \repeatTie 
doesn’t have anything to do with the issue, neither do the pitches 
(though that’s a minor point) or the way you create contexts.

Ultimately, though, the answer is still: LilyPond doesn’t support using 
\alternative for the lyrics in a case like this.

Given your response to Timothy, you might have made one or more of the 
following requests:
– LilyPond should support using \alternative in the lyrics in a scenario 
like this.
– LilyPond should give a more helpful error message/warning.
– The documentation should be different.

In the latter case, the question is: how exactly do you think the 
documentation is misleading now and how should we improve it? I think 
it’s made pretty clear that \alternative in lyrics should (currently) 
never be used outside of the simplest situations.

In the first case, that’s not a bug, that’s a missing feature, whose 
scope and implementation would be difficult to determine.

I hope that leads to a better understanding of how to make your request 
constructive to begin with.

Best, Simon

%%%%%%
\version "2.24.4"
\repeat volta 2 {
   1~ |
   \alternative {
     \volta 1 { 2 2 | }
     \volta 2 { 2 2 | }
   }
}
\addlyrics {
   \repeat volta 2 {
     m
     \alternative {
       \volta 1 { n }
       \volta 2 { _ o }
     }
   }
}
%%%%%%%