Michael you gave me the solution! Or at least you gave me the solution for my simple example. The following works!
\version "2.21.0" pa = {<< {e'1*~*}\\{c'1*~*}>>} { \pa \pa } Now I have to try in my real file code but I don't see any reason why it should not work.... Thank you! g. On Wed, 13 Nov 2019 at 11:16, Gianmaria Lari <gianmarial...@gmail.com> wrote: > > On Wed, 13 Nov 2019 at 10:01, Michael Käppler <xmichae...@web.de> wrote: > >> Hi Gianmaria, >> Interesting, for me running 2.19.80 the first example does not compile, >> either. >> > > Yes, I vaguely remember that version 2.21 manage differently > ties/variable. And probably that was the reason why I decided to use it :) > > >> Was there a recent change regarding post-event handling? >> > > No idea about post-event handling. > > > The problem is that the tie is not a separate expression that you could >> concatenate with other >> musical expressions like >> > [.....] > Thank you Michael for the explanations! > > >> What are you trying to achieve? Your second example does not make much >> sense to me, >> because if you want to tie two equally long notes you would normally use >> chords [....] >> > > You're right Michael; to tie two equally long notes I would use a chord. > But my code was just a very simple example. > > Here it is the real situation. My phrase is in a variable. The end of the > phrase is the following: > > [image: image.png] > and that should be connected once with this > > [image: image.png] > > and once with this > [image: image.png] > > Probably it doesn't exist a simple solution and the best would to keep the > last measure outside the variable. > Thank you Michael!! > > P.S. My apologies if I included the images in the email and not attached > it it's for clarity. Please let me know if you lilypond email users always > prefer to attach images at the end of the messages. >