Am Sonntag, 16. Oktober 2011, 10:01:46 schrieb Stefan Thomas: > Dear community, > because of the wrong code, I post You my snippet again. > The Problem is: the quoted voice doesn't appear in the staff > "anotherinstrument" and it has definetily to do with the command > > > \set PianoStaff.instrumentName= "Piano" > > Is there possibilitie to get the quodation without quitting the command > that sets the instrumentName for the PianoStaff? > I have the problem, in a larger score, hat some cuenotes are not displayed. > I assume it has to do with some commands that are related to another > context than Voice.
Yes, that was one case of bug 1214 (http://code.google.com/p/lilypond/issues/detail?id=1214 ). It was fixed in LilyPond 2.15.9, so as soon as 2.16 is released, you'll have a fix. I don't know any easy workaround in earlier lilypond versions (except removing the offending commands from the music, e.g. by creating a second copy \rightII, which is only used in \addQuote and which does not have the \set command). That's what I had used before I finally fixed bug 1214. Cheers, Reiknhold > Here my new snippet: > > \version "2.14.2" > > > right = { > > \set PianoStaff.instrumentName = "Piano" > > c'' 4 g' a' b' c'' 4 d'' e'' f'' g'' 1 } > > > > \addQuote "right" { \right } > > anotherinstrument = { c' 1 \quoteDuring #"right" s1 c'1 } > > > > \score { \new Staff \anotherinstrument } -- ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user