2009/5/16 Marc Hohl <m...@hohlart.de>: > Neil Puttock schrieb: >>
> So can I use it as a callback for 'stencil? (see below) Not for the broken spanners, since they haven't been created when the stencil callback is evaluated. > Hm, I didn't get any errors, and invisible ties are exactly the feature I > need. They only show up if the binary is compiled without optimisations: /home/neil/Desktop/test.ly:24:17: warning: programming error: cyclic dependency: calculation-in-progress encountered for #'stencil (Tie) g8 g ~ g g ~ g g~ g g ~ > At first, I used > > \override Tie #'after-line-breaking = #tie::handle-tab-tie > > but I didn't quite understand the term "after-line-breaking", since > tie::handle-tab-tie is > called on _every_ tie. So I changed the call to > \override Tie #'stencil = #tie::handle-tab-tie > > and found out that it works, too, and has the advantage not to write > \override Tie #'stencil = ##f > > explicitly. But if this is a crude style, I won't apply it. On the other > hand, when > this offers a possibility to change the TabNoteHead stencil on the fly, it > could be used. It's malformed as a stencil callback, since it returns no stencil (or even #f). It produces no ties as a side effect. > > Can I switch to another tablature format, according to > > \set tablatureFormat = #parenthesized-tab-format / which is not defined yet? No, since you wouldn't be able to distinguish between the two formatting functions based on the note events. Regards, Neil _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user