bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More \quoteDuring problems, with and without \partcombine


From: Reinhold Kainhofer
Subject: Re: More \quoteDuring problems, with and without \partcombine
Date: Tue, 16 Aug 2011 16:09:26 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; i686; ; )

Am Dienstag, 16. August 2011, 04:30:34 schrieb Marnen Laibow-Koser:
> 1 (partcombine-omits-quotes): When two quoted parts are \partcombined, only
> one part's notes remain in the combined staff.  The "2 Flutes" staff should
> have all the notes from the "Flute 1" and "Flute 2" staves; it does not.

Part-combine does not work (and will probably never work) together with 
quoting.
The technical reason is that the part-combiner does its stuff at a very early 
stage of lilypond, while the quoting takes place at a very late stage of a 
lilypond run. 


> 2 (quotes-without-other-music): When there is no music in a staff except a
> \quoteDuring, nothing is drawn. The "Flute" staff should be identical to
> the "Violin" staff; it is not.

That's another problem of automatic voice creation in Lilypond, i.e. in most 
cases you don't need to write \new Voice, but lilypond will do that for you. 
In this case, you will have to write \new Voice in the flute explicitly, 
because otherwise lilypond will fail to create the voice for you.

In particular, if you change your file to (notice the added \new Voice):

staffFlute = \new Staff \new Voice {
        \set Staff.instrumentName = "Flute"
        \fluteNotes
}

then everything works just fine.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]