[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \partial with full measure rests
From: |
Xavier Scheuer |
Subject: |
Re: \partial with full measure rests |
Date: |
Tue, 7 Sep 2010 21:12:23 +0200 |
On 7 September 2010 20:58, Jayaratna <address@hidden> wrote:
>
> Dear all,
>
> I have been checking old posts for this same problems, but my case
> is slightly different, and I would like to ask your opinion/advice
> on this.
>
> I have a score ending with a partial measure, and some parts do not
> play on that measure.
>
> For instance part a ends like this:
>
> \time 2/2
> g2 fis4. g8 \bar "||"
> \time 3/4 \partial 2
> g2^"Tous" \bar "||"
>
> part b ends like this:
>
> \time 2/2
> R1 \bar "||"
> \time 3/4 \partial 2
> R2 \bar "||"
>
> Lilypond gives a warning, and when I process part b the rest in the
> last measure is not shown. If I use a normal r2 rest, the result is
> that I cannot hide part b in the full score, even if I want it to be
> hidden (because of its rests).
>
> I hope this is not too confusing, I hope to get this last measure
> working.
>
Hi!
I have had the exactly same problem!
And Nicolas Sceaux gave me a workaround here:
http://lists.gnu.org/archive/html/bug-lilypond/2009-10/msg00011.html
Please try the following code:
%%%
%%% The following hack make regular rests hara-kiri-able
%%%
#(let* ((rest-def (assoc 'Rest all-grob-descriptions))
(meta-def (assoc 'meta (cdr rest-def)))
(interfaces-def (assoc 'interfaces (cdr meta-def)))
(interfaces (filter (lambda (interface)
(not (eqv? interface 'rhythmic-grob- interface)))
(cdr interfaces-def))))
(set-cdr! interfaces-def interfaces))
A bug report has been added to the tracker.
I hope somebody will start working on this issue...
Issue 849: Rests should not keep staves alive
http://code.google.com/p/lilypond/issues/detail?id=849
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>