I'm not sure exactly what you intended to typeset, so I can't
tell what's broken. However:
- I hope you have noticed that there's no need to define your own
  MkInvis macros, you can use the predefined \hideNotes \unHideNotes.
- What did you expect d8*4/8 to do? Since the same duration is copied
  also for the following notes, it will make the total duration of the
  second alternative 1/8 + 4/8*4/8 + 4/8 = 7/8. Maybe you wanted the
  following instead:

\hideNotes fis8*1/2( \unHideNotes d8*1/2[ e8 d b']) r8 g( g a) % second ending


/Mats

Paul Scott wrote:
Mats Bengtsson wrote:

Did you try search the mailing list archives of lilypond-user for
"tie alternative ending"?


Thanks. I didn't use the word "alternative."
But after translating for 2.2.5 the following example starts to break and I don't know what to do next:


\paper  {
 raggedright = ##t
 indent = 0.0\mm
}

\version "2.2.5"

MkInvis = {\override Voice.NoteHead #'transparent = ##t
         \override Voice.Stem #'transparent = ##t
}

MkVis  =  { \override Voice.NoteHead #'transparent = ##f
          \override Voice.Stem #'transparent = ##f
}

global = \notes {
   \time 4/4
   \repeat volta 2 s1
   \alternative
   {
   { s1*2 }
   { s1*2 }
   }
}

mm = \notes\relative c'' {
       \key d \major
       cis4 d e4. fis8(   %  want this to slur to both endings
       d8 e d b') r8 g[( g e]~ e2) r2                    % first ending
       \MkInvis fis8( \MkVis d8*4/8[ e d b']) r8 g( g a) % second ending
       r1
   }

\score {
   <<
   \new Staff << { \global } { \mm } >>
   >>
}  % score



Paul



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to