> -----Original Message----- > From: Neil Puttock [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 3:59 PM > To: Carl D. Sorensen > Cc: lilypond-user@gnu.org > Subject: Re: how to get a sheet with chord names only? > > 2008/5/19 Carl D. Sorensen <[EMAIL PROTECTED]>: > > > > > >> -----Original Message----- > >> From: Neil Puttock [mailto:[EMAIL PROTECTED] Hmm... > that snippet's > >> still slightly out of date though, since \voltaOnThisStaff is no > >> longer used; it was removed when the Volta_engraver was > moved to the > >> Score context. > >> > > > > Which version was that? > > 2.11.28, fixing Issue 366. >
Oh -- I see. The snippet sets voltaOnThisStaff, which is no problem, but the Volta_engraver doesn't do anything with it. That's why the snippet still works. > > And how does one specify where the volta bracket goes now? > Some people (like me) prefer the chord names and fret > diagrams over the volta bracket; others prefer them under. > We need to be sure to retain that functionality. > > By moving the Volta_engraver to the context(s) where you want > it to appear: > > % default, chords below volta > \score { > << > \chords { > c1 > c > } > \new Staff { > \repeat volta 2 { c'1 } > \alternative { c' } > } > >> > } > > % chords above volta > \score { > << > \chords { > c1 > c > } > \new Staff \with { \consists Volta_engraver } { > \repeat volta 2 { c'1 } > \alternative { c' } > } > >> > \layout { > \context { > \Score > \remove Volta_engraver > } > } > } > IMO, this is an unfortunate change in syntax. Most piano/guitar/vocal music has the voltas above the musc staff but below the chord and fret diagram "staffs". I guess we can learn how to do it (you've given the example here), but it's certainly a _lot_ more complex than the old syntax. Carl Sorensen _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user