bug-lilypond
[Top][All Lists]
Advanced

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

Re: VerticalAxisGroup #'remove-first = ##t does not work with \partial r


From: Nicolas Sceaux
Subject: Re: VerticalAxisGroup #'remove-first = ##t does not work with \partial r
Date: Fri, 2 Oct 2009 17:50:58 +0200


Le 2 oct. 09 à 14:02, Valentin Villenave a écrit :

On Wed, Sep 30, 2009 at 9:41 PM, Xavier Scheuer <address@hidden> wrote:
%% Docs: A staff is considered empty when it contains only multi- measure
%% rests, skips, spacer rests, or a combination of these elements."
%%
%% But because a \partial rest is not one of these elements it prevents %% \override VerticalAxisGroup #'remove-first = ##t to work if the first
%% empty staff begin, for example, with \partial 16 r16

   \new Staff {
     \partial 16 r16 |  % doesn't work
                        % works if we use \partial 16 s16

Indeed. Non-capitalized rests make a measure to be regarded as
non-empty, even when it's a partial measure.

%%%
%%% 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))






reply via email to

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