Knut Petersen <knut_peter...@t-online.de> writes:

> Hi David!
>> \addlyrics \displayLilyMusic { Hi there! }
>>
>> would not work with your proposed patch while
>>
>> \addlyrics { Hi there! }
>>
>> does.  There is no conceivable reason for the user why this should be
>> so.
>
> Really? \displayLilyMusic after \addlyrics breaks the syntax rules.
> So let's have a look at the attached lilypond source file.
>
> An original unpatched lilypond 2.21 manages to produce a pdf.
> There are error messages for scores 2, 5, 8 and 9.
> The output for score 1 is correct.
> The output for all other scores is incorrect (on ore two notes are missing)
>
> The same lilypond + patch also manages to produce a pdf.
> There are error messages for scores 2, 5 and 8.
> The output for all scores is correct.
>
> Knut
>
> \version "2.21.0"
>
> \score{ { c'2     } \addlyrics                      { Hi there }   \layout {}}
> \score{ { c'2     } \addlyrics   \displayLilyMusic  { Hi there }   \layout {}}
> \score{ { c'2     } \addlyrics { \displayLilyMusic  { Hi there } } \layout {}}
> \score{ { c'2 2   } \addlyrics                      { Hi there }   \layout {}}
> \score{ { c'2 2   } \addlyrics   \displayLilyMusic  { Hi there }   \layout {}}
> \score{ { c'2 2   } \addlyrics { \displayLilyMusic  { Hi there } } \layout {}}
> \score{ { c'2 2 2 } \addlyrics                      { Hi there }   \layout {}}
> \score{ { c'2 2 2 } \addlyrics   \displayLilyMusic  { Hi there }   \layout {}}
> \score{ { c'2 2 2 } \addlyrics { \displayLilyMusic  { Hi there } } \layout {}}

Uh what?  How is the output correct?

-- 
David Kastrup

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

Reply via email to